Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get MyClass.MyCheckbox into a grid?
Message
From
25/01/2008 11:44:35
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01285496
Message ID:
01285557
Views:
23
>>>>Got a CheckBox in a class library and want to use it instead of the default TextBox that's in one of the columns of my grid. How do I do that? Visually at design time. Thanks!
>>>
>>>Just make sure your custom CheckBox is in the form controls toolbar, then drop it onto the grid like any other control.
>>
>>And THEN change the CurrentControl property of the column in the grid.
>
>
>I didn't mention that I always delete the default Textbox in the column first. CurrentControl must then be updated automatically when a custom control is dropped in because I never need to do that manually.

What's the use of deleting it? At times one may want to undo the change.
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform