Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Validation in conjunction with navigation toolbar in VFP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00294748
Message ID:
00296502
Vues:
38
>>>>
>>>>... The problem is that toolbars don't receive focus, and so they don't cause other controls to lose focus. ...
>>>
>>>
>>>Tangent: Can you make other buttons behave the same way? Can you place a button on a form and have it behave so that when the button is pressed the active control on the form does not lose focus?
>>
>>Not that I know of. You can prevent a control from receiving focus by returning .F. from the When event, but this also prevents its click functionality from running.
>>
>>Out of curiosity, why do you need this?
>
>Just an old gripe I have with VFP. There have been several instances where it would have been nice. For example, given a text box requiring and account number, you could place a button next it that brings up a browse of accounts to pick from. It would be nice to hit that button and not have to deal with valid for the textbox. We've pretty much worked around it or dealt with it "properly" where we needed it, but since day one with visual foxpro I have been bothered by the fact that events exist in a vacuum with no reference of where they came from or where they are going.


Note to self: always proof read posts before submitting them so you don't look like an illiterate! Sorry for the typing and grammatical errors!
Paul R. Moon
Business Software Solutions
paul@businessoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform