FoxPro allows you to Display multiple rows per record in a grid control by replacing the default text box control with a container object in a one-column grid. The container class I set up contains text boxes with the appropriate data. However I lose the â??the current row highlightâ?? effect. I tried setting â??allowCellSelectionâ?? to .f.., but this also had no effect. I also tried the pre VFP8 method of using â??.SetAll("DynamicBackColor"â?? to emulate row highlighting; with no success. Does anyone have any workarounds to emulate this highlighting feature

Thanks

Chri

Re: Row Highlighting using a container Object by Trey

Trey
Tue Jan 27 13:49:47 CST 2004

swag: Try setting the BackStyle of the container to transparent.

"Chris" <anonymous@discussions.microsoft.com> wrote in message
news:95AB77C8-B811-46F9-81C3-A2841EA6F75B@microsoft.com...
> FoxPro allows you to Display multiple rows per record in a grid control by
replacing the default text box control with a container object in a
one-column grid. The container class I set up contains text boxes with the
appropriate data. However I lose the "the current row highlight" effect. I
tried setting "allowCellSelection" to .f.., but this also had no effect. I
also tried the pre VFP8 method of using ".SetAll("DynamicBackColor"" to
emulate row highlighting; with no success. Does anyone have any workarounds
to emulate this highlighting feature?
>
> Thanks,
>
> Chris
>



Re: Row Highlighting using a container Object by anonymous

anonymous
Tue Jan 27 14:41:05 CST 2004

Thanks Trey

I set the BackStyle of the container to transparent. The container itself highlights, however the objects within the container do not. That is, the text boxes with the data overlap the highlighted container. I wonder if there is any way to dynamically change the backcolor of the text boxes ?

Chri

----- Trey Walpole wrote: ----

swag: Try setting the BackStyle of the container to transparent

"Chris" <anonymous@discussions.microsoft.com> wrote in messag
news:95AB77C8-B811-46F9-81C3-A2841EA6F75B@microsoft.com..
> FoxPro allows you to Display multiple rows per record in a grid control b
replacing the default text box control with a container object in
one-column grid. The container class I set up contains text boxes with th
appropriate data. However I lose the "the current row highlight" effect.
tried setting "allowCellSelection" to .f.., but this also had no effect.
also tried the pre VFP8 method of using ".SetAll("DynamicBackColor"" t
emulate row highlighting; with no success. Does anyone have any workaround
to emulate this highlighting feature
>> Thanks
>> Chri
>