Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Prevent clicking into textbox on grid?
Message
De
09/08/1997 19:59:50
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Prevent clicking into textbox on grid?
Divers
Thread ID:
00043876
Message ID:
00043876
Vues:
78
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
Fil
Voir

Click here to load this message in the networking platform