| View previous topic :: View next topic |
| Author |
Message |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Sun Dec 21, 2003 3:55 am Post subject: Multi-select within Table Element? |
|
|
Hi guys,
This may be a dumb question, but here goes... Because the table element supports the "multi" style, how can I get the selected items for addition into another list?
For example, if a table has 10 items in the list, but I use Shift + left click to highlight 6 of the 10 items, how can I get the selected 6 items into a list (or variable to parse)?
I am only able to acquire the first line of the selected group of items...
FYI: I am using VDS 5.0.
Thanks,
- Boo |
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Mon Dec 22, 2003 4:50 am Post subject: |
|
|
Hi Boo
I cannot check currently what VDS 5 table multiselect does as I am out of station with no access to VDS.
The things you are looking for may be possible using API though as I detailed offline. I may be able to help you more once I am back 25th this month.
BTW you need not post the same question at multiple sections as this may not help in any way to speed up the response.. Take no offense  _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
Skit3000 Admin Team

Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
| Back to top |
|
 |
Boo Valued Contributor


Joined: 31 Oct 2003 Posts: 599 Location: Gulf Breeze, Florida USA
|
Posted: Mon Dec 22, 2003 5:42 pm Post subject: |
|
|
Hi Skit3000,
Thanks! That's just what the doctor ordered.
FYI: I searched for @items() in the VDS 5.0 help file, but search did not show any results. However, at the bottom of the @item() entry, I now notice a link to the @items() information.
Thanks again!
Cheers,
- Boo |
|
| Back to top |
|
 |
CodeScript Moderator Team

Joined: 08 Jun 2003 Posts: 1060 Location: India
|
Posted: Thu Dec 25, 2003 3:35 pm Post subject: |
|
|
Hi Boo
Now multislect/unselect is possible using simple commands
from TBLCTRL.dsu
| Code: | | TBLCTRL SELECTRANGE,TABLE1,all |
http://www.vdsworld.com/index.php?page=download&fileid=341
You can get the selected items using @items() already available in VDS 5.x and then parsing the output as Skit suggested.
Enjoy _________________ Regards
- CodeScript
Give your application a professional look with the VDSGUI Extension |
|
| Back to top |
|
 |
|