To All
I can not find the correct example in the forum .. I believe Nags came up with this code to add color to the group frame ..
And this code works well if you only want to color the RoundBox for the first instance .. but I have 2 group boxes on the same form and it is the last box that is drawn .. I do kinda see that the roundBox is directly tied to the hDc instance ..
Is there a way to modify this code to handle two or more group boxes on the same form ?
Thanks
Rick Lipkin
I can not find the correct example in the forum .. I believe Nags came up with this code to add color to the group frame ..
oGrps:bPainted := < |hDC|
RoundBox( hDC, 20,30,445,300,10,10,CLR_BLACK, 1 )
Return nil
>
oGrps:bPainted := < |hDC|
RoundBox( hDC, 20,340,445,500,10,10,CLR_HRED, 1 )
Return nil
>And this code works well if you only want to color the RoundBox for the first instance .. but I have 2 group boxes on the same form and it is the last box that is drawn .. I do kinda see that the roundBox is directly tied to the hDc instance ..
Is there a way to modify this code to handle two or more group boxes on the same form ?
Thanks
Rick Lipkin