Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Insert a text box in between a composite from super class
Insert a text box in between a composite from super class [message #1777988] Thu, 07 December 2017 11:07
prateek garg is currently offline prateek gargFriend
Messages: 16
Registered: August 2016
Junior Member
Hello,

I have a problem at hand of which I am not able to find a solution.
I have a class which creates a dialog box and it extends from a class which creates another dialog finally inheriting from Dialog.class

The parent dialog has 2 text fields.

I have done something like this :

@Override
protected Control createDialogArea(Composite parent) {
// TODO Auto-generated method stub
Composite composite = (Composite) super.createDialogArea(parent);
....
....
}

I want to add a text field in between the 2 text fields that I get in the dialog of parent.

How should I go ahead?
I have used moveAbove() and moveBelow(), but it either adds the new text field on top of both or below it.
Previous Topic:When will i get "SWT_Window1" or "SWT_Window2" as class name for objects ?
Next Topic:How to call OLE interface with LPWSTR
Goto Forum:
  


Current Time: Fri Apr 26 06:02:30 GMT 2024

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

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

Back to the top