Jump to content
Sign in to follow this  
Fudley

Alignment of group of controls

Recommended Posts

Say I have a TRectangle, and inside of it I have 5 TRectangles, and all are align=top.

 

How do I then change the order or them at design time? 

 

I've been using: copy all to clipboard, paste to a text editor, delete on the form, and then paste back in one at a time.

 

Is there a better way?

Share this post


Link to post

In Inspector, change the Top value of the panel you want to move. For example if you want the panel to be last, set its Top value to be higher than the Top value of the last panel.

Share this post


Link to post

Some additional options. You can view form or frame as text and doing the copy paste there. It is faster than doing it in the designer. Another way is aligning other panels to the bottom, and then aligning them back to top in order you want them.

  • Like 1

Share this post


Link to post
10 hours ago, dwrbudr said:

In Inspector, change the Top value of the panel you want to move. For example if you want the panel to be last, set its Top value to be higher than the Top value of the last panel.

Where can I find the Top value please?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×