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

Home » Public Forums » archive » SET_VALUE for WIDGET_TABLE seem to be ignored - any ideas why?
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
SET_VALUE for WIDGET_TABLE seem to be ignored - any ideas why? [message #85442] Wed, 07 August 2013 00:13
LNpellen is currently offline  LNpellen
Messages: 37
Registered: November 2009
Member
I have created a lot of WIDGET_TABLEs previously, but with the application I'm working on now I struggle with the WIDGET_CONTROL... SET_VALUE.

I have this table defined:
wTable=WIDGET_TABLE(bList, XSIZE=5, YSIZE=100, SCR_YSIZE=500, ALIGNMENT=1, /ALL_EVENTS, COLUMN_LABELS=['a','b','c','d','e'], COLUMN_WIDTHS=[160,80,80,80,80])

If I try to populate this table with anything:

test=strarr(5,100) & test(0,0)='test1' & test(0,1)='test2'
WIDGET_TABLE, wTable, SET_VALUE=test

or like I actually want to

WIDGET_CONTROL, wTable, USE_TABLE_SELECT=[0,0,0,N_ELEMENTS(prof.legend)-1], SET_VALUE=TRANSPOSE(prof.legend)

The table is blank visually, but if I do GET_VALUE I see that the table is filled as I wanted.

I've also teste to set the background/foreground color and that work visually.

Any idea what is going on here.
I'd say I have created this table the same way I always do and it use to work...

Best regards
Ellen
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Poly_Fit
Next Topic: Why my IDL7.1 can't be used on win7 64bit OS. always idlde.exe stops the program?

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

Current Time: Wed Oct 08 11:39:26 PDT 2025

Total time taken to generate the page: 0.00540 seconds