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

Home » Public Forums » archive » Keyword bug in CW_BGROUP??
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: Keyword bug in CW_BGROUP?? [message #16256 is a reply to message #16207] Mon, 12 July 1999 00:00 Go to previous messageGo to previous message
Andrew Kraus is currently offline  Andrew Kraus
Messages: 7
Registered: May 1999
Junior Member
thanks for pointing out my misunderstanding. I was thinking that
"LABEL_TOP" would cause the individual button labels within the group to be
placed above the radio buttons, but I see that it is referring to the
lead-in question/label for the group. will edit cw_bgroup itself.


Richard G. French wrote in message <3786C824.FAD5E0CB@wellesley.edu>...
>
>
> Andrew Kraus wrote:
>>
>> Can anyone figure out what simple error I am making? The following code
...
>>
>> tlb=widget_base(title='Test', /column)
>> dims=['64','128','256','512','768','1024']
>> xbase=widget_base(tlb, /row)
>> xdim_id=cw_bgroup(xbase, dims, /exclusive, font='arial*14', $
>> /no_release, /return_index, /row, uvalue='xdim')
>> ybase=widget_base(tlb, /row)
>> ydim_id=cw_bgroup(ybase, dims, /label_left, /exclusive, font='arial*14',
$
>> /no_release, /return_index, /row, uvalue='ydim')
>> widget_control, tlb, /realize
>>
>> produces this error during execution...
>> % WIDGET_LABEL: String expression required in this context: LABEL_LEFT.
>>
>> i.e. it does not seem to like the keyword LABEL_LEFT. I get the same
error
>> with LABEL_TOP.
>>
>> I am running Windows v5.2 under Win95.
>>
>> Thanks for any feedback.
>>
>> AK
>
> You have to set LABEL_LEFT to the string value you want the label to be.
> Similar for LABEL_TOP. Try
> LABEL_TOP='Top label',LABEL_LEFT='must be left label'
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Array index bug....
Next Topic: Farewell USA!

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

Current Time: Sat Oct 11 11:22:20 PDT 2025

Total time taken to generate the page: 0.16724 seconds