Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Valid Event overridden by mouse click?
Message
De
02/09/1998 15:22:10
 
 
À
02/09/1998 15:06:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00132491
Message ID:
00132507
Vues:
14
Terry --

As Jim B. pointed out, rethink your interface.

Cetin Basoz posted a link to someone else with a similar problem a few days ago. Here it is: (Thanks Cetin):

"As Ken pointed out it's documented in BUG: Focus Changes Even Though Grid Text Box Valid Returns .F. with no workaround."


>I have a txtbox in a grid with the valid set to fire a messagebox and return 0 when a data condition is not met. It works fine unless you click on a control outside of the grid. Then the event fires properly but the clicked on control still gets focus after the messagebox leaving bad data in the txtbox. What do I need to do to prevent this?
>
>TIA
>Terry
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform