Providing onclick for ListItem

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
baza_dwa Offline
Member
Posts: 97
Joined: Feb 2017
Reputation: 0
Post: #1
Hello,

Is there a way to specify an onclick event for ListItem? I want to set specific item for a list containing the ListItem in case it is clicked (SetFocus() - like reset the list to focus a specific item).
Providing url just makes attempt at playing resource using the url.
(This post was last modified: 2017-06-18 16:26 by baza_dwa.)
find quote
Lunatixz Offline
Skilled Python Coder
Posts: 5,189
Joined: May 2011
Reputation: 157
Location: NYC
Post: #2
The listitems path would have to be set to NULL or use an internal reference ie. plugin://plugin.video.myplugin/?dosomething=foobar
(This post was last modified: 2017-06-22 14:39 by Lunatixz.)
find quote