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?
How to align my buttons to bottom of window?
Regards,
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12
Hakan ONEMLI
Harbour & VS 2019 & FWH 20.12
- Antonio Linares
- Site Admin
- Posts: 37481
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- 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