Skip to main content



      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 12:18 Go to next message
Eclipse UserFriend
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 15: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 03:41 Go to previous message
Eclipse UserFriend
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: Mon Jul 07 09:11:41 EDT 2025

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

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

Back to the top