Home » U++ Library support » U++ Widgets - General questions or Mixed problems » ArrayCtrl with labels / layouts inside ?
Re: ArrayCtrl with labels / layouts inside ? [message #12896 is a reply to message #12894] |
Mon, 26 November 2007 20:07   |
Oblivion
Messages: 1210 Registered: August 2007
|
Senior Contributor |
|
|
Interesting. Which version of U++ do you use?
As of Upp 711b, there should be a:
SetCtrl(int iž int colž Ctrl& ctrlž bool value = true)
You can use this instead.
Ps: If you allocate Button from the stack (e.g. Button bt), try not to "declare" it inside the same method.
And, as far as I know, you have to "Add" something before you can "append" or "set" a ctrl seperately in an ArrayCtrl.
Eg,
Button *bt = new Button();
bt->SetLabel("Test");
myArray.AddColumn("Column1");
myArray.Add("");
myArray.SetCtrl(0, 0, bt);
Or/And
Button *bt = new Button();
bt->SetLabel("Test");
myArray.AddColumn("Column1");
myArray.AddColumn("Column2");
myArray.Add("This is a text");
myArray.SetCtrl(0, 1, bt);
should work.
Github page: https://github.com/ismail-yilmaz
upp-components: https://github.com/ismail-yilmaz/upp-components
Bobcat the terminal emulator: https://github.com/ismail-yilmaz/Bobcat
|
|
|
 |
|
ArrayCtrl with labels / layouts inside ?
By: jiaif on Sun, 25 November 2007 19:23
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: jiaif on Sun, 25 November 2007 19:49
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: mirek on Sun, 25 November 2007 21:24
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: jiaif on Sun, 25 November 2007 22:07
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: mirek on Mon, 26 November 2007 09:07
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: jiaif on Mon, 26 November 2007 17:03
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: Oblivion on Mon, 26 November 2007 18:06
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: jiaif on Mon, 26 November 2007 18:32
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: Oblivion on Mon, 26 November 2007 18:55
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: jiaif on Mon, 26 November 2007 19:18
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: Oblivion on Mon, 26 November 2007 20:07
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: jiaif on Mon, 26 November 2007 20:26
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: mirek on Mon, 26 November 2007 22:16
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: jiaif on Tue, 27 November 2007 00:28
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: jiaif on Tue, 27 November 2007 12:13
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: mrjt on Tue, 27 November 2007 12:52
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: jiaif on Tue, 27 November 2007 12:57
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: Oblivion on Tue, 27 November 2007 19:43
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: jiaif on Tue, 27 November 2007 21:36
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: Oblivion on Tue, 27 November 2007 22:10
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: mirek on Tue, 27 November 2007 22:57
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: jiaif on Wed, 28 November 2007 18:59
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: jiaif on Wed, 28 November 2007 19:24
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: Oblivion on Wed, 28 November 2007 22:27
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: mirek on Thu, 29 November 2007 05:49
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: mrjt on Thu, 29 November 2007 13:57
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: mirek on Tue, 04 December 2007 09:39
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: jiaif on Thu, 06 December 2007 18:25
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: jiaif on Thu, 06 December 2007 19:15
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: jiaif on Tue, 27 November 2007 12:54
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: mirek on Tue, 27 November 2007 22:55
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: Novo on Thu, 06 December 2007 20:29
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: waxblood on Fri, 07 December 2007 11:28
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: Novo on Fri, 07 December 2007 18:31
|
 |
|
Re: ArrayCtrl with labels / layouts inside ?
By: jiaif on Sat, 08 December 2007 00:56
|
Goto Forum:
Current Time: Sun Jun 08 20:38:54 CEST 2025
Total time taken to generate the page: 0.04125 seconds
|