Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Simple grid question.
Message
De
02/10/1999 12:52:51
Paul De Niverville
Deniverville Econometric Research Ltd.
Victoria, Colombie Britannique, Canada
 
 
À
02/10/1999 12:19:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00271976
Message ID:
00271980
Vues:
28
Hi Mike,

Thanks for the fast response.

I put in this code into the click event of the header for column1:

this.parent.parent.ActivateCell(1, 1) && and 2,3,4 for the other columns

It works well, except that the column# in activatecell(row#, column#) seems relative to the columns displayed in the grid. If column1 has disappeared, because of scrolling to the right, activatecell(1,3) goes to the third displayed column, which is column4. This will be confusing for users.

Thanks again,

Paul


>Hi Paul,
>
>>If the textbox for column1 is highlighted and I click on the header for column4,(for example) I wanted the textbox for column4 to have the focus, or be hightlighted or selected. (Sorry, I not sure of the correct term.)
>
>Try something like:
>
Grid1.ActivateCell(Grid.ActiveRow, 4)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform