FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Height of Window / Dialog different using same vars ?
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Height of Window / Dialog different using same vars ?
Posted: Thu May 02, 2013 08:52 AM
Hello,

I'm using a WINDOW to resize, move ( getting to / left ) and define the gradient-positionss.
The Pos-results I#m saving, are to be used for a Dialog.
With a SPLITTER, I define the gradient-areas.
It works fine but the height is different ( seems to be the Window-title )
Using a window without title, is there a way to grab / move the window ?

Results :

DEFINE WINDOW oWnd1 FROM nDlgTop, nDlgLeft TO nDlgHeight, nDlgWidth PIXEL ;
COLOR CLR_BLACK, CLR_BLUE ;
TITLE "Dialog Gradient-sections" ;
NOSYSMENU


DEFINE DIALOG oGDialog FROM nDlgTop, nDlgLeft TO nDlgHeight, nDlgWidth OF oWnd PIXEL ;
TITLE "Dialog GRADIENT"




Best Regards
Uwe :-) .
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Height of Window / Dialog different using same vars ?
Posted: Thu May 02, 2013 05:47 PM
It works with the same vars, changing the Window-style with NO title.
The Window is the same size like the area inside the Dialog.
But how can I MOVE/ RESIZE this window.
Any solution, to use DESIGN MODE for this kind of window ?

The Combination :

DEFINE WINDOW oWnd1 FROM nDlgTop, nDlgLeft TO nDlgHeight, nDlgWidth PIXEL ;
STYLE nOr( WS_POPUP, WS_BORDER );
COLOR CLR_BLACK, CLR_BLUE


DEFINE DIALOG oGDialog FROM nDlgTop, nDlgLeft TO nDlgHeight, nDlgWidth OF oWnd PIXEL ;
TITLE "Dialog GRADIENT"




Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.
Posts: 4043
Joined: Wed Dec 19, 2007 06:40 PM
Re: Height of Window / Dialog different using same vars ?
Posted: Sun May 05, 2013 05:40 PM
Found a better solution :



Best Regards
Uwe :-)
Since 1995 ( the first release of FW 1.9 )

i work with FW.

If you have any questions about special functions, maybe i can help.

Continue the discussion