Issue found on:
TD 6.2 SP1 & SP2
TD 6.1 SP4 & SP5
The ListView object (vtlstvw.apl, cListView) does not trigger SAM_Click when using the keyboard to navigate the items.
Keys : UP/DOWN/HOME/END/PAGEUP/PAGEDOWN/LEFT/RIGHT all fail.
So manually traversing the list and react on the selected item is not possible.
Clicking with mouse works though.
See testcase. Use the mentioned keys to walk through the list and see the SAM_Click traces (eh, do not see it actually).
The testcase works in all other TD versions except the ones mentioned.
Testcase saved in TD61 text format.
TD-21084: SP1/SP2: ListView does not trigger SAM_Click when using keys
-
- Founder/Site Admin
- Posts: 3512
- Joined: 24 Feb 2017, 09:12
- Location: Gouda, The Netherlands
TD-21084: SP1/SP2: ListView does not trigger SAM_Click when using keys
You do not have the required permissions to view the files attached to this post.
Regards,
Dave Rabelink

Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Dave Rabelink

Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Re: TD-21084: SP1/SP2: ListView does not trigger SAM_Click when using keys
It is possible to use ListViews by working with SAM_CustControlCmd and VTM_KeyUp as workarounds. But this is not documented.
You do not have the required permissions to view the files attached to this post.
-
- Founder/Site Admin
- Posts: 3512
- Joined: 24 Feb 2017, 09:12
- Location: Gouda, The Netherlands
Re: TD-21084: SP1/SP2: ListView does not trigger SAM_Click when using keys
Thanks for the workaround Peter !
Regards,
Dave Rabelink

Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Dave Rabelink

Articles and information on Team Developer Tips & Tricks Wiki
Download samples, documents and resources from TD Sample Vault
Videos on TDWiki YouTube Channel
Re: TD-21084: SP1/SP2: ListView does not trigger SAM_Click when using keys
Fixed on TD 6.2SP3r UPD2
Thanks,
Victor Espinal
Thanks,
Victor Espinal
Who is online
Users browsing this forum: [Ccbot] and 7 guests