Getting the widget id. [message #27960] |
Mon, 12 November 2001 13:42  |
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 #28376 is a reply to message #27960] |
Thu, 06 December 2001 08:47  |
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  |
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  |
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 #28388 is a reply to message #27960] |
Thu, 06 December 2001 04:59  |
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  |
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
|
|
|