Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access to Grid Cell
Message
 
À
29/04/1998 15:42:04
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00095766
Message ID:
00095773
Vues:
21
>>>How can I access a cell in a grid? I have some codes at form level, in which I need to assign a value to some cells in a grid. I can use thisform.ActiveControl.Collumns(i).Controls(2) to get to the collumn. But how can I go further to get to the cell?
>>>
>>>Thanks in advance.
>>
>>You can use Grid.ActiveRow and .ActiveColumn properties.
>>
>>Nick
>
>Yes, I can get active Row and Column numbers. But how can I address the active cell in the code?

You can use Grid.ActivateCell(nRow, nCol)

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform