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 » Developing U++ » U++ Developers corner » Proposed change to U++ to allow owning children.
Re: Proposed change to U++ to allow owning children. [message #31765 is a reply to message #31696] Fri, 25 March 2011 13:26 Go to previous messageGo to previous message
kohait00 is currently offline  kohait00
Messages: 939
Registered: July 2009
Location: Germany
Experienced Contributor
still interested in that topic?

i think having owned Ctrls just like that wont do much, since you have to know/reference the controls somehow/somewhere, you will end up traversing the child link tree, and doing dynamic_casts allover.

ultimate is heavily based on compile time connection of the application parts, means, if you have a Ctrl and place it somewehere, then you probably will hook up some static (not runtime specific) functionality to it, within your code.

a heap creation of Ctrls implys some sort of dynamic application behavior. for what the controls need to be fairly straight forward in handling, i.e. only Get/SetData interface unsing, only WhenAction Callback using, etc.. anything else is too specific.

i basicly have the same problem. that's why some time ago, i started the CtrlProp package in bazaar. a uniform api to query/control some properties of Controls, without actually knowing its type.

another project i am currently takling is the generation / modification of Controls in its position, a control factory so to say, which would be extended using *decorator* design pattern.
meanwhile see the CtrlPos package. which is part of it.

maybe thats sth you can use as well. see also FormEditor, which is another nice work, from someone else.

as soon as the ctrl factory is in a fitting shape i'll provide it in bazaar.

cheers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Get MAC addresses for windows and linux
Next Topic: Testing framework in U++.
Goto Forum:
  


Current Time: Tue May 14 19:49:36 CEST 2024

Total time taken to generate the page: 0.03072 seconds