Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » How to control the behavior of disabled widgets
How to control the behavior of disabled widgets [message #459582] Thu, 11 August 2005 16:18 Go to next message
James Leotta is currently offline James LeottaFriend
Messages: 202
Registered: July 2009
Senior Member
hello,

Is there a way to control the behavior of widgets when they are
disabled? I have a screen with many check boxes that are disabled until
the user presses edit yet I would want them to be clearly visible even
though the are disabled.

Thanks for any help.
Re: How to control the behavior of disabled widgets [message #459593 is a reply to message #459582] Thu, 11 August 2005 19:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sunil_kamath.nohotspammail.com

"James Leotta" <jleotta@bascom.com> wrote in message
news:ddftma$rh2$1@news.eclipse.org...
> hello,
>
> Is there a way to control the behavior of widgets when they are disabled?
> I have a screen with many check boxes that are disabled until the user
> presses edit yet I would want them to be clearly visible even though the
> are disabled.
>
How do you mean "clearly visible", for AFAIK, disabled widgets are
definitely visible.
---
Sunil
Re: How to control the behavior of disabled widgets [message #459604 is a reply to message #459582] Fri, 12 August 2005 07:41 Go to previous message
Stefan Langer is currently offline Stefan LangerFriend
Messages: 236
Registered: July 2009
Senior Member
This sounds not like a good idea. The user will be very confused if he
cannot select the checkboxes even though they look like they are
enabled. This might cause unwanted bug reports...

Maybe you should rethink your strategy as a whole if you want the
checkboxes enabled. Like not adding an Eventlistener to the checkboxes
until the user presses edit. That way the user can select the checkboxes
without any sideeffects. This ofcourse depends on your application.

Regards
Stefan

James Leotta wrote:
> hello,
>
> Is there a way to control the behavior of widgets when they are
> disabled? I have a screen with many check boxes that are disabled until
> the user presses edit yet I would want them to be clearly visible even
> though the are disabled.
>
> Thanks for any help.
Previous Topic:Looking for a widget to pick an int
Next Topic:Tab Items inside a viewer
Goto Forum:
  


Current Time: Wed Apr 24 21:32:23 GMT 2024

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

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

Back to the top