Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Possible bug in Lost Focus when using access keys / hot
Message
 
 
À
16/10/2002 18:21:03
Jonathan Cochran
Alion Science and Technology
Maryland, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00711927
Message ID:
00712146
Vues:
10
I didn't know about this problem, thanks for pointing out.

Another solution would be to set some form's flag and check this flag in command button click. If it's true, just return and do nothing (or give a message, whatever).

>Yes, either one of those would work and would bypass the problem.
>
>Thanks,
>Jonathan
>
>>>Nancy,
>>>
>>>The situation we have is that we have two dropdown lists. In the first one, the user selects the type of action to take. In the second one, the user selects a recipient user of the action. There are certain users that are invalid choices for particular actions. The second dropdown (the user list) is tied to a table. I know there are probably better ways to handle this so the user can't even enter an invalid choice (such as setting a filter on the user table depending on the chosen action).
>>
>>Yes, IMO, it is only correct to give users selections that they can, actually, select. Or if you have to display them, at least disable them being selected. So, you can do this in a variety of ways. When they make their first selection, populate the user list with only those users it pertains to. Or, disable the inappropriate users by prefixing a "\". Would either one of these solutions work for you?
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform