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

Home » Public Forums » archive » Re: How to retrieve information from an event to use it in another 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: How to retrieve information from an event to use it in another event? [message #54502 is a reply to message #54499] Tue, 19 June 2007 07:11 Go to previous messageGo to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Jun 19, 8:55 am, "aleks.fra...@gmail.com" <aleks.fra...@gmail.com>
wrote:
> On 19 jun, 10:45, hradilv <hrad...@yahoo.com> wrote:
>
>
>
>> On Jun 19, 8:37 am, "aleks.fra...@gmail.com" <aleks.fra...@gmail.com>
>> wrote:
>
>>> Hello!
>>> Maybe it's a likely simple question, but I can't figure it out. I have
>>> 2 buttons and I want them to communicate. My widget has 2 buttons and
>>> each button is a separate event. Button A chooses an image A to open.
>>> Button B chooses an image B to open. I need to keep the information
>>> from image A in order to compare with image B. Because they are 2
>>> separate events, when the first events ends ( opens image A ) all the
>>> information about image A is lost. What do I need to do to keep the
>>> information from an event and use it in another event?
>
>>> obs: I use a CASE statement
>
>>> Thank you
>
>> Save the event structure in a variable?
>
> Ok, I've tryed that, but I don't know if I'm doing it right. How do I
> save the event in a variable?

You could use a global variable. But how about this, is it possible
to query the current stat of the "other" widget to determine the
information that you need using WIDGET_INFO or WIDGET_CONTROL?
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Encoding of IDL strings
Next Topic: Re: history of command prompt

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

Current Time: Sat Oct 11 06:08:21 PDT 2025

Total time taken to generate the page: 0.80175 seconds