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

Home » Public Forums » archive » Re: Base Widget PostCreation 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
Re: Base Widget PostCreation event [message #21944 is a reply to message #21941] Thu, 05 October 2000 00:00 Go to previous messageGo to previous message
Marcus O'Brien is currently offline  Marcus O'Brien
Messages: 16
Registered: October 2000
Junior Member
Hi,

The base widget is intended to be a reusable array sorting dialog for MR
Images. It is called from an event occurring in its group leader base widget,
and passed the image array by UVALUE at that time. Once the base widget is
called I want it to examine the array and initialize various aspects of the
dialog according to information gleaned. My approach to this has been to look
for a widget event like OnCreation or OnActive (I've previously used these to
initialize dialogs in motif) to start the initialization process.

Thinking about it, OnCreate is the wrong place for the initialization and an
OnActive or OnMapped event would be the point where the widget had enough
information to tailor itself for use.

Widget_Control, /Send_event may well work.

Do widgets in idl still generate the same events as the underlying OS
widgets. Is it just that Xmanager only picks up idl supported events?

Sorry if this is still unclear, but the RSI documentation on PostCreation led
me to believe that an event was generated after widget creation and all I
needed was to know the tag name to plug into the event handler.

Thanks

Marc

Pavel Romashkin wrote:

> I am sorry, I can't quite figure out what exactly do you want to do. Why
> do you have to have an OnCreate definition? Why not place the code to
> initialise a base widgets properties in your code, on the line *after*
> you create the widget - this would be an "after created" initialization.
> Also, Widget_Control, /Send_event may help if what you want is performed
> in your event handler.
> I wish I could be of more help but the task you are after is not clear
> to me. Give us some detail!
> Cheers,
> Pavel
>
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: storing ASCII_TEMPLATE templates for later use
Next Topic: Re: IDL PV-WAVE

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

Current Time: Sun Oct 12 04:34:05 PDT 2025

Total time taken to generate the page: 1.44223 seconds