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

Home » Public Forums » archive » IDL 7.0 (Windows version) - widget_table does not generate expected event
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
IDL 7.0 (Windows version) - widget_table does not generate expected event [message #66281] Wed, 06 May 2009 04:48 Go to previous message
bkaifler is currently offline  bkaifler
Messages: 2
Registered: May 2009
Junior Member
I would like to have widget_table generate an insert character event
without changing the contents of the widget. Keyword ALL_EVENTS is
set, but the event handler is not called. Here is a simple test:

pro table_eh, event
print, 'event'
end

pro test
tlb_id = widget_base()
base_id = widget_base(tlb_id)

data = [[indgen(5)],[indgen(5)]]
table_id = widget_table(base_id, VALUE=data, /ALL_EVENTS, $
EVENT_PRO='table_eh')

widget_control, tlb_id, /REALIZE
xmanager, 'gui', tlb_id
end


I tested this program with IDL 6.4 (Linux version) and it behaves as
expected. The help page for widget_table does not mention any changes
in IDL 7.0. What am I missing?

Thanks for your attention

Bernd
[Message index]
 
Read Message
Read Message
Previous Topic: Re: How to judge a Function's parameters ?
Next Topic: best image plotting routine

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

Current Time: Wed Oct 08 17:02:32 PDT 2025

Total time taken to generate the page: 0.00454 seconds