Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help on EditBox colors
Message
De
16/10/1998 18:13:42
 
 
À
16/10/1998 10:58:38
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00147492
Message ID:
00147705
Vues:
34
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
Fil
Voir

Click here to load this message in the networking platform