ChooseFont() Don't return the color selected

ChooseFont() Don't return the color selected

Postby sambomb » 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
MSN: SamirAbreu@hotmail.com
Skype: SamirAbreu
xHarbour 1.1.0 + FwXh 8.02
xHarbour 1.2.1 + Fwhh 10.6
User avatar
sambomb
 
Posts: 385
Joined: Mon Oct 13, 2008 11:26 am
Location: Itaocara - RJ - Brasil

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

Postby Antonio Linares » Tue Feb 17, 2009 11:23 pm

Samir,

You have to provide it the color variable by reference:
Code: Select all  Expand view
local aFont, nRGBColor := 0

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 41313
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain


Return to Bugs report & fixes / Informe de errores y arreglos

Who is online

Users browsing this forum: No registered users and 4 guests