Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid with memo in txtbox, sometimes dblclick doesn't wor
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00537223
Message ID:
00537642
Vues:
11
This message has been marked as a message which has helped to the initial question of the thread.
Hi!

>Hmm, don;t know exactly, but take a look to the MemoWindow property of TextBox. I usually use EditBox control in the grid column that displays correct content of memo field instead of 'Memo'.
>
>The memoWindow property is (None) -- the default. I like the textbox because I like the compactness of the column and editing in a separate window.
>

Try to set it to some window name. There could be already window in the system or VFP with no name, so memo window is not opened. Setting this property to certain name could solve your problem. I don;t know exactly, however, just an idea.

>P.S. I added a editbox to the grid to try it out and since it is clumsy to do it visually, I added two editboxes -- how in the world do you get rid of one of the extra controls?
>

What exactly is clumsy? If you want, I will send you the list of properties required to set up to display edit box like a text box in the grid.

BTW, if clumn with memo field is read-only, you can use the expression for column that converts memo to text on the fly. Just make column read-only and specify 'PADR(mMemo,240)' as the control source of column leaving control source of control in column as default value (right click on th property and choose Reset to Default).

HTH.
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