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

Home » Public Forums » archive » widgets and objects
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
widgets and objects [message #10192] Thu, 30 October 1997 00:00 Go to previous message
Matthew Hanson is currently offline  Matthew Hanson
Messages: 11
Registered: October 1997
Junior Member
Hello all,
I am trying to figure out widgets and I don't know if what i am trying
to do is even possible - maybe it's just the wrong way to go about it.
I have an object, during the initialization of that object I have a
widget come up that has some checkboxes and an OK button for the use to
select some choices during initialization. The choices available are
dependent on data files read in during initialization and affects what
happens next in initialization (data is being read in and the way it is
organized is based on the users choices).
Where i am encountering problems is when i call xmanager is still
continues with initialization. Do i even want to call xmanager? And
how do i pass back the choices that the user chose? I have it set up to
call an event when the OK button is pressed. If the choices are valid
in the checkboxes it closes the widget and returns the choices to the
initialization. There doesn't seem to be an easy way to pass variables
around with widget events. Is the only way to do this is by using
UVALUE? It looks as if you have to set UVALUE to some variable
(structure, vari, or otherwise) and you can then retrieve and set it
during the event procedure. But then how can i retrieve it later? When
the widget comes up the initialization function finishes. Then the
variables that hold the choices go out of scope and are inaccessible to
any other procedure.
Do i have this all wrong?
-matt

--
Matthew Hanson

KTAADN, Inc. Phone: (617)527-0054
1320 Centre Street, Suite 201 Fax: (617)527-9321
Newton, MA 02159

matt@ktaadn.com matth@who.net vroomfogle@worldnet.att.net
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SPC functions or plots
Next Topic: Re: grey scale

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

Current Time: Thu Oct 09 21:05:08 PDT 2025

Total time taken to generate the page: 0.96473 seconds