Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CheckBox in Grid
Message
From
21/11/2002 09:52:54
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00725144
Message ID:
00725166
Views:
11
This message has been marked as the solution to the initial question of the thread.
Hi!

Set Sparse property opf the column with checkbox to .F.

Check/Uncheck check box by changing control's value in the code in KeyPress event of EACH text box. Use "nodefault" after that to disable default Enter key behavior.

HTH.

>I have placed a CheckBox in the column of a grid. The grid only has 4 columns, and the other 3 columns are ReadOnly (which allow increment search, etc.).
>
>The 4th column with the CheckBox only appears as a CheckBox if I am actually focused in that Column, and only for that Row. Can someone tell me how to be able to see the CheckBox at all times in that column, and rather it is checked or not in Column 4.
>
>And one other thing I would like to do. When the user has found the row of his choice after doing the incremental search, I would like him to be able to hit the ENTER key which in turn would either check or uncheck (if it was already checked) the CheckBox in Column 4 (remember - he will be doing the incremental search in Column 1, 2 or 3). Anyone have a suggestion on best way to handle this?
>
>Thanks,
>
>Mel Cummings
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform