home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
GUILISTITEM-question
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="waeberd" data-source="post: 3935" data-attributes="member: 10343"><p>one small dev-question that popped up:</p><p></p><p>* Is it possible to add an integer to the GUILISTITEM ?</p><p></p><p>=> background: when I get a MSG_CLICKED, I take the LABEL to identify,</p><p>which item in my SQLite-rowset collection has been clicked.</p><p>This is not very clean and does not work correctly if the labels are not unique!</p><p></p><p>The better way would be to store a key-ID into the GUILISTITEM while building the list</p><p>and retrieve the correct item in the message handler.</p><p></p><p>Any hint how to do that? A TAG-Field on the GUILISTITEM would be handy...</p><p></p><p>Thanks,</p><p></p><p>Daniel</p></blockquote><p></p>
[QUOTE="waeberd, post: 3935, member: 10343"] one small dev-question that popped up: * Is it possible to add an integer to the GUILISTITEM ? => background: when I get a MSG_CLICKED, I take the LABEL to identify, which item in my SQLite-rowset collection has been clicked. This is not very clean and does not work correctly if the labels are not unique! The better way would be to store a key-ID into the GUILISTITEM while building the list and retrieve the correct item in the message handler. Any hint how to do that? A TAG-Field on the GUILISTITEM would be handy... Thanks, Daniel [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
GUILISTITEM-question
Contact us
RSS
Top
Bottom