FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour How to calculate number of columns / rows ?
Posts: 723
Joined: Tue Sep 04, 2007 08:45 AM
How to calculate number of columns / rows ?
Posted: Thu Sep 09, 2010 04:24 AM

Guys:

As far as I have read in the manual folder, the DEFINE WINDOW command receives its coordinates in rows. I got a dialog, defined in PIXELs, that has to be displayed inside a window. How can I convert from pixels to columns/rows ? Thank you.

Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: How to calculate number of columns / rows ?
Posted: Thu Sep 09, 2010 03:50 PM
Hunter,

If you need this info for placing conrols, I highly recommend that you use a resource editor instead.

For more information about Windows and dialogs dimensions, see my "Intoduction to Fivewin" article here:

http://www.gointellitech.com/program.htm

Regards,
James
FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion