Information générale
Catégorie:
The Mere Mortals Framework
Darrell,
If you can't get the EditBox to highlight like the TextBox (and I'm not saying there's no solution) then I see 2 work arounds:
1) If you don't have to see ALL of the memo field, then put the memo data in a textbox.
2) If it _is_ imperative that an EditBox be used, put it _OutSide_ the grid, on the form (or Page). Use the AfterRowColChange method to fill the EditBox, as in:
lcField=MyFile.MyMemoField
This.Parent.MyEditBox.Value= &lcField.
I often use this method of scattering data to fields on the form for grids with many columns, as invariably, a user will want to see a column on the far right and left at the same time.
jt
>I am using the cListObjEdit control. The grid contained on cListObjEdit needs to display the contents of a memo field. I removed the text box from the column and added an edit box. All is working fine EXCEPT that when a row in the grid gets focus, the backcolor of the edit box is not the same as the rest of the row. As I'm sure you know, the grid has lSetHighLightBar=.t.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement