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

Home » Public Forums » archive » sub-widget function creates button widgets with different values each time called
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
sub-widget function creates button widgets with different values each time called [message #40109] Thu, 22 July 2004 09:32 Go to previous message
ms_yong is currently offline  ms_yong
Messages: 2
Registered: July 2004
Junior Member
Hi all,

I created a small function to create a modal or top-level base to pop
up for user input. The base has a CW_FIELD widget and two buttons
that say 'ok' and 'cancel'. The first time the big program calls the
function the two buttons indeed say 'ok' and 'cancel'. The second
time the function is called in the same session of the big program,
the CW_FIELD widget has its initial value right, but the two buttons
say 'button38' or 'button39' or 'button72', etc. and obviously don't
match up with anything in the CASE statement in the event handler.
Any tips? I have another widget-creating function that works fine, so
I can't see what's going wrong, especially since the button values are
hard-coded into the function. Also, any suggestions for the group
leader for the modal base (were I to use one)? I arbitrarily picked
the top-level base of the big interface- does it really matter? I
switched temporarily to using a top-level base for the pop-up because
when execution halted for the popup, the whole program doesn't crash
like with the modal base which refuses to close itself.

Somewhat unrelated, but if you wish to place a simple vertical line
across an image object, do you have to make the image semi-transparent
to see the line?

Thanks,

Michelle Yong
[Message index]
 
Read Message
Read Message
Previous Topic: Re: sub-widget function creates button widgets with different values each time called
Next Topic: device,file=

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

Current Time: Fri Oct 10 11:07:23 PDT 2025

Total time taken to generate the page: 0.15942 seconds