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

Home » Public Forums » archive » Re: Get index from table widget
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
Re: Get index from table widget [message #58681] Wed, 13 February 2008 13:23
ben.bighair is currently offline  ben.bighair
Messages: 221
Registered: April 2007
Senior Member
On Feb 13, 4:14 pm, "skymaxw...@gmail.com" <skymaxw...@gmail.com>
wrote:
> On Feb 13, 6:21 pm, "ben.bighair" <ben.bigh...@gmail.com> wrote:
>
>
>
>> On Feb 13, 6:58 am, "skymaxw...@gmail.com" <skymaxw...@gmail.com>
>> wrote:
>
>>> Good day !
>
>>> I try to get index of row from TABLE widget.
>>> I set there possibility of multi selection.
>>> the keywords USE_TABLE_SELECT with GET_VALUE=some_var only return full
>>> records
>>> but i need index only (not values !!!)
>
>>> So, is there efficient tool for get index of my rows or i need use
>>> array manipulations to calc it ?
>
>>> Thanks
>
>> Hi,
>
>> This is from memory, but I think you want TABLE_SELECT ala...
>
>> selectionIndices = WIDGET_INFO(widgetID, /TABLE_SELECT)
>
>> Ben
>
> thanks for your reply
> i use your source code ...but it's a bit strange output...there is no
> selection indexes :(

Hi,

Perhaps you should show what you are doing (simplified) and what
results you are getting.

Ben
Re: Get index from table widget [message #58682 is a reply to message #58681] Wed, 13 February 2008 13:21 Go to previous message
skymaxwell@gmail.com is currently offline  skymaxwell@gmail.com
Messages: 127
Registered: January 2007
Senior Member
On Feb 13, 6:21 pm, "ben.bighair" <ben.bigh...@gmail.com> wrote:
> On Feb 13, 6:58 am, "skymaxw...@gmail.com" <skymaxw...@gmail.com>
> wrote:
>
>> Good day !
>
>> I try to get index of row from TABLE widget.
>> I set there possibility of multi selection.
>> the keywords USE_TABLE_SELECT with GET_VALUE=some_var only return full
>> records
>> but i need index only (not values !!!)
>
>> So, is there efficient tool for get index of my rows or i need use
>> array manipulations to calc it ?
>
>> Thanks
>
> Hi,
>
> This is from memory, but I think you want TABLE_SELECT ala...
>
> selectionIndices = WIDGET_INFO(widgetID, /TABLE_SELECT)
>
> Ben

sorry it's ok
just little strange output

thanks
Re: Get index from table widget [message #58683 is a reply to message #58682] Wed, 13 February 2008 13:14 Go to previous message
skymaxwell@gmail.com is currently offline  skymaxwell@gmail.com
Messages: 127
Registered: January 2007
Senior Member
On Feb 13, 6:21 pm, "ben.bighair" <ben.bigh...@gmail.com> wrote:
> On Feb 13, 6:58 am, "skymaxw...@gmail.com" <skymaxw...@gmail.com>
> wrote:
>
>> Good day !
>
>> I try to get index of row from TABLE widget.
>> I set there possibility of multi selection.
>> the keywords USE_TABLE_SELECT with GET_VALUE=some_var only return full
>> records
>> but i need index only (not values !!!)
>
>> So, is there efficient tool for get index of my rows or i need use
>> array manipulations to calc it ?
>
>> Thanks
>
> Hi,
>
> This is from memory, but I think you want TABLE_SELECT ala...
>
> selectionIndices = WIDGET_INFO(widgetID, /TABLE_SELECT)
>
> Ben

thanks for your reply
i use your source code ...but it's a bit strange output...there is no
selection indexes :(
Re: Get index from table widget [message #58693 is a reply to message #58683] Wed, 13 February 2008 07:21 Go to previous message
ben.bighair is currently offline  ben.bighair
Messages: 221
Registered: April 2007
Senior Member
On Feb 13, 6:58 am, "skymaxw...@gmail.com" <skymaxw...@gmail.com>
wrote:
> Good day !
>
> I try to get index of row from TABLE widget.
> I set there possibility of multi selection.
> the keywords USE_TABLE_SELECT with GET_VALUE=some_var only return full
> records
> but i need index only (not values !!!)
>
> So, is there efficient tool for get index of my rows or i need use
> array manipulations to calc it ?
>
> Thanks

Hi,

This is from memory, but I think you want TABLE_SELECT ala...

selectionIndices = WIDGET_INFO(widgetID, /TABLE_SELECT)


Ben
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: map projections
Next Topic: workbench project rename: bug?

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

Current Time: Wed Oct 08 17:11:41 PDT 2025

Total time taken to generate the page: 0.00706 seconds