Information générale
Catégorie:
Codage, syntaxe et commandes
>Sorry, I don't understand what you said (probably typos). Could you repeat: is column2 getting focus or not? It was tested, and works Ok on my machine (VFP5).
I believe a little more indepth explanaion might help. I have a 3 column grid on one of my forms. I want the user to only be able to change the value of 1 column(column2) which contains a checkbox. I have tried disabling column 1 and 3, and the controls in both columns. The user can still click on the column and take focus away from Column 2. Even if I enable all columns and put
thisform.grid1.column2.check1.setfocus()
nodefault
in the 1st and 3rd column's control's getfous event, the 2nd column doesn't get focus. The control in conlumn 1 or 3 wouldn't have focus but the column would keep it. The column itself doesn't have a gotfocus event, so I can't set it there. I know how to do this in a Browse (use the freeze clause) but can't seem to get a grid to behave. That help some?
Précédent
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