Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>Eric,
>
>>Does this make sense?
>
>Yes sure! Why do You not create the form, set properties as You need them and
>let the form call the other process, when its ready to do so?.
>
>You would get rid of the "wait" position.
It pretty much does that. Im basically creating a date entry field that has an arrow next to the text field that displays a calendar and allows the user to pick a date.
The button creates the form object which creates the calendar object. The button calls the show method of the form and then execution stops. The user then either double clicks on a date, presses ESC, or click somewhere outside the form. Either one of these events calls the hide method of the form which them returns control to the calling button. The calling button them just reads the values of the calendar, sets the textbox next to it and then releases the form.
Eric
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement