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 » List of custom controls, how?
Re: List of custom controls, how? [message #37735 is a reply to message #37726] Wed, 07 November 2012 10:02 Go to previous messageGo to previous message
crydev is currently offline  crydev
Messages: 151
Registered: October 2012
Location: Netherlands
Experienced Member
crydev wrote on Mon, 05 November 2012 21:48

Thanks dolik.rce, I see what u mean and it is easy for me to understand. I see how easy it can be. However, there is one more issue for me. The control and the way I should code them is clear to me, but how should I do the container?

The way I thought it out I'd use a ParentCtrl as container. I tried this out, but I think there is more I will have to do as just adding them to a ParentCtrl does not work. (This is not because I am so stupid that I didn't expect it not to work, just because I wanted to know what would happen Embarassed )

Could you help me out with the parent/container control?


Ok I found a ColumnList for Ctrl's. I tested it with standard controls and it works! However, when I try to add my own controls it draws a scrollbar, but it doesn't draw any of my controls.

- Why does it not draw itself? I tried to inherit from Ctrl and ParentCtrl.
- The thread in which the CtrlColumnList was posted also has posts stating that the idea to implement this functionality into the existing ColumnList or ArrayCtrl could be worked out. I have found functions like Add(Ctrl&/* ctrl) in these controls so can I assume the extra code for the CtrlColumnList would not be nessecary anymore?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Control refresh time
Next Topic: VScrollBar in a StaticText
Goto Forum:
  


Current Time: Sat Jun 07 01:22:43 CEST 2025

Total time taken to generate the page: 0.04183 seconds