Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Selecting multiple files in common dialog control
Message
 
To
14/10/2004 09:31:51
Héctor Lizarraga
Gobierno Del Edo de Querétaro
Querétaro, Mexico
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00950392
Message ID:
00951592
Views:
5
It is interesting. It works for me no matter I do it from the VFP command window, or include the commondialog control into the form, and call it from the button.

Perhaps some details may be important. Could you send your SAMPLE form to me?
Make sure it works , and all files needed are included into the ZIP package that you are going to send to me.

Additionally, what are:
- VFP version
- Windows version
- commondialog Control version.



>Thisform.oleDialog.DialogTitle = 'Some title'
>
>Thisform.oleDialog.Filter = "All Files (*.*)|*.*|Text Files (*.txt)|*.*.txt|INI Files (*.ini)|*.ini|Images (*.bmp;*.jpg;*.gif)|*.bmp;*.jpg;*.gif"
>
>Thisform.oleDialog.FilterIndex = 1
>Thisform.oleDialog.Flags = 512 + 262144
>
>It doesn't work, in this case the control only sets the first flag, the second is ignored. If I reverse the order occurs the same. The only flag that the control sets is cdlOFNAllowMultiselect.
>
>This also happen with hexadecimal numbers.
>
>What I'm missing?
Previous
Reply
Map
View

Click here to load this message in the networking platform