Hi,
I want to align my buttons (Ok, Cancel, Help) to bottom of Window (not dialog). when the window is resized, my buttons place should change.
In delphi, I put the Panel and set its alignment to bottom. I could not find anything like the panel (delphi).
Thanks,
How to align my buttons to bottom of window?
- Antonio Linares
- Site Admin
- Posts: 42519
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact:
Hakan,
FiveWin provides a Class TPanel and also provide auto alignment using oWnd:oTop, oWnd:oLeft, oWnd:oBottom, oWnd:oRight and oWnd:oClient
so if you create a panel and assign it to oWnd:oBottom, it will automatically resize and when the main window is resized
but you can also do as Quique tells you, simple change the oButton:nTop and oButton:nLeft from the ON RESIZE clause of the window
FiveWin provides a Class TPanel and also provide auto alignment using oWnd:oTop, oWnd:oLeft, oWnd:oBottom, oWnd:oRight and oWnd:oClient
so if you create a panel and assign it to oWnd:oBottom, it will automatically resize and when the main window is resized
but you can also do as Quique tells you, simple change the oButton:nTop and oButton:nLeft from the ON RESIZE clause of the window