Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to add Dynamic GUI components
How to add Dynamic GUI components [message #461381] Wed, 21 September 2005 16:03 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #461385 is a reply to message #461383] Wed, 21 September 2005 16:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: mtk1.cdc.gov

I would like to append new text and combo fields with in Group A.
Re: How to add Dynamic GUI components [message #461389 is a reply to message #461385] Wed, 21 September 2005 17:51 Go to previous message
Eclipse UserFriend
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
Previous Topic:Problem with Spinner
Next Topic:Tree with Columns
Goto Forum:
  


Current Time: Thu Jun 20 05:30:54 GMT 2019

Powered by FUDForum. Page generated in 0.01868 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top