Solved TD-21084: SP1/SP2: ListView does not trigger SAM_Click when using keys

Report TD 5.x and 6.x bugs and possible workarounds.
Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
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

Post by Dave Rabelink » 28 Jul 2014, 16:21

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.
ListView_Keys_NoClick.zip
You do not have the required permissions to view the files attached to this post.
Regards,
Dave Rabelink

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

User avatar
Peter.Hugk
Germany
Posts: 372
Joined: 06 Mar 2017, 07:48
Location: Germany

Re: TD-21084: SP1/SP2: ListView does not trigger SAM_Click when using keys

Post by Peter.Hugk » 29 Jul 2014, 07:34

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.

Dave Rabelink
Founder/Site Admin
Founder/Site Admin
Netherlands
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

Post by Dave Rabelink » 30 Jul 2014, 08:08

Thanks for the workaround Peter !
Regards,
Dave Rabelink

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

VEspinal

Re: TD-21084: SP1/SP2: ListView does not trigger SAM_Click when using keys

Post by VEspinal » 20 Apr 2015, 21:35

Fixed on TD 6.2SP3r UPD2

Thanks,
Victor Espinal

Return to “Bug Reports”

Who is online

Users browsing this forum: [Ccbot] and 7 guests