I am using VFP8 to create a form with a grid that contains 4 columns using the property sheet. The column controls are as follows:
Column 1 - checkbox (readonly=.f.)
Column 2 - textbox (readonly=.t.,opaque)
Column 3 - textbox (readonly=.t.,opaque)
Column 4 - editbox (readonly=.t.)
Also I have the following properties:
Highlight = .t.
highlightstyle= 2
HighlightBackColor= RGB(0,255,255)
BackColor = RGB(255,,255,192) && grid1 backcolor
If I select the row by clicking in any of the textboxes (i.e. clolumn 2/3) the textbox switches color to the backcolor of the grid in the selected row and to grey (only the textbox) in the other rows. If I select the row by using any other column the problem disappears in the selected row.
I tried several methods like making the textboxes transparent and others described here but no luck.
Any ideas are welcomed!!!
Thanks,
Carlos
Column 1 - checkbox (readonly=.f.)
Column 2 - textbox (readonly=.t.,opaque)
Column 3 - textbox (readonly=.t.,opaque)
Column 4 - editbox (readonly=.t.)
Also I have the following properties:
Highlight = .t.
highlightstyle= 2
HighlightBackColor= RGB(0,255,255)
BackColor = RGB(255,,255,192) && grid1 backcolor
If I select the row by clicking in any of the textboxes (i.e. clolumn 2/3) the textbox switches color to the backcolor of the grid in the selected row and to grey (only the textbox) in the other rows. If I select the row by using any other column the problem disappears in the selected row.
I tried several methods like making the textboxes transparent and others described here but no luck.
Any ideas are welcomed!!!
Thanks,
Carlos