Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Simple grid question.
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
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