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 » U++ Widgets - General questions or Mixed problems » Show() in .usc
Show() in .usc [message #31513] Tue, 08 March 2011 14:01 Go to next message
koldo is currently offline  koldo
Messages: 2948
Registered: August 2008
Veteran
Hello all

I would like to use void Ctrl::Show(bool) method in layout designer. It would be necessary to change it to return Ctrl&.

What do you think?


Best regards
IƱaki
Re: Show() in .usc [message #31514 is a reply to message #31513] Tue, 08 March 2011 15:21 Go to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1757
Registered: August 2008
Location: Czech Republic
Senior Contributor

koldo wrote on Tue, 08 March 2011 14:01

Hello all

I would like to use void Ctrl::Show(bool) method in layout designer. It would be necessary to change it to return Ctrl&.

What do you think?


Currently it returns void, right? I guess there should not be a problem if chaining is enabled. It should not break any existing code and it might make our life bit easier... IMHO it makes sense to have a possibility to hide a widget by default directly from layout editor Wink

Just a note: If this change is made then also Hide() should return &Ctrl for consistency...

Best regards,
Honza
Previous Topic: WithDropChoice like in Google bar
Next Topic: static Ctrl causes running failure
Goto Forum:
  


Current Time: Thu Apr 25 10:03:34 CEST 2019

Total time taken to generate the page: 0.01551 seconds