Information générale
Catégorie:
Contrôles ActiveX en VFP
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?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement