Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » show advance options
show advance options [message #448044] Tue, 28 December 2004 21:12 Go to next message
Eclipse UserFriend
Originally posted by: emilio.davis.gmail.com

Hello...

I'm traying to make a dialog to get some imput. But i dont want to show
al the fields. I'd like to show something like "show advance options"
with a little trianble in it;s left side and when the user clicks in it,
a pannel shows/hides.... Is there a standar method to do that???

Excuse me, but english is not my mother language....

Thank you to all!!
Re: show advance options [message #448062 is a reply to message #448044] Thu, 30 December 2004 00:11 Go to previous message
Daniel Spiewak is currently offline Daniel SpiewakFriend
Messages: 263
Registered: July 2009
Senior Member
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="serif">Your English is fine, in fact, better than that of
many Americans I've met...<br>
<br>
Regardless, you should try creating a subclass of Composite and within
that subclass, placing a Button with style type SWT.ARROW | SWT.RIGHT
when the panel is hidden and SWT.ARROW | SWT.DOWN when the panel is
shown.&nbsp; This should give a fairly native feel on every platform.&nbsp; Then
you can catch the widgetSelected event and show the panel and switch
the Button(s).<br>
<br>
Daniel<br>
</font><br>
Emilio Davis wrote:
<blockquote cite="midcqsi43$6p6$1@www.eclipse.org" type="cite">Hello...
<br>
<br>
I'm traying to make a dialog to get some imput. But i dont want to show
al the fields. I'd like to show something like "show advance options"
with a little trianble in it;s left side and when the user clicks in
it, a pannel shows/hides.... Is there a standar method to do that???
<br>
<br>
Excuse me, but english is not my mother language....
<br>
<br>
Thank you to all!!
<br>
</blockquote>
</body>
</html>
Previous Topic:Adding a vertical line in text control
Next Topic:[TableViewer] Browsing large models
Goto Forum:
  


Current Time: Fri Sep 20 13:15:54 GMT 2024

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

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

Back to the top