Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » detect drag in SashForm
detect drag in SashForm [message #384676] Mon, 10 November 2003 19:47 Go to next message
Michael Xia is currently offline Michael XiaFriend
Messages: 119
Registered: July 2009
Senior Member
What listener/event should I use to get notified when users drag the sash
left and right in a SashForm? Thanks!

Regards,
Michael
Re: detect drag in SashForm [message #384727 is a reply to message #384676] Tue, 11 November 2003 13:50 Go to previous messageGo to next message
Veronika Irvine is currently offline Veronika IrvineFriend
Messages: 1272
Registered: July 2009
Senior Member
You can not listen for the drags directly. You can only listen for resize
events on the children.

Since SashForm handles the resizing of the children and manages the
underlying sashes, it is not clear to me why you need to detect the dragging
of a sash yourself. Perhaps SashForm is not what you want and instead you
should manage your own Sash widgets.


"Michael Xia" <yun@rti.com> wrote in message
news:booq11$gqf$1@eclipse.org...
> What listener/event should I use to get notified when users drag the sash
> left and right in a SashForm? Thanks!
>
> Regards,
> Michael
>
>
Re: detect drag in SashForm [message #385334 is a reply to message #384727] Tue, 11 November 2003 17:56 Go to previous message
Michael Xia is currently offline Michael XiaFriend
Messages: 119
Registered: July 2009
Senior Member
Thanks! I see what I need to do.

Michael

Veronika Irvine wrote:

> You can not listen for the drags directly. You can only listen for resize
> events on the children.

> Since SashForm handles the resizing of the children and manages the
> underlying sashes, it is not clear to me why you need to detect the dragging
> of a sash yourself. Perhaps SashForm is not what you want and instead you
> should manage your own Sash widgets.


> "Michael Xia" <yun@rti.com> wrote in message
> news:booq11$gqf$1@eclipse.org...
> > What listener/event should I use to get notified when users drag the sash
> > left and right in a SashForm? Thanks!
> >
> > Regards,
> > Michael
> >
> >
Previous Topic:Combo Question
Next Topic:coloring table rows
Goto Forum:
  


Current Time: Fri Sep 20 14:54:57 GMT 2024

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

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

Back to the top