Hi experts,
I am facing an issue of my label control defaulting to the original text
after the Pocket PC Screen Orientation changes.
I have anchored and dock my controls in my form and all my controls is
resize correctly after the orientation has changed. But when I change my
orientation, my label control text, which is populated during run time, has
its text changed to original. E.g in form design, i input the text as
"Label". when i run my application and load the form, my application will
update the text to "Test". but after i click on the Pocket PC button to
rotate the screen, my label text goes back to "Label".
Whats the form event that is called and triggered after each screen
orientation changes?
Hope to get replies from you soon.
Thank you :)
Johnson - 28 Jul 2008 06:07 GMT
Hi,
I found the resolution. as long as in my form design i do not put a text
value, it wont go to default. which I do not know why it happens this way.
But I encountered another issue:
I have a drop down box and a listview control. So initially the listview
control visibility is set to false. so what you will see is only the drop
down box. Once selected, it will show the listview control with the contents
of what is selected in the dropdown box.
so currently my dropdown box is selected, with the listview control
displaying the contents. But again when I change the screen orientation by
pressing a button on the Pocket PC, my listview control disappear back to the
original state again. I will have to select the drop down box again to show
up the listview control again. how can i retain the previous state when the
screen orientation changes?
HELP!! is it a VS bug or some things which I didnt handle?
Thanks

Signature
Johnson
> Hi experts,
>
[quoted text clipped - 15 lines]
>
> Thank you :)