General information
Category:
Forms & Form designer
>>Grids 101 continued:
>>
>>One of the fields in my cursor is a logical field. How do I put a checkbox into the cursor to control this field?
>>
>>thanx -
>>
>>Yossi
>
>The answer to this is kind of a long story.
>Right click the grid and select edit. Select your checkbox control and drop it in the column that you want. Now go to your property sheet. Find the textbox control for the column, that you droped the checkbox control into, and select it in your property sheet. Next click the title bar for the form and click the delete button. This should remove the textbox control for the grid's column. Next set the controlsource for the checkbox to your cursor fieldname.
>
>That should do it.
>
>Einar
Einar:
Thanks; that worked.
Two Comments:
The checkbox only appears if you created the cursor in the LOAD, not in the INIT. Why?
If the grid has the same number of rows as there are records in the cursor, if I press the down arrow, the top rows will disappear one by one. The only way that I have have found to avoid this behavior is to make the grid at least one full row taller than there are records, NOT a very elegant solution! Any suggestions?
Thanks for all the help so far,
Yossi
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only