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 » setters of Splitter should return Splitter& [ADDED]
setters of Splitter should return Splitter& [ADDED] [message #1653] Sat, 11 March 2006 17:06 Go to next message
hojtsy is currently offline  hojtsy
Messages: 241
Registered: January 2006
Location: Budapest, Hungary
Experienced Member
I would like to write code like:
splitter.Vert().SetPos(6000, 0).SetPos(3000, 1);
This would need the SetPos, Zoom, NoZoom, SetMin amd Set methods of Splitter to return Splitter&.

[Updated on: Sun, 30 April 2006 12:15] by Moderator

Report message to a moderator

Re: setters of Splitter should return Splitter& [message #1966 is a reply to message #1653] Wed, 29 March 2006 01:40 Go to previous messageGo to next message
fudadmin is currently offline  fudadmin
Messages: 1321
Registered: November 2005
Location: Kaunas, Lithuania
Ultimate Contributor
Administrator
hojtsy wrote on Sat, 11 March 2006 16:06

I would like to write code like:
splitter.Vert().SetPos(6000, 0).SetPos(3000, 1);
This would need the SetPos, Zoom, NoZoom, SetMin amd Set methods of Splitter to return Splitter&.


Please count my vote, too.
Re: setters of Splitter should return Splitter& [message #1974 is a reply to message #1966] Wed, 29 March 2006 10:59 Go to previous message
mirek is currently offline  mirek
Messages: 13975
Registered: November 2005
Ultimate Member
fudadmin wrote on Tue, 28 March 2006 18:40

hojtsy wrote on Sat, 11 March 2006 16:06

I would like to write code like:
splitter.Vert().SetPos(6000, 0).SetPos(3000, 1);
This would need the SetPos, Zoom, NoZoom, SetMin amd Set methods of Splitter to return Splitter&.


Please count my vote, too.



OK, there is nothing better that pleasing users the easy way Smile (Added).

Mirek
Previous Topic: add controls to splitter bar, how? [NEEDS MORE IMPLEMENTATION...]
Next Topic: Why Splitter::GetChildCount() is not public???- GetCount [SOLVED]
Goto Forum:
  


Current Time: Fri Mar 29 08:33:33 CET 2024

Total time taken to generate the page: 0.01783 seconds