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

Home » Public Forums » archive » Re: 'remote control' for widgets?
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: 'remote control' for widgets? [message #33231 is a reply to message #33230] Mon, 16 December 2002 05:03 Go to previous messageGo to previous message
David Burridge is currently offline  David Burridge
Messages: 33
Registered: January 1998
Member
Hi Sebastian,

Have you considered using the "Send_Event" keyword to Widget_Control? You'll
have to build the event structure, but it would do exactly what you want.
For example, assuming your event below is a button (simplest example:-) you
could:

Widget_Control, myWidget, Set_Value={ID:myWidget, TOP:myTLB, HANDLER:0L,
SELECT:1L}

If you don;t know the ID of the top-level base (myTLB), you *could* use
Widget_Info to find it I guess, but the best would be to pass it through.

Does this help?

Dave

--
David Burridge
Burridge Computing, 18 The Green South
Warborough, Oxon, OX10 7DN
England
Tel: +44 (0) 1865 858279, Email: davidb@burridgecomputing.co.uk

<s@visita2.die.upm.es> wrote in message
news:Pine.LNX.4.44.0212161243430.3160-100000@visita2.die.upm .es...
> Hi all,
>
> I try to progammatically set values of widgets like sliders or checkboxes.
> When I use "WIDGET_CONTROL,myWidget,SET_VALUE=myValue", only the widget
> gets changed, but the appropriate event is not generated.
>
> What I am looking for is a technique taht allows me to change the value of
> a widget _and_ generates the event that would have been generated if I
> had changed the widget using the mouse or keyboard.
>
> Thanks for all tips,
>
> Sebastian
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.404 / Virus Database: 228 - Release Date: 15/10/2002
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: How do I get the path for a UNIT of a file?
Next Topic: My Christmas Wish...

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

Current Time: Sun Nov 30 06:28:45 PST 2025

Total time taken to generate the page: 0.80085 seconds