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 » ArrayCtrl, HeaderCtrl & GridCtrl » how to set/get data in a composite embedded ctrl in an arrayctrl
Re: how to set/get data in a composite embedded ctrl in an arrayctrl [message #3118 is a reply to message #3116] Sun, 07 May 2006 22:06 Go to previous message
mirek is currently offline  mirek
Messages: 14266
Registered: November 2005
Ultimate Member
Quote:


I think that the elegance can stay at second place if one can dispose of such powerful method that resolve many (all?) kind of problems with embedded ctrl.



Yes, the only problem is that sometimes there exists elegant solution...

E.g. in this case, other interface solution I am considering is to alternatively pass

Array<T>

to the "Ctrls" method,

void Ctrls<T>(Array<T>& ctrls);

so that ArrayCtrl would create its stuff in the place you have "external" access to. This way, downcasts would not be necessary.

OTOH, current inteface cannot be now removed (that is why I am always afraid when creating new stuff....), so Ctrl *GetCtrl method addition is very likely...

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ArrayCtrl cell consisting of edit and helper button
Next Topic: ArrayCtrl cell color
Goto Forum:
  


Current Time: Fri Jul 18 02:23:18 CEST 2025

Total time taken to generate the page: 0.04114 seconds