Information générale
Catégorie:
Codage, syntaxe et commandes
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement