Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Tool like GetFile
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00268602
Message ID:
00268696
Vues:
28
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform