Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Prevent clicking into textbox on grid?
Someone must have seen this:
I have created a grid that has several columns. Some columns are designed to be editable and several are designed to be read-only (like the columns you would freeze on the left side of a spreadsheet). I have set the tabstop for the textbox in the readonly columns to be .F., plus readonly=.T. and enabled=.F. and it does not let me TAB into them (this is the good news). However, if I mouse click into these textboxes, it highlights them (in off-color) and appears as if the cell has the focus (they are still read-only), even though the GOTFOCUS of the textbox for the cell does not fire (so it really doesn't have the focus).
I don't want the users to be able to get into my read-only columns with tabs or the mouse! Can anyone shed some light on how to prevent these text boxes getting this "ghost-focus" - it would be best if the click had no affect, and focus remained on the previously highlighted valid editing cell?
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