Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Bound label to grid
Message
De
27/12/2001 04:30:25
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
 
 
À
27/12/2001 04:14:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00598107
Message ID:
00598368
Vues:
20
In this case put an editbox in your form bound to that field on the table and don't included in thwe grid this way when the user change the row in the grid the text is uptaded in the editbox you may need to issue an editbox refresh in the AfterRowColChange Event.

>Hi,
>
>Actually, my application will just display the grid in big small
>and do not allow them to scroll at all, just for display use only.
>So, my other column is just mainly a few characters, so not much
>a problem, except for 1 column which is used for description,so
>the lenght of words is longer. Please advise.
>
>>Hi you are not restincting to 3 lines the user can still enter in the editbox and scroll down to see aditional text.
>>
>>>Hi,
>>>
>>>Thank for your advise.
>>>However, due to my application requirement that the grid display to user
>>>must be big in font size, so my whole grid control is large, hence I can't
>>>restrict it to 3 lines of text in a single row in the edit box.
>>>
>>>Please kindly advise me how to solve this issue.
>>>
>>>
>>>>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"
Alexandre Palma
Senior Application Architect
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform