It seems, it is impossible to change a gradient for header / Footer
to single color at runtime.
I tested a new setting for the browse-tools.
bClrGrad => to => bClrHeader
or
bClrHeader => to bClrGrad
once bClrGrad was defined, i couldn't change to => bClrHeader
I want to have the choice to use 2 Colors for the Gradient, or use
only the 1. Color ( no Gradient ).
I can change the colors from bClrGrad, but not switch to bClrHeader.
I did this test inside of a browser :
*oLbx0:bClrHeader := {|| { BR_COLOR1, BR_TCOLOR } }
oLbx0:bClrGrad := { | lInvert | If( ! lInvert, { { nMOVE1, BR_COLOR1, BR_COLOR2 }, ;
{ nMOVE1,BR_COLOR2,BR_COLOR1 } }, ;
{ { nMOVE2,BR_MCOLOR,BR_COLOR2 }, ;
{ nMOVE2,BR_COLOR2,BR_MCOLOR } } ) }
oLbx0:bClrHeader := {|| { BR_COLOR1, BR_TCOLOR } }
oLbx0:bClrHeader should be the Header-color, but it is ignored
because of the oLbx0:bClrGrad define.
If i open a extra dialog for the settings, it is ok.
In this sample NON-GRADIENT is selected.
- Code: Select all Expand view
IF nHEADGRAD = 1
oLbx30:bClrGrad := { | lInvert | If( ! lInvert, ;
{ { nMOVE1, BR_COLOR1, BR_COLOR2 }, ;
{ nMOVE1,BR_COLOR2,BR_COLOR1 } }, ;
{ { nMOVE2,BR_MCOLOR,BR_COLOR2 }, ;
{ nMOVE2,BR_COLOR2,BR_MCOLOR } } ) }
ELSE
bClrHeader := { BR_COLOR1, BR_TCOLOR }
ENDIF
Is there a solution for it ?
Regards
Uwe