G
Guest
Hi,
In one of the forms in my pocket pc application, i have set the max. &
min. buttons to false, so that OK button will be displayed in the right hand
top corner of the form and while clicking on that, it closes the form.
Actually I am keeping a global reference of the form. On close, again I
have to create a new instance of the form and assign it to the global
variable.
In the form, there are 7 combo boxes, whose values are populated by
reading a text file. So when I am closing the form, the current instance is
lost and in the new instance, the contents of the combo box are missing.
So in the form.closed event, again i am reading 7 different text files to
add contents to the combo boxes. Because of this, there is not a smooth
transition to the next form.
How can I solve this problem? If I am setting the minimize property to
true, then the close button is displayed, and on clicking that, it minimizes
the form and the instance is not lost and that way i can easily solve the
problem.
But I have verified most of the Windows default screens provided in the
pocket pc and found that Microsoft is using OK button in the right hand top
corner of most of the forms. So I followed the standard way. Also I have to
save some information before closing the form. If I am displaying the close
button, the user gets an impression that the form is closed without saving
the information.
Awaing your valuable suggestions.
Thanks in advance,
Regards,
Hari
In one of the forms in my pocket pc application, i have set the max. &
min. buttons to false, so that OK button will be displayed in the right hand
top corner of the form and while clicking on that, it closes the form.
Actually I am keeping a global reference of the form. On close, again I
have to create a new instance of the form and assign it to the global
variable.
In the form, there are 7 combo boxes, whose values are populated by
reading a text file. So when I am closing the form, the current instance is
lost and in the new instance, the contents of the combo box are missing.
So in the form.closed event, again i am reading 7 different text files to
add contents to the combo boxes. Because of this, there is not a smooth
transition to the next form.
How can I solve this problem? If I am setting the minimize property to
true, then the close button is displayed, and on clicking that, it minimizes
the form and the instance is not lost and that way i can easily solve the
problem.
But I have verified most of the Windows default screens provided in the
pocket pc and found that Microsoft is using OK button in the right hand top
corner of most of the forms. So I followed the standard way. Also I have to
save some information before closing the form. If I am displaying the close
button, the user gets an impression that the form is closed without saving
the information.
Awaing your valuable suggestions.
Thanks in advance,
Regards,
Hari