Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can not get Common Dialog Box Foundation Class running
Message
From
14/09/2003 07:49:59
 
 
To
14/09/2003 00:07:22
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00828810
Message ID:
00828815
Views:
17
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform