Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help about grid
Message
From
16/08/2004 11:35:57
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
16/08/2004 09:19:33
Reza Meamar
Homa Programming Group
Shiraz, Iran
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00933519
Message ID:
00933567
Views:
24
>Hi all
>I see some grid that in it for example a combo box is in one column instead of one textbox.
>How I can make this? Is it only a class? And must it be only a class?
>Thanks

You can put almost any control into a grid column. Usually, you would want to take out the TextBox.

The real problem is selecting the contained objects - at least in VFP6, you have to do this through the Properties Sheet.

You will have to change the Column.CurrentControl property. For many controls, it is also convenient to change the property Column.Sparse. This affects visibility.

You can also have more than one control in a column, and conditionally activate one or the other. But I suggest that you better start experimenting with single controls, like a ComboBox instead of a TextBox.

And no, I don't think it has to be based on a specific class you created.

Greetings,

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform