Recent

Author Topic: Panels & Buttons  (Read 990 times)

Petrus Vorster

  • Full Member
  • ***
  • Posts: 241
Panels & Buttons
« on: August 29, 2024, 11:45:05 am »
Hi All

I have 5 Tspeedbuttons at the base of a form (Image attached).
How do I keep those 5 buttons in the center of the form when it resizes?
Keeping the exact spaces etc?

Panels, Flowpanels or some other means?
I have read a number of discussions, but cannot get them to properly keep them centered in relation to the form.

I know you must have a control for that.  :)

Regards;

Peter

wp

  • Hero Member
  • *****
  • Posts: 13486
Re: Panels & Buttons
« Reply #1 on: August 29, 2024, 11:54:24 am »
Use the anchor editor: Anchor the center button (#3) to the (horizontal) center of the form. Anchor the left side of button#4 to the right side of button #3, and the left side of button #5 to the right side of button #4. Then repeat in reverse for buttons #2 and #1.

Petrus Vorster

  • Full Member
  • ***
  • Posts: 241
Re: Panels & Buttons
« Reply #2 on: August 29, 2024, 01:07:20 pm »
That simple.

Thanks mate.

-Peter

 

TinyPortal © 2005-2018