FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Font drom dialog with resources
Posts: 167
Joined: Thu Mar 22, 2007 11:24 AM
Font drom dialog with resources
Posted: Mon Jul 06, 2009 09:04 AM

Hello,

I have in a resource file :

FONT 18, "MS Sans Serif"

I noticed that this has influence on the sizes from the dialog and objects.
BUT IT HAS NO INFLUENCE ON THE OBJECTS AS GET' , SAY , .... , The font seems always te be MS Sans Serif -12 (GetSysFont() -12 )

Is this a normal behaviour ? I expected that all objects would have a font defined in the resource

The problem seems to be that after defining the dialog , oDlg:Font is nil and has not the value from the resource , redefing the objects give a default font to the objects

Frank

Continue the discussion