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

Home » Public Forums » archive » Widget_Control
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: Widget_Control [message #2449 is a reply to message #2359] Wed, 29 June 1994 13:17 Go to previous messageGo to previous message
robijn is currently offline  robijn
Messages: 18
Registered: June 1994
Junior Member
In article <Cs4p1L.1st6@yuma.acns.colostate.edu>,
<dean%phobos.dnet@sirius.cira.colostate.edu> wrote:
>
> PRO KD_DISPLAY_EVENT, event
>
> Widget_Control, event.id, GET_UVALUE = eventval
> WIDGET_CONTROL, event.top, GET_UVALUE = WDRAWstr
>
> ;HELP, /STRUCTURE, WDRAWstr
>
> CASE eventval OF
> "DRAW_WIN_EVENT" : BEGIN
> WSET, WDRAWSTR.Win_id
> WSHOW, WDRAWSTR.Win_id
> pxvnt = WIDGET_EVENT(WDRAWSTR.Win_id)

Here it is: WDRAWSTR.Win_id is the ID of the graphical window, not
the widget ID of the graphical widget. By the way, if you have
a problem like this try to locate the position where the error occurs
first before posting the whole program. That makes it easier to
see what's happening.

Frank
--
_____ ____
/ / / Frank Robijn Internet: Robijn@Strw.LeidenUniv.NL
/___ /___/ Sterrewacht Leiden Bitnet: Robijn@HLERUL51
/ / \ Phone (31) 71 275841 Local: Robijn@HL628
/ / \ Fax : (31) 71 275819 Snail: P.O.Box 9513, 2300 RA Leiden,
The Netherlands
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Concatenate elements of string array
Next Topic: Window or Widget?

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

Current Time: Wed Oct 08 19:17:21 PDT 2025

Total time taken to generate the page: 0.00397 seconds