FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour size of a resource
Posts: 76
Joined: Fri Dec 30, 2005 10:25 AM
size of a resource
Posted: Mon Aug 24, 2015 01:57 PM

How can I read the size and the font from an existing dialog-resource in a RES or DLL file?

Frank-Peter
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: size of a resource
Posted: Tue Aug 25, 2015 07:21 AM

Frank,

Try this:

DEFINE DIALOG oDlg RESOURCE ...

ACTIVATE DIALOG oDlg ON INIT ( MsgInfo( oDlg:oFont:cFaceName, oDlg:oFont:nSize ), oDlg:End() )

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: size of a resource
Posted: Tue Aug 25, 2015 10:18 PM

Antonio,

Its always good to think outside the box! I like it.

James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion