Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can not get Common Dialog Box Foundation Class running
Message
De
14/09/2003 07:49:59
 
 
À
14/09/2003 00:07:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00828810
Message ID:
00828815
Vues:
15
This message has been marked as the solution to the initial question of the thread.
Hi Vince

>I am attempting to get the file Common Dialog box running.
>I pulled _COMDLG1 onto my form from the component gallery. It doesn't have a show method, so how do I get it to run??

_ComDLG is a custom class has a ShowDialog() method.

The following works fine in the command window...
SET CLASSLIB TO _system
oX = NEWOBJECT('_comdlg')
oX.Showdialog()
In your form you just need a button that calls the same method thus:

ThisForm._comdlg1.ShowDialog()
----
Regards
Andy Kramek
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform