G
Guest
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.
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.