Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bound label to grid
Message
 
 
À
26/12/2001 04:15:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00598107
Message ID:
00598117
Vues:
19
Hi!

Try to use editbox inside of the grid column, and set row height for grid rows to fit 3 lines of the text in a single row in the edit box. In such case edit box will display large text from memo field and wordwrap it.

HTH.

>Hi,
>
>My application is using the VFP6 grid to display
>some information, however, the default text will not
>wrap the display if the text is too long.
>
>Hence, I had replace the grid text control with
>label control but it don't work. Below is my code
>for doing so, please kindly point out my mistakes.
>Thank you
>
>
>Where label1 is my label control and subitem is a temporarily
>cursor. I had this code in my form activation event.
>
> Grid1.column2.CurrentControl = "label1"
> Grid1.column2.ControlSource = "subitem->desc"
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform