General information
Category:
Forms & Form designer
>>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
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