Font drom dialog with resources

Font drom dialog with resources

Postby demont frank » Mon Jul 06, 2009 9: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
demont frank
 
Posts: 167
Joined: Thu Mar 22, 2007 11:24 am

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: karinha, nageswaragunupudi and 43 guests