Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need quick input box
Message
De
06/07/1998 14:40:29
Mandy Mccord
Public Interest Breakthroughs, Inc.
Albany, New York, États-Unis
 
 
À
06/07/1998 14:15:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00114574
Message ID:
00114639
Vues:
20
>>>>I want to have a menu item to "Save data files to disk" in my application... an .exe developed in vfp5.0. I plan on using a pkzip command to zip the files to disk so the file can be scanned across disks if necessary due to file size.
>>>>
>>>>I need to ask the users if their floppy drive is A: or B: then use that drive letter in the pkzip command. What's the most efficient way to do this?
>>>>
>>>>MTIA!
>>>>Mandy
>>>Mandy,
>>>
>>>I would use a combobox with this in the init;
>>>
>>>
>>> THIS.AddListItem("A:",1)
>>> THIS.AddListItem("B:",2)
>>>
>>>
>>>Make it a dropdownlist type.
>>
>>So I would have to create a form to put this in first? Is there a way to just run a command from the menu to just create a messagebox like object with the question "where is your floppy, a or b?" then use the resulting keystroke in the pkzip command? Can I use the "createobject" command to create a mini form 'box' for this? Am I really confused?? ;)
>>
>>Mandy
>
>The simplest way is really to bring messagebox:
>n=messagebox("Answer 'Yes' if floppy in 'A', and 'No' if floppy in 'B'",3)
>Another simple way is to have three SET MARKed menu options.
>Other ways are also simple enough, but here you should add some control to your form/toolbar, e.g., as Jim said, you can use combobox.

Edward,

I tried your suggestion and it works like a charm. That's exactly the quick and dirty method I was looking to get the info I need. thanks!!

Mandy
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform