Getting dialog width/height from resource

Getting dialog width/height from resource

Postby PeterHarmes » Tue Jul 07, 2009 9:37 am

Hi,

Is there a way that i can get the width and the height of a dialog before it has been linked into a folder. If i query oFld:adialogs[1]:nWidth it returns the width of the folder not the dialog within. What i want to do, is to get the maximum width and height of the dialogs and then resize the folder and the initial dialog so that all the controls fit.

Is this possible?

Thanks in advance

Pete
PeterHarmes
 
Posts: 363
Joined: Wed Feb 15, 2006 2:06 pm
Location: Oxford, England

Re: Getting dialog width/height from resource

Postby Ale SB » Tue Jul 07, 2009 11:26 am

Friend, review the Testmdir.prg of samples.

Regards, Ale
aleseribeli@hotmail.com

FwH, Hb Svn, ADS 8.1, ADS 10, Pelles C, FwPPC, MsVc 2008, MsVc 2010
"Conhecimento, você não subtrai quando divide; mas soma e multiplica."
**---Mário Persona---**
User avatar
Ale SB
 
Posts: 248
Joined: Wed Jan 11, 2006 11:30 am
Location: Campo Grande-MS / Brasil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: karinha and 43 guests