Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Enhanced grid - more than just textboxes
Message
 
To
28/02/1997 22:46:37
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00022502
Message ID:
00022509
Views:
43
>>I am trying to design an object based on Grid that will display labels instead of textboxes in columns.
>>No problem adding the objects to columns and setting the Column.CurrentControl. However, setting the ControlSource property to alias.field doesn't seem to affect the labels.
>>In other words, I would like the labels to behave the same way as the original textboxes did.
>>Has anybody had any similar experience ? Or any alternate solutions ?
>>
>>TIA
>>Sorin
>
>Why labels?
>Use textbox with READONLY=.T. or ENABLED=.F.

Nabil, thank you for your response.
I picked labels just as an example. Ultimately, my intention is to replace textboxes with a custom made object (class) that will display, let's say a label and an image with captions/pictures based on the control source property value.
Moreover, I like the mouse pointer to be an arrow when moving over the grid (which is what labels do), and not the annoying I-beam.
I tried creating a container class that emulates the grid behavior by displaying images and labels on the form, unfortunately it is to slow on refreshing/scrolling because of too many objects on the form.
Previous
Reply
Map
View

Click here to load this message in the networking platform