Page 1 of 1

bug in folder in dialog?

Posted: Fri Jan 04, 2008 12:06 pm
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?

Posted: Fri Jan 04, 2008 5:22 pm
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)

Danke

Posted: Sat Jan 05, 2008 12:13 am
by byte-one
Danke Stefan, wäre für mich nur logisch gewesen!