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

Home » Public Forums » archive » Getting the widget id.
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Getting the widget id. [message #27960] Mon, 12 November 2001 13:42 Go to next message
Adam Rankin is currently offline  Adam Rankin
Messages: 15
Registered: July 2001
Junior Member
Yes I know this sounds simple, and it probably is, but for the sake of
young guns like me why don't we humor me. I want to know what command I
can run to get the widget ID of the supplied widget.

Something along the lines of:

slider = WIDGET_SLIDER(etc...)

WIDGET_INFO, slider, GET_ID
or something of the like?

Talk to me!

-Adam
Re: Getting the widget id. [message #28374 is a reply to message #27960] Thu, 06 December 2001 09:13 Go to previous message
Jaco van Gorkom is currently offline  Jaco van Gorkom
Messages: 97
Registered: November 2000
Member
xristos wrote:
<skip>

Mmmmm... I *think* someone got beaten at tennis the other day?

Jaco
Re: Getting the widget id. [message #28376 is a reply to message #27960] Thu, 06 December 2001 08:47 Go to previous message
Pavel A. Romashkin is currently offline  Pavel A. Romashkin
Messages: 531
Registered: November 2000
Senior Member
This is one sick posting. If it is a joke, its not funny. If you are
serious, change the newsgroup.

xristos wrote:
>
> David Fanning Can you please explain me why you are such an asshole????
Re: Getting the widget id. [message #28381 is a reply to message #27960] Thu, 06 December 2001 07:16 Go to previous message
James Kuyper Jr. is currently offline  James Kuyper Jr.
Messages: 10
Registered: November 2001
Junior Member
xristos wrote:

> David Fanning Can you please explain me why you are such an asshole????

I'm confused; what's your problem with David's answer? It is, as far as
I can tell, correct and relevant.
Re: Getting the widget id. [message #28382 is a reply to message #27960] Thu, 06 December 2001 07:09 Go to previous message
Paul van Delst is currently offline  Paul van Delst
Messages: 364
Registered: March 1997
Senior Member
xristos wrote:
>
> David Fanning Can you please explain me why you are such an asshole????

Oh, I get it. Sarcasm. Ha ha.. that's funny.

Hang on... you *are* kidding right? :o\


--
Paul van Delst Religious and cultural
CIMSS @ NOAA/NCEP purity is a fundamentalist
Ph: (301)763-8000 x7274 fantasy
Fax:(301)763-8545 V.S.Naipaul
Re: Getting the widget id. [message #28385 is a reply to message #27960] Thu, 06 December 2001 06:27 Go to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Did you know netiquette ?

If you don't know Arlene H. Rinaldi then you have missed something
and should read the following:
http://www.fau.edu/netiquette/net/trans.html


cheers

Reimar
--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg1/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml

http://www.fz-juelich.de/zb/text/publikation/juel3786.html
============================================================ ======

read something about linux / windows
http://www.suse.de/de/news/hotnews/MS.html
Re: Getting the widget id. [message #28388 is a reply to message #27960] Thu, 06 December 2001 04:59 Go to previous message
Robert Stockwell is currently offline  Robert Stockwell
Messages: 74
Registered: October 2001
Member
David Fanning wrote:

> xristos writes:
>
>
>> David Fanning Can you please explain me why you are such .....????
>>
>
> Can you explain to me why you have been talking
> to my wife?
>
> Cheers,
>
> David


SCOMK&M
(spewing coffee on my keyboard and monitor)
ROTFLMAO
Re: Getting the widget id. [message #28391 is a reply to message #27960] Wed, 05 December 2001 20:19 Go to previous message
Thomas Launey is currently offline  Thomas Launey
Messages: 25
Registered: September 1999
Junior Member
In article <Pine.SUN.4.30.0111121640510.18654-
100000@proxima.irus.rri.on.ca>, arankin@irus.rri.on.ca says...
> Yes I know this sounds simple, and it probably is, but for the sake of
> young guns like me why don't we humor me. I want to know what command I
> can run to get the widget ID of the supplied widget.
>
> Something along the lines of:
>
> slider = WIDGET_SLIDER(etc...)
>
> WIDGET_INFO, slider, GET_ID
> or something of the like?
>
> Talk to me!
>
> -Adam

Hi Adam,
You mean slider ID is not saved in the Uval of the top-level base (or in
self for the object minded guys). AFAIK, Widget_info as a Find_by_Uname
keyword precisely for this purpose.

so:
;****** Event handler *****
SliderID=widget_info(event.top,find_by_Uname="my slider")
If (slider NE 0) then print, "slider ID is : " + strtrim(sliderID,2)

;******Main******
..
void=Widget_Slider(base,....,Uname="my slider")
..

I hope this helps,
Thomas
--
Thomas Launey
Lab. for Memory and Learning
Brain Science Institute, RIKEN
Saitama, Japan
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Plotting data spanning multiple UTM zones
Next Topic: Re: IDL data to Excel sheets?

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

Current Time: Wed Oct 08 15:33:23 PDT 2025

Total time taken to generate the page: 0.00571 seconds