Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Tool like GetFile
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00268602
Message ID:
00268696
Views:
29
Hi George,

Thanks again,

>> 2) Can I use it without form with CreateObject() command. Could you please help me with exact syntax here?
>>
>Sure thing, and I work with it this. If a command button is used to activate it, it's stored as a custom property of the command button. In order create a reference to it, oOpenDlg = CREATEOBJECT("MSComDlg.CommonDialog.1"). The upside to it is that you don't have to worry about versioning problems (always a consideration with ActiveX controls). The downside is that you lose the access to the properties dialog.
>
>Let me know if you have any other questions.

When I try
oOpenDlg.Flags = cdlOFNHideReadOnly
oOpenDlg.Flags = cdlOFNAllowMultiselect
oOpenDlg.Flags = cdlOFNExplorer
VFP can not found these variables. How can I define them if it's necessary or what do I have to do? And how can I combine flags?

And is there a way to change button's caption also (for inctance, archive instead of open)?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform