Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grids.. Blah
Message
De
17/11/1998 11:31:53
 
 
À
17/11/1998 11:24:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00158261
Message ID:
00158290
Vues:
20
>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
Fil
Voir

Click here to load this message in the networking platform