bug in folder in dialog?

bug in folder in dialog?

Postby byte-one » Fri Jan 04, 2008 12:06 pm

Hello all,
when I use a own font in the main window, all dialogs are also with this font painted. Ok! But when I use a folder in a dialog, the dialogs from folder use not this font, the parent dialog is ok. Bug?
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Postby StefanHaupt » Fri Jan 04, 2008 5:22 pm

Günther,

The window font is not used by standard in the folder class, but you can use

Code: Select all  Expand view  RUN
AEVAL(oFld:aDialogs, {|x| x:oFont := oFont})


to change the font of all dialogs in a folder.
Or you include the font object in the folder definition. (redefine folder .... font oFont)
kind regards
Stefan
StefanHaupt
 
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Danke

Postby byte-one » Sat Jan 05, 2008 12:13 am

Danke Stefan, wäre für mich nur logisch gewesen!
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 62 guests