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
MediaPortal 1 Skins
Is the virtual keyboard on screen?
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="CyberSimian" data-source="post: 1209971" data-attributes="member: 141969"><p>I am continuing with my tweaks to the "DefaultWide" skin, and have got to a panel where the "Virtual Standard Keyboard" is displayed when needed. Now I would like to change some of the elements on the panel when the virtual keyboard is present. The keyboard is defined in "StdKeyboard.xml", which has a window id of 1002. So I tried adding this to the relevant panel elements:</p><p></p><p>[code]<visible>window.isvisible(1002)</visible>[/code]</p><p></p><p>The problem is that this does not work. <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /> Hmm. So then I decided to output on the panel the value of "#currentmodule", and the value of the recently-discovered (yesterday!) "#currentmoduleid". This what I got. The first screen shot shows the panel before displaying the keyboard; it shows these values:</p><p></p><p>#currentmodule: Search TV Guide</p><p>#currentmoduleid: 604</p><p></p><p>The second screen shot shows the panel with the virtual keyboard on screen; it shows these values:</p><p></p><p>#currentmodule: Virtual Standard Keyboard</p><p>#currentmoduleid: 604</p><p></p><p>The name of the current panel changes, but the window id does not! <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite5" alt=":confused:" title="Confused :confused:" loading="lazy" data-shortname=":confused:" /> So that explains why "window.isvisible(1002)" does not work.</p><p></p><p>[ATTACH]186606[/ATTACH] [ATTACH]186607[/ATTACH]</p><p></p><p>The next possibility was to use the value of "#currentmodule", since that <em>does</em> change when the keyboard is on the screen. I have used "#currentmodule" successfully on the LABEL tag, so I thought that I would try it on the VISIBLE tag. But that does not work either -- the outcome is always the same (never changes). <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite16" alt=":cry:" title="Crying :cry:" loading="lazy" data-shortname=":cry:" /></p><p></p><p>So, has anyone found a way of detecting whether the virtual keyboard is on screen and modifying the panel content accordingly? Thanks.</p><p></p><p>-- from CyberSimian in the UK</p></blockquote><p></p>
[QUOTE="CyberSimian, post: 1209971, member: 141969"] I am continuing with my tweaks to the "DefaultWide" skin, and have got to a panel where the "Virtual Standard Keyboard" is displayed when needed. Now I would like to change some of the elements on the panel when the virtual keyboard is present. The keyboard is defined in "StdKeyboard.xml", which has a window id of 1002. So I tried adding this to the relevant panel elements: [code]<visible>window.isvisible(1002)</visible>[/code] The problem is that this does not work. :( Hmm. So then I decided to output on the panel the value of "#currentmodule", and the value of the recently-discovered (yesterday!) "#currentmoduleid". This what I got. The first screen shot shows the panel before displaying the keyboard; it shows these values: #currentmodule: Search TV Guide #currentmoduleid: 604 The second screen shot shows the panel with the virtual keyboard on screen; it shows these values: #currentmodule: Virtual Standard Keyboard #currentmoduleid: 604 The name of the current panel changes, but the window id does not! :confused: So that explains why "window.isvisible(1002)" does not work. [ATTACH]186606[/ATTACH] [ATTACH]186607[/ATTACH] The next possibility was to use the value of "#currentmodule", since that [i]does[/i] change when the keyboard is on the screen. I have used "#currentmodule" successfully on the LABEL tag, so I thought that I would try it on the VISIBLE tag. But that does not work either -- the outcome is always the same (never changes). :cry: So, has anyone found a way of detecting whether the virtual keyboard is on screen and modifying the panel content accordingly? Thanks. -- from CyberSimian in the UK [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Is the virtual keyboard on screen?
Contact us
RSS
Top
Bottom