Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SashForm events when dragging the sash?
SashForm events when dragging the sash? [message #546775] Wed, 14 July 2010 07:58 Go to next message
Alexey Romanov is currently offline Alexey RomanovFriend
Messages: 263
Registered: May 2010
Senior Member
I want to detect when one of the children of a SashForm gets maximized or stops being maximized (so that an action can change text from "Hide error panel" to "Show error panel" or vice versa). However, there are no events listed in the SashForm API page. Is there a way to get a reference to the Sash (in which case I could handle its Selection event) or is it better to handle ControlResized in one of the children?
Re: SashForm events when dragging the sash? [message #547554 is a reply to message #546775] Sun, 18 July 2010 19:36 Go to previous messageGo to next message
Lakshmi P ShanmugamFriend
Messages: 279
Registered: July 2009
Location: India
Senior Member
Hi,

SashForm is a Composite. So, you can get all its children by SashForm.getChildren(). This will return the controls and the sash(es) in the SashForm.

HTH,



Lakshmi P Shanmugam
Re: SashForm events when dragging the sash? [message #547556 is a reply to message #546775] Sun, 18 July 2010 19:44 Go to previous message
Alexey Romanov is currently offline Alexey RomanovFriend
Messages: 263
Registered: May 2010
Senior Member
That makes sense, thanks!
Previous Topic:Re: Integrating C++ GUI toolkit into RCP application?
Next Topic:Problems with Images on StyledText on SnowLeopard
Goto Forum:
  


Current Time: Fri Apr 19 06:13:57 GMT 2024

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

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

Back to the top