FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index Bugs report & fixes / Informe de errores y arreglos ChooseFont() Don't return the color selected
Posts: 389
Joined: Mon Oct 13, 2008 11:26 AM
ChooseFont() Don't return the color selected
Posted: Mon Feb 16, 2009 12:49 PM

ChooseFont() open a dialog with the option to choose the settings of the font and the color, but don't return this color!

Email: SamirSSabreu@gmail.com
xHarbour 1.2.3 + Fwhh 20.2
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: ChooseFont() Don't return the color selected
Posted: Tue Feb 17, 2009 11:23 PM
Samir,

You have to provide it the color variable by reference:
Code (fw): Select all Collapse
local aFont, nRGBColor := 0

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

Antonio Linares
www.fivetechsoft.com

Continue the discussion