Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enhanced grid - more than just textboxes
Message
 
À
28/02/1997 22:46:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00022502
Message ID:
00022509
Vues:
39
>>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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform