Anchoring control in Tab Control WM5

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.
 
D

Daniel Moth

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top