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:
00268659
Views:
24
Hi Nadya,
> Thanks a lot for your reply. More questions:
>
> 1) Is there a way to change Dialog Title and buttons Caption (for example, Choose Files for archive instead of Open)?

Yep, set the .DialogTitle property to whatever you want.

> 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.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform