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
xHarbour 1.2.3 + Fwhh 20.2
User avatar
sambomb
 
Posts: 388
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  RUN
local aFont, nRGBColor := 0

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
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 0 guests