Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids.. Blah
Message
From
17/11/1998 11:31:53
 
 
To
17/11/1998 11:24:58
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00158261
Message ID:
00158290
Views:
19
>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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform