Another option is to use the ClassID property to figure out the type. In the OpenG 
toolkit there's even a nicely defined enum.

Jason

--
Jason Corwin
[EMAIL PROTECTED]
(858) 592-4025
 

>-----Original Message-----
>From: John Brohan [mailto:[EMAIL PROTECTED]
>Sent: 2004 May 17, Monday 09:15
>To: [EMAIL PROTECTED]
>Subject: Interpretation of TypeDesc Property in Front Panel Control
>Reference.
>
>
>Hello
>
>I am doing a little research on references to front Panel 
>Items. If you get
>an array of references to the controls (and Indicators) on the 
>front panel
>you can get their label text out rather easily. The value 
>however is held as
>a variant and can be extracted if you know the type.
>
>Preliminary testing indicates that the "Type Desc" property is 
>an array of
>16 bit integers. The second column seems related to the type 
>of the control.
>
>16417 is boolean
>
>16394 is numeric double
>
>16387 is numeric i32
>
>16434 is Path
>
>15432 is a string.
>
>I do not like compiler archaeology. Does anyone have a better, 
>perhaps even
>official, list, maybe even a program to scan the type desc
>
>Yours Sincerely
>
>John
>
>
>John Brohan         National Instruments LabVIEW expert in Montreal
>Traders Micro         "We connect all sorts of things to computers"
>317 Barberry Place DDO Montreal PQ Canada H9G 1V3 Tel (514)995-3749
>[EMAIL PROTECTED]      http://www.TradersMicro.com/Index.htm
>
>


Reply via email to