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   |
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 )
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?
|
|
|
 |
|
List of custom controls, how?
By: crydev on Mon, 05 November 2012 12:35
|
 |
|
Re: List of custom controls, how?
|
 |
|
Re: List of custom controls, how?
By: mirek on Mon, 05 November 2012 19:50
|
 |
|
Re: List of custom controls, how?
By: crydev on Mon, 05 November 2012 21:48
|
 |
|
Re: List of custom controls, how?
By: crydev on Wed, 07 November 2012 10:02
|
 |
|
Re: List of custom controls, how?
|
 |
|
Re: List of custom controls, how?
By: crydev on Thu, 08 November 2012 09:29
|
 |
|
Re: List of custom controls, how?
|
 |
|
Re: List of custom controls, how?
By: crydev on Tue, 27 November 2012 17:33
|
 |
|
Re: List of custom controls, how?
|
 |
|
Re: List of custom controls, how?
By: crydev on Wed, 28 November 2012 08:20
|
Goto Forum:
Current Time: Sat Jun 07 01:22:43 CEST 2025
Total time taken to generate the page: 0.04183 seconds
|