Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
TABLEUPDATE(.T.) bombs with uncommitted changes
Message
 
 
À
30/09/2003 22:20:25
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00833421
Message ID:
00833710
Vues:
39
Luis,

Frankly I don't use toolbars for two primary reasons 1) this whole don't get focus subject and 2) they typically require too much mouse movement away from the form to click them. I prefer to use my own container class of buttons that's dropped onto the form itself.

In your case _screen.ActiveForm.ActiveControl.BaseClass will be "Grid". Your toolbar button subclass can test for this case and handle it appropriately by using the ActiveColumn of the grid to get the control to "self" SetFocus() to.

>Your solution doesn't work when the textbox is in a grid. Do you know how to solve this case?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform