FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Getting dialog width/height from resource
Posts: 363
Joined: Wed Feb 15, 2006 02:06 PM
Getting dialog width/height from resource
Posted: Tue Jul 07, 2009 09: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

Posts: 248
Joined: Wed Jan 11, 2006 11:30 AM
Re: Getting dialog width/height from resource
Posted: 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---**

Continue the discussion