Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
User presses cancel in a prameterized view
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00262879
Message ID:
00262897
Vues:
19
>Hi Bret,
>
>My suggestion would be to prompt the user for the value needed yourself via textbox, combobox, etc. Then when you have the value then open the view. I NEVER let the default VFP prompt come up for parameratized views in my apps. HTH
>
>>I have a view that has a prameter. The user gets prompted to put in the value and press OK, but there is also a cancel button. When the user presses this it generates an error that causes my application to abort (basically generate an errorlog entry and quit). Is there a way I can use a parameterized view without a cancel button coming up or does anyone have any ideas on how to trap the error that the cancel button causes before my error trapping routines kick in. Any help would be appreciated.

In the next version of VFP there will be a function similiar to messagebox called I think inputbox. This will give us the capability of getting input from a user with what ever prompt we want. They talked about it at the Southern California conference a couple of weeks ago. This would be ideal for my view needs, but for now we need a prompt to come up and not clutter a screen with extra input fields.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform