Hello,
I noticed a problem with < ChooseColor() >
restoring the old color, doesn't seems to work
a BREAK returns always 0 ( black )
Also tested changing the color BEFORE the break but still black
Return NIL would be ok, because 0 is a color as well can be selected.
tested as well with sample < LINES.prg >
STATIC PROCEDURE NewColor()
LOCAL OldColor := nColor
if ( nColor := ChooseColor() ) == -1 // NO result
// MsgAlert( nColor ) = returns always 0 !!!
nColor := OldColor
endif
any idea how to keep the old color ?
added a alert to the color-selection
best regards
Uwe