Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] radio button group with no default selection


Maybe this snippet can help: http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet115.java

Carolyn


From: lukewpatterson <lukewpatterson@xxxxxxxxx>
To: platform-swt-dev@xxxxxxxxxxx
Date: 16/02/2010 05:01 PM
Subject: [platform-swt-dev] radio button group with no default selection
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx






sorry if duplicate, mailing list told me to resend after subscribing...

--------------------------------------------------------------------------
ok, I give up, hopefully someone can point me to a link and I'll be on my
way, what I want sounds simple enough, but I've been working on it with two
other team members for 4 hours now with no luck,

I want to create a reusable composite class that contains radio buttons and
I don't want any of them to be selected by default.  It seems that when a
shell is activated that contains radio buttons, the first radio button on
the page gets selected.  I found a partial answer here:
http://www.rhinocerus.net/forum/lang-java-gui/590377-swt-i-want-radio-buttons-not-initially-selected.html

that answer kinda works, but I don't want to mess up traversal, and I don't
want to add dummy buttons.  Is it the OS that is selecting a default? or
SWT?  How can I suppress that behavior or distinguish between OS noise and
actual user input?

Thanks,

Luke


swt 3.5, windows (i'm guessing part of the answer will involve the words
"windows 'feature'")
--
View this message in context:
http://old.nabble.com/radio-button-group-with-no-default-selection-tp27615353p27615353.html
Sent from the Eclipse Platform - swt mailing list archive at Nabble.com.

_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev




Back to the top