Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Common Dialog Box Foundation Class
Message
 
À
30/03/2004 03:24:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00890382
Message ID:
00890730
Vues:
21
I doubt that you can do it with the common dialog unless you specify exactly the file sceleton. Still subdirectories will be seen. I think you need to make your own "Choose file" dialog here.

>Yuri
>
>Sorry but another question here.
>
>When the dialogue opens the filename pull donw list is populated with files I have previously looked at . How could I clear that list. The top filename is what I want but I don't want anything else in the list.
>
>Nick Mason
>
>>
>>loComDialog = createobject("mscomdlg.commondialog")
>>loComDialog.Filter = "Text Files(*.txt)"
>>loComDialog.MaxFileSize=40
>>loComDialog.filename="n*.txt"   && skeleton
>>loComDialog.ShowOpen()
>>
>>
>>
>>>Yuri
>>>
>>>I can't seem to set this correctly to load a file skeleton. The filter I set gets loaded but the file list isn't filtered. Do you know how I would do that ?
>>>
>>>
>>>Thanks
>>>
>>>
>>>
>>>
>>>>See message #715104
>>>>>Hi
>>>>>
>>>>>I'm using this class to open files. I want to be able to load file skeletons so I'm not using GETFILE(). How can I make the File open dialogue open where I want rather than top left hand corner.
>>>>>
>>>>>
>>>>>Thanks
>>>>>
>>>>>
>>>>>Nick Mason
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform