Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Compact Framework / April 2006

Tip: Looking for answers? Try searching our database.

Anchoring control in Tab Control WM5

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
sync - 12 Apr 2006 11:31 GMT
Hi,

I have found a weird error in achoring controls in a Tab Control for Windows
Mobile 5.0.

Basically, I have two text boxes in a tab page within a tab control. Both
text boxes are anchored with properties Top, Left, Right. If I run the
application with display set to potrait mode initially, all the text boxes
are properly positioned whenever I changed the display mode to landscape and
vice versa.

However, when I run  the application in landscape mode initially and then
switch it to potrait mode, the anchors do not to work properly. The top
distance of text boxes in potrait mode seems to use the  right distance value
of previous landscape mode.

If I changed both text boxes to anchor only to Top, Left, no anchoring
errors were found.

Anyone has any idea on the cause of this error?
Any possible solution?

Thanks.
Daniel Moth - 20 Apr 2006 14:57 GMT
I just made a sample based on your description and tried it in the WM 5.0
PPC emulator. I do not observe the same results as you (everything works as
expected).

If you are still observing this issue please post a repro.

Cheers
Daniel
--
http://www.danielmoth.com/Blog/

> Hi,
>
[quoted text clipped - 22 lines]
>
> Thanks.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.