Re: cw_bggroup [message #19495] |
Wed, 22 March 2000 00:00 |
cjengo
Messages: 28 Registered: June 1999
|
Junior Member |
|
|
Oops, just realized you probably want to set the default button for
normal (not exclusive or nonexclusive) cw_bgropu. Unfortunately, I
never use it that way, so I dunno. Sorry...
Chris
Sent via Deja.com http://www.deja.com/
Before you buy.
|
|
|
Re: cw_bggroup [message #19496 is a reply to message #19495] |
Wed, 22 March 2000 00:00  |
cjengo
Messages: 28 Registered: June 1999
|
Junior Member |
|
|
In article <38D8A762.82DCB02@ehma.upc.es>,
Miguel =?iso-8859-1?Q?=C1ngel=20C=F3rdoba?= <cordoba@ehma.upc.es> wrote:
> Hi, I'm using cw_bggroup and I don't know how to set the
> default press button.
>
> Thanks, and sorry for my bad english.
>
> --
Try something like:
result = CW_BGROUP(base, ['Button 1','Button 2','Button 3'],
/nonexclusive, set_value=[0,0,1])
where 0 is unset and 1 is set, or
result = CW_BGROUP(base, ['Button 1','Button 2','Button 3'],
/exclusive, set_value=0)
where the value is the button to set. You can then change the settings
with widget_control and set_value.
Chris
_______________________________________
Chris Jengo - Senior Imaging Scientist
Earth Satellite Corp. - Rockville, MD
cjengo@earthsat.com
Sent via Deja.com http://www.deja.com/
Before you buy.
|
|
|