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

Home » Public Forums » archive » Objects and Widgets
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Objects and Widgets [message #19933] Tue, 09 May 2000 00:00 Go to previous message
Mark Guagenti is currently offline  Mark Guagenti
Messages: 14
Registered: May 2000
Junior Member
I am trying to learn how to use objects and widgets together and I have
ran across a question for all of you. When I am creating a widget button
such as:

openID = Widget_Button(fileID, Value='Open...', Event_Pro='XPU_RI_Open')

Do I have to make a procedure XPU_RI_Open such as:

PRO XPU_RI_Open, event
Widget_Control, event.top, Get_UValue=info, /No_Copy

info.obj->open

Widget_Control, event.top, Set_UValue=info, /No_Copy
END

How come you can't call the object method directly from Event_Pro? Since
I will be using a lot of methods will I always have to make a procedures
to call them? Thanks for the help.


-- Mark

Grace and peace to you from God our Father and the Lord Jesus Christ.
1 Cor. 1:3
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Avoid loop in matrix operation
Next Topic: reading data from file

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

Current Time: Wed Oct 08 19:14:47 PDT 2025

Total time taken to generate the page: 0.00514 seconds