Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » style support by button widget
style support by button widget [message #721607] Fri, 02 September 2011 09:22 Go to next message
marie Missing name is currently offline marie Missing nameFriend
Messages: 63
Registered: March 2011
Member
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 11:42 Go to previous message
Lakshmi P ShanmugamFriend
Messages: 279
Registered: July 2009
Location: India
Senior Member
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).


Lakshmi P Shanmugam
Previous Topic:Exception in thread "AWT-AppKit" org.eclipse.swt.SWTException: Invalid thread access
Next Topic:Flat button inside toolbar
Goto Forum:
  


Current Time: Tue Apr 23 11:28:32 GMT 2024

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

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

Back to the top