FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour bug in folder in dialog?
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
bug in folder in dialog?
Posted: 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
Posts: 824
Joined: Thu Oct 13, 2005 07:39 AM
bug in folder in dialog?
Posted: Fri Jan 04, 2008 05:22 PM
Günther,

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

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
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Danke
Posted: Sat Jan 05, 2008 12:13 AM

Danke Stefan, wäre für mich nur logisch gewesen!

Regards,
Günther
---------------------------------
office@byte-one.com

Continue the discussion