comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: cw_bggroup
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: cw_bggroup [message #19495] Wed, 22 March 2000 00:00
cjengo is currently offline  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 Go to previous message
cjengo is currently offline  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.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: testing posting
Next Topic: cw_bggroup

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 18:39:06 PDT 2025

Total time taken to generate the page: 0.00645 seconds