Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Memo in grid
Message
 
 
À
08/06/1999 15:32:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00227594
Message ID:
00227664
Vues:
24
Hi Todd,

>I think something like:
>
>This.columns(i).edtMemo.RowHeight=30

Actually, only whole grid has this property. But I don't like an idea to use "EditBox" after several attempts - it looks ugly. Now I turn to another idea, but I don't know how to realize it. My idea is - if the type of field is Memo, put some code in DblClick method of this column - modi memo... But, I don't know how to put this code, because I create my grid in grid Init method. So, how can I do this?


>Just before This.columns(i).edtMemo.Visible=.T.
>
>I was having a problem and it turned out that only the top half (empty) were showing in the grid.
>
>If that doesn't work, try building a fixed one in the form designer and then copy what you did into your code.
>
>>Hi Todd,
>>
>>>Maybe the .RowHeight needs to be set?
>>
>> Could you please be more specific, I don't understand you...
>> What do I need to do with my code?
>>
>>>>Hi Todd,
>>>>
>>>>>Sure! Just make sure that the control type is editbox, not textbox
>>>>>
>>>>
>>>> Now I can change the content of Memo field, but I still can not read it. What did I do wrong?
>>>>
>>>>
>>>>>>
>>>>>> Is it possible to read content of Memo field in Grid if grid columns are populated in run-time?
>>>>>>
>>>>>> Thanks in advance
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform