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

I have a multi-column grid. In the click event of the header of each column I change the index tag of my view to the index tag for the field associated with the column.

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.)

I don't get an error with the following code, but the column1.textbox still seems selected.

The grid is read only. The grid, columns and textboxes are enabled. The grid is on a pageframe. I use the grid to allow the user to choose a record for editing on a different page of the pageframe.

* click event for column header
set order to t_weicode
goto top
* this set focus doesn't seem to be working.
this.parent.text1.setfocus()
thisform.refresh()

Any ideas??

Thanks

Paul de Niverville
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform