2008-08-02, 19:09
Hello,
I'm trying to fix a little bug in XBMCScripts 1.7, that
prevents the browsing of multiple pages in the description
of an item.
From what I understood, reading the code, when you
create a text box via
self.textbox = xbmcgui.ControlTextBox(....),
it displays automatically the two little buttons (up/down)
inside the created control, and to navigate to these
buttons, you just need to set focus to the textbox:
self.setFocus(self.textbox)
==> Am I correct ?
Problem is when you are on either of those two buttons, and
try to push them (when the text is more than one page), the
text jumps to next page and goes back in a fraction of second,
as if there was a conflict with an onAction or onControl
instruction.
==> My question, is how can I allow those two buttons to
act normally ? Is there a necessary instruction to put
in the onControl method ?
Thank you in advance for your help !
(I hope my message is not too confusing)
Best regards
J.B.
I'm trying to fix a little bug in XBMCScripts 1.7, that
prevents the browsing of multiple pages in the description
of an item.
From what I understood, reading the code, when you
create a text box via
self.textbox = xbmcgui.ControlTextBox(....),
it displays automatically the two little buttons (up/down)
inside the created control, and to navigate to these
buttons, you just need to set focus to the textbox:
self.setFocus(self.textbox)
==> Am I correct ?
Problem is when you are on either of those two buttons, and
try to push them (when the text is more than one page), the
text jumps to next page and goes back in a fraction of second,
as if there was a conflict with an onAction or onControl
instruction.
==> My question, is how can I allow those two buttons to
act normally ? Is there a necessary instruction to put
in the onControl method ?
Thank you in advance for your help !
(I hope my message is not too confusing)
Best regards
J.B.