Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » Splitter » how programatically change widths/heights of splitted controls? [SOLVED]
how programatically change widths/heights of splitted controls? [SOLVED] [message #1939] Tue, 28 March 2006 12:37 Go to next message
fudadmin is currently offline  fudadmin
Messages: 1298
Registered: November 2005
Location: London, UK
Senior Contributor
Administrator
how programatically change widths/heights of splitted controls, if I have e.g
...
		horz.Add(tree);
		horz.Add(array);
		horz.Add(editor);
		
		Add(horz.Horz().VSizePos(35,35));
...

[Updated on: Wed, 29 March 2006 15:30]

Report message to a moderator

Re: how programatically change widths/heights of splitted controls? [message #1941 is a reply to message #1939] Tue, 28 March 2006 13:06 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 13311
Registered: November 2005
Ultimate Member
Splitter::SetPos

However, note that argument should 0..10000, expressing the portion of maximum size.

Mirek
Re: how programatically change widths/heights of splitted controls? [message #1943 is a reply to message #1941] Tue, 28 March 2006 14:25 Go to previous message
fudadmin is currently offline  fudadmin
Messages: 1298
Registered: November 2005
Location: London, UK
Senior Contributor
Administrator
Thanks Mirek.
Stupid me! Position is not width!
		horz.SetPos(2000,0);
		horz.SetPos(3000,1); //was 2000...
Previous Topic: Splitter: how to set some contraints on its children?
Next Topic: add controls to splitter bar, how? [NEEDS MORE IMPLEMENTATION...]
Goto Forum:
  


Current Time: Wed May 12 08:11:09 CEST 2021

Total time taken to generate the page: 0.01653 seconds