bug in folder in dialog?

Post Reply
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

bug in folder in dialog?

Post by byte-one »

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
StefanHaupt
Posts: 824
Joined: Thu Oct 13, 2005 7:39 am
Location: Germany

Post by StefanHaupt »

Günther,

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

Code: Select all

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
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Danke

Post by byte-one »

Danke Stefan, wäre für mich nur logisch gewesen!
Regards,
Günther
---------------------------------
office@byte-one.com
Post Reply