Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » mandatory text box
mandatory text box [message #897342] Mon, 23 July 2012 16:30 Go to next message
Deepak Sharma is currently offline Deepak Sharma
Messages: 1
Registered: July 2012
Junior Member
Hi,

I want to create a Text box which should have red asterisk at the top right corner to indicate that it is a mandatory field..

I can create a Text box using Text text = new Text(composite,SWT.BORDER) but how can i add red asterisk to indicate it as a mandatory field? pls help me. i am new to SWT
Re: mandatory text box [message #897365 is a reply to message #897342] Mon, 23 July 2012 19:21 Go to previous message
Jan Krakora is currently offline Jan Krakora
Messages: 477
Registered: December 2009
Location: Prague
Senior Member
Hi,

take a look at
http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Fguide%2Fjface_fieldassist.htm
Previous Topic:SWT Browser encoding
Next Topic:drag & drop: source and target are the same
Goto Forum:
  


Current Time: Wed Sep 17 17:41:17 GMT 2014

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

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