FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Font from folder-dialogs
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Font from folder-dialogs
Posted: Mon Jan 26, 2009 11:52 AM

A bug? i seen is the font from folders:

DEFINE WINDOW oWnd.....
oWnd:setfont(oFont)
REDEFINE DIALOG oDlg OF oWnd ....
REDEFINE FOLDER OF oDlg ......

The font from the child-dialog is the same of the parent-window, but the font of the folder dialogs are standard. When i use REDEFINE DIALOG oDlg FONT oFont... , then it is functioning.

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Font from folder-dialogs
Posted: Wed Jan 28, 2009 12:23 AM

Hello Günther,

Like You can see in the INCLUDE-file => FOLDER.ch
REDEFINE FOLDER is different from @ <nRow>, <nCol> and uses the font, defined for the DIALOG.
There is no extra font-define.

xcommand @ <nRow>, <nCol> FOLDER [<oFolder>] ;

         [ &lt;of: OF, WINDOW, DIALOG&gt; &lt;oWnd&gt; ] ;
         [ &lt;prm: PROMPT, PROMPTS, ITEMS&gt; &lt;cPrompt,...&gt; ] ;
         [ &lt;dlg: DIALOG, DIALOGS, PAGE, PAGES&gt; &lt;cDlgName1&gt; [,&lt;cDlgNameN&gt;] ] ;
         [ &lt;lPixel: PIXEL&gt; ] ;
         [ &lt;lDesign: DESIGN&gt; ] ;
         [ &lt;color: COLOR, COLORS&gt; &lt;nClrFore&gt; [,&lt;nClrBack&gt;] ] ;
         [ OPTION &lt;nOption&gt; ] ;
         [ SIZE &lt;nWidth&gt;, &lt;nHeight&gt; ] ;
         [ MESSAGE &lt;cMsg&gt; ] ;
         [ &lt;lAdjust: ADJUST&gt; ] ;
         [ FONT &lt;oFont&gt; ];
   =&gt; ;

xcommand REDEFINE FOLDER [<oFolder>] ;

         [ ID &lt;nId&gt; ] ;
         [ &lt;of: OF, WINDOW, DIALOG&gt; &lt;oWnd&gt; ] ;
         [ &lt;prm: PROMPT, PROMPTS, ITEMS&gt; &lt;cPrompt,...&gt; ] ;
         [ &lt;dlg: DIALOG, DIALOGS, PAGE, PAGES&gt; &lt;cDlgName1&gt; [,&lt;cDlgNameN&gt;] ] ;
         [ &lt;color: COLOR, COLORS&gt; &lt;nClrFore&gt; [,&lt;nClrBack&gt;] ] ;
         [ OPTION &lt;nOption&gt; ] ;
         [ ON CHANGE &lt;uChange&gt; ] ;
         [ &lt;lAdjust: ADJUST&gt; ] ;
   =&gt; ;

Regards
Uwe :lol:

Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: Font from folder-dialogs
Posted: Wed Jan 28, 2009 11:39 AM

The font from ALL child-dialogs (inclusive the folder-dialogs) should be came from the highest level if defined there. (If not an other font from the programmer defined!)

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

Continue the discussion