Skip to main content



      Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » style support by button widget
style support by button widget [message #721607] Fri, 02 September 2011 05:22 Go to next message
Eclipse UserFriend
hi all,
I am using button widget in my RAP Application
Button previous = new Button(parent,SWT.ARROW|SWT.LEFT);
I want to create paging in this button.
So is Arrow style supported in it??
Please help me to resolve it
Thanks in advance.
Smile
Re: style support by button widget [message #722325 is a reply to message #721607] Mon, 05 September 2011 07:42 Go to previous message
Eclipse UserFriend
Hi,

SWT.ARROW is a supported style for Button. You can see the Button class's javadoc for the list of supported style bits.
If you want to add some action to the arrow button when you click on it, you should add a Selection Listener to the button using button.addSelectionListener(SelectionListener listener).
Previous Topic:Exception in thread "AWT-AppKit" org.eclipse.swt.SWTException: Invalid thread access
Next Topic:Flat button inside toolbar
Goto Forum:
  


Current Time: Fri Jul 04 23:55:47 EDT 2025

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

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

Back to the top