WIDGET_TABLE does not allow editing [message #14874] |
Fri, 02 April 1999 00:00  |
winslow
Messages: 2 Registered: April 1999
|
Junior Member |
|
|
Hello -- I'm having a quite irritating problem with WIDGET_TABLE
(IDL 5.0, MAC). The table gets created easily, and then won't allow the
values to be changed. The EDITABLE keyword is set, etc., as I would do
successfully for other widget types. An borrowed example program (which
does not allow editing) is
PRO TABLE_EVENT, event
Print, 'In TABLE_EVENT event handler'
END
PRO TABLE
tlb = Widget_Base(Column=1)
values= Findgen(10)
values = Reform(values, 1, 10)
tableID = WIDGET_TABLE(tlb,/editable,/all_events, XSize=1, YSize=10, $
Value=values)
Widget_Control, tlb, /Realize
XManager, 'table', tlb, /No_Block
END
I am aware that it may not return events set this way, but I cannot even
change the values on the widget panel itself.
Sorry if this is an obvious problem -- I have 3 days widget experience,
and would like to use a program next week. I wrote the current version to
eliminate CW_FORM in favor of WIDGET_TABLE for aesthetic reasons, but have
been unable to solve this admittedly stupid problem.
Thanks,
|
|
|
Re: widget_table [message #15217 is a reply to message #14874] |
Mon, 26 April 1999 00:00  |
Pavel Romashkin
Messages: 166 Registered: April 1999
|
Senior Member |
|
|
Not that I could find. You either have both or none. I tried all kinds
of tricks but in vain.
Not only that - ...TABLE XSIZE=... does not work the same across
platforms, and on my PC the number of columns is not controlled by this
setting.
> Is it possible to switch off the column or row labels.
> Not at all both.
Sorry,
Pavel
|
|
|