Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Launch a modal form from a class
Message
De
10/04/1999 20:15:50
 
 
À
10/04/1999 19:56:50
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00207168
Message ID:
00207214
Vues:
11
Hi Bob,
Thanks for the extra info on Show(). I intend to use this form to enter a string to search a grid. I hope with a modal form and movable the user can move the form out of the way and type a search string in and click on the update button and refresh the grid without closing the modal form. The user then can close the modal form when a search is as the user needed...

Thanks

>One of the nice things about VFP that solved a problem we had in a 2.6 production ap was being able to use the same screen/form as modal or non-modal.
>
>By default form classes create with createobj are created with visible = .f.. To view if you can make visible true...
>
>But, even better you can use the .Show() method of the form.
>
>oMyFrom = createobj('MyFormClass')
>
>oMyForm.Show() && uses the classes WindowType property
>oMyForm.Show(1) && the form is shown modal
>oMyForm.Show(2) && the form is non-modal.
>
>BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform