ChooseFont() Don't return the color selected

Post Reply
User avatar
sambomb
Posts: 385
Joined: Mon Oct 13, 2008 11:26 am
Location: Itaocara - RJ - Brasil
Contact:

ChooseFont() Don't return the color selected

Post 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!
Email: SamirSSabreu@gmail.com
MSN: SamirAbreu@hotmail.com
Skype: SamirAbreu
xHarbour 1.1.0 + FwXh 8.02
xHarbour 1.2.1 + Fwhh 10.6
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

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

Post 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 )
 
regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply