Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

moving splitter/resizing panels programatically

Status
Not open for further replies.

vincer

Programmer
Mar 12, 2002
45
GB
Hello,
Is it possible to move a splitter component and hence it's aligned panels.
I have tried splitter1.left := splitter1.Left + 1 but it has no effect.

Thanks

Vince
 
You must instead re-width the panel. I created a form with Panel1, aligned alLeft, Splitter1, and Panel2, aligned alClient. Going:
Code:
  Panel1.Width := Panel1.Width + 1;
then has the effect you seek. -- Doug Burbidge mailto:dougburbidge@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top