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

Home » Public Forums » archive » WIDGET_TABLE does not allow editing
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
WIDGET_TABLE does not allow editing [message #14874] Fri, 02 April 1999 00:00 Go to next message
winslow is currently offline  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 Go to previous message
Pavel Romashkin is currently offline  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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Transparent error handling Was: GLOBAL styles
Next Topic: Object Oriented programming question

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

Current Time: Wed Oct 08 18:07:23 PDT 2025

Total time taken to generate the page: 0.00483 seconds