Page 1 of 1

ChooseFont() Don't return the color selected

Posted: Mon Feb 16, 2009 12:49 pm
by sambomb
ChooseFont() open a dialog with the option to choose the settings of the font and the color, but don't return this color!

Re: ChooseFont() Don't return the color selected

Posted: Tue Feb 17, 2009 11:23 pm
by Antonio Linares
Samir,

You have to provide it the color variable by reference:

Code: Select all

local aFont, nRGBColor := 0

aFont  = ChooseFont( , @nRGBColor )
MsgInfo( nRGBColor )