How to add Dynamic GUI components [message #461381] |
Wed, 21 September 2005 16:03 |
Eclipse User |
|
|
|
Originally posted by: mtk1.cdc.gov
HI ,
I am new to SWT. Can anybody please help me out with this? I need to implement the following
Group A
text t1
text t2
List l1
Check Box c1, c2 c3
//Group A ends
Button "Add New"
Clicking on "Add New" paints the following
Group A //with in Group A
text t1_1
text t2_1
List list1_1
Check Box c1_1, c2_1 c3_1
text t1_2
text t2_2
List list1_2
Check Box c1_2, c2_2 c3_2
All the feilds should be editable.
Thanks,
Malini
|
|
|
Re: How to add Dynamic GUI components [message #461383 is a reply to message #461381] |
Wed, 21 September 2005 16:27 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Do you mean replace Group A with the other Group A, or add to the end of
Group A the new Group A?
Malini wrote:
> HI ,
> I am new to SWT. Can anybody please help me out with this? I need to implement the following
>
> Group A
> text t1
> text t2
> List l1
> Check Box c1, c2 c3
>
> //Group A ends
> Button "Add New"
>
> Clicking on "Add New" paints the following
>
> Group A //with in Group A
> text t1_1
> text t2_1
> List list1_1
> Check Box c1_1, c2_1 c3_1
>
> text t1_2
> text t2_2
> List list1_2
> Check Box c1_2, c2_2 c3_2
>
>
> All the feilds should be editable.
>
> Thanks,
> Malini
--
Thanks,
Rich Kulp
|
|
|
|
Re: How to add Dynamic GUI components [message #461389 is a reply to message #461385] |
Wed, 21 September 2005 17:51 |
Eclipse User |
|
|
|
Originally posted by: richkulp.us.NO_SPAM.ibm.com
Just add them in the same way you added the rest and then do,
I'm assuming you are at Eclipse 3.1 and 3.0):
group.layout(new Control[] {all of the controls you just created});
Malini wrote:
> I would like to append new text and combo fields with in Group A.
--
Thanks,
Rich Kulp
|
|
|
Powered by
FUDForum. Page generated in 0.03372 seconds