List Info

Thread: Re:DBGrid background & pointer




Re:DBGrid background & pointer
country flaguser name
United States
2007-09-02 09:25:37



Private Sub form_load()
MSFlexGrid1.Row = 1 'Designate the row that you want to color
MSFlexGrid1.Col = 1 'Designage the column
MSFlexGrid1.BackColor = vbGreen 'designate the color
end sub

If you leave out the row and the col designation, it will color the whole flexgrid that color

---Anthony
End Sub


[Non-text portions of this message have been removed]

__._,_.___
.

__,_._,___
Re:DBGrid background & pointer
country flaguser name
United States
2007-09-03 07:10:39

--- In vbhelp%40yahoogroups.com">vbhelpyahoogroups.com, Jesus Is the Answer <halfof4is2...>
wrote:
>
&gt;
>
> Private Sub form_load()
> MSFlexGrid1.Row = 1 'Designate the row that you want to color
&gt; MSFlexGrid1.Col = 1 'Designage the column
&gt; MSFlexGrid1.BackColor = vbGreen 'designate the color
&gt; end sub
>
> If you leave out the row and the col designation, it will color
the whole flexgrid that color
&gt;
> ---Anthony
> End Sub
>
>
>
> OK, I understand what you are saying. Does the same hold true when
using DBGrid (I presume so )? What i am trying to do is have the row
background color dynamicly change with the position of the pointer.
I thought I saw a 'currant row' property somewhere,which would put
this thing to bed (can't seem to find it). I am going to do some
reasearch on this. If you come up with something let me know,
Thank Yoy, MIKE

>

__._,_.___
.

__,_._,___
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )