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

Home » Public Forums » archive » XMANAGER: How many times to call?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
XMANAGER: How many times to call? [message #12965] Tue, 22 September 1998 00:00
rmlongfield is currently offline  rmlongfield
Messages: 68
Registered: August 1998
Member
Hi All,
I have a row of images and I want to choose one of them to do some analysis.
To make it clear which one I am analyzing, I place a label underneath with
'ACTIVE' when I click on the image.

My question is, I have to call XMANAGER once to control the
widget_base. The children of this base are widget_draw (with button_events
and an event_pro keyword ) and the widget_label (also with an event_pro
keyword set). This label event is supposed to recieve a pseudo event from
the draw_widget event and change to 'Active'. The only way I can get this to
work is if I include another XMANAGER statement with the event_pro program
and the widget ID's of the label.

So everything is working. I am just wondering why XMANAGER doesn't
have to be called for every widget that has an event handler (i.e. my
WIDGET_DRAW also has a specified event handler). Should each program
'module' (like XCOLORS, for instance) have only one XMANAGER? Is it poor
programming style to have more than one? Any comments...

Rose



-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp Create Your Own Free Member Forum
[Message index]
 
Read Message
Previous Topic: Re: Coyote's Guide to IDL Progamming Update
Next Topic: Contour labels

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

Current Time: Sat Oct 11 01:08:51 PDT 2025

Total time taken to generate the page: 0.08115 seconds