Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 210826 - Enabled on NSButton seems to have no effect
Summary: Enabled on NSButton seems to have no effect
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 3.4   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: 3.4 M6   Edit
Assignee: Silenio Quarti CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-23 20:50 EST by Alex Blewitt CLA
Modified: 2009-06-04 14:54 EDT (History)
3 users (show)

See Also:


Attachments
Enables the button.enable to work (827 bytes, patch)
2007-11-23 20:52 EST, Alex Blewitt CLA
Silenio_Quarti: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Blewitt CLA 2007-11-23 20:50:19 EST
In the 'buttons' tab of 'controls example', selecting 'enabled' doesn't appear to toggle the button's enabled or not. Mind you, that's probably because the body is commented out:

void enableWidget (boolean enabled) {
//	int topHandle = stopHandle ();
//	if (enabled) {
//		OS.EnableControl (topHandle);
//	} else {
//		OS.DisableControl (topHandle);
//	}
}
Comment 1 Alex Blewitt CLA 2007-11-23 20:52:51 EST
Created attachment 83685 [details]
Enables the button.enable to work
Comment 2 Steve Northover CLA 2007-11-27 14:33:09 EST
Silenio fixed this when he fixed the spinner.
Comment 3 Kevin Barnes CLA 2008-02-28 10:53:16 EST
fixed