Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checkbox in a grid
Message
From
18/03/1999 14:52:32
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00199401
Message ID:
00199419
Views:
17
>>>>>>I have a pretty basic question:
>>>>>>
>>>>>>How do I change the control that is displayed in a column of a grid? I have a logical field that I want to show as a CheckBox instead of as a TextBox. I want to do this in the form designer without using the builder.
>>>>>>
>>>>>>I have just discovered the Style property for CheckBoxes. Functionally it isn't required, but I think that it might make some forms a little more visually appealing...
>>>>>>
>>>>>>Joe
>>>>>
>>>>>Do you want to drop checkbox to grid.column?
>>>>
>>>>Sure, if that will work (I'm not aure I understand what you mean/how to do this). I just want the column to display a checkbox instead of a TextBox.
>>>
>>>Right-click on grid, select 'Edit', click on column, click on 'Checkbox' in controls toolbar, click on column again.
>>
>>Excellent. What is the property to pick the "active" control in the column?
>
>CurrentControl?
>
>Sorry...

Yes, but you may also set Sparse=.F. and even delete Textbox from the column: right-click, Edit, select textbox in property sheet, click on column, press Delete.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform