Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help on EditBox colors
Message
From
16/10/1998 18:13:42
 
 
To
16/10/1998 10:58:38
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00147492
Message ID:
00147705
Views:
32
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform