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 #16264 is a reply to message #16207] Sat, 10 July 1999 00:00 Go to previous message
Richard G. French is currently offline  Richard G. French
Messages: 65
Registered: June 1997
Member
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: Wed Oct 08 19:12:59 PDT 2025

Total time taken to generate the page: 0.00407 seconds