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

Home » Public Forums » archive » Trouble with CW_BGROUP events
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Trouble with CW_BGROUP events [message #49065 is a reply to message #48992] Tue, 13 June 2006 15:58 Go to previous messageGo to previous message
Andrew Cool is currently offline  Andrew Cool
Messages: 219
Registered: January 1996
Senior Member
Phillip Bitzer wrote:
> Thanks, everything works great now. Curious, why does cw_bgroup return
> 0 or 1 as the value? I was under the impression that if you specify the
> button_uvalue keyword, then the corresponding value would be returned
> (here 1 or 2).

Phillip,

Perhaps this might be better.

Remove the button_uValue, and insert /Return_Name

numCCDID = CW_BGROUP(tabAngID,['1','2(Default)'],$
/exclusive,set_value=1,$

uvalue='numofCCDs',/no_release,/frame,/return_name)

Then your Case statement can select on event.value as either '1' or
'2(Default)'

It's almost a case of CW_BGroup being over-optioned...

Andrew
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: is there a function or command in IDL like the "bitget" in matlab?
Next Topic: Re: is there a function or command in IDL like the "bitget" in matlab?

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

Current Time: Sat Oct 11 02:33:53 PDT 2025

Total time taken to generate the page: 0.64228 seconds