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: 3355
Registered: August 2008
Senior 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: 1789
Registered: August 2008
Location: Czech Republic
Ultimate 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 Mar 28 22:55:48 CET 2024

Total time taken to generate the page: 0.01519 seconds