Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to tell what object has focus
Message
De
12/04/1999 04:33:57
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00205349
Message ID:
00207367
Vues:
16
Yes, you can reference the controls in the grid directly, f.ex.

Thisform.Grid1.Column2.Check1.Value

You can also reference the control dynamically, f.ex. should return the value of the current control of the currentrly active column of Grid1

eval('Thisform.Grid1.Columns(_screen.Activeform.Grid1.ActiveColumn).' + Thisform.Grid1.Columns(Thisform.Grid1.ActiveColumn).CurrentControl + '.Value')


>So there's no way to directly reference a control inside a grid from outside the grid?
>
>
>>And when the current control is in a grid, a reference to the grid is returned.
>>
>>Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform