Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » detect drag in SashForm
detect drag in SashForm [message #384676] Mon, 10 November 2003 14:47 Go to next message
Eclipse UserFriend
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 08:50 Go to previous messageGo to next message
Eclipse UserFriend
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 12:56 Go to previous message
Eclipse UserFriend
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: Mon Jul 07 19:49:58 EDT 2025

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

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

Back to the top