state = WIDGET_INFO( button, /BUTTON_SELECT ) [message #10494] |
Wed, 10 December 1997 00:00 |
Alex Schuster
Messages: 124 Registered: February 1997
|
Senior Member |
|
|
Hi!
WIDGET_INFO does not know this keyword. I think it should, what about
you? As I see it there is no possibility to find out whether a
nonexclusive button is selected or not.
Okay, this is not really a problem. I either use CW_BGROUP, or I assign
an event handler, and whenever the button is pressed / released, I store
event.select in the widget's uvalue. But shouldn't this be done easier?
And did anyone yet need WIDGET_CONTROL, GET_VALUE to get the _text_ of a
button?
Or am I, as so often, just missing something?
Just wondering,
Alex
--
Alex Schuster Wonko@weird.cologne.de PGP Key available
alex@pet.mpin-koeln.mpg.de
|
|
|