Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Programmatically adding a Microsoft Common Dialog Box
Message
From
12/10/2001 12:03:08
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
12/10/2001 11:55:46
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00567698
Message ID:
00567714
Views:
13
>Does anyone know what parameters I need to pass in my AddObject() command in order to add a 'Microsoft Common Dialog Control 6.0' to my form programmatically?
>
>Also, where can I find information like this for futture reference?
>
>Thank you,
>John

John,
Add one visually to a dummy temp form. Then check its OleClass property. Addobject would read like :
thisform.addobject('myOle','OleControl','OLEClassReadFromProperty')

ie:
thisform.addobject('myTreeview','OleControl','MSComCtlLib.TreeCtrl')
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform