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 
Return to the default flat view Create a new topic Submit Reply
WIDGET_TABLE does not allow editing [message #14874] Fri, 02 April 1999 00:00 Go to previous 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,
[Message index]
 
Read Message
Read Message
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: Thu Oct 09 21:37:53 PDT 2025

Total time taken to generate the page: 0.95669 seconds