Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Modal form auto close
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00618679
Message ID:
00619211
Vues:
21
>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
Fil
Voir

Click here to load this message in the networking platform