2015-06-04, 16:35
Hi,
I'm experiencing an issue in the Keyboard dialog xml.
I tried to connect my dynamic layout to the keyboard but in order for this to work, I had the rebuild a static content in a panel list.
I know I will be warned that working outside the built in controls is not advisable but wanted to give it a try.
My static content actually looks like this :
I use dummy hidden buttons for built-in controls 100-111 / 120-171 .
All displays correctly and resize fine but when using the physical keyboard, some keys act like "enter". For example SHIFT acts like ENTER+SHIFT (I mean if 0 is focused, it adds 0 to 312 edit control), ALT GR acts like ENTER-ENTER (if 0 is focused, it adds 00 to 312 edit control). Is there something specific I missed for some keys acting like "ENTER" ? Or maybe there is another possibility than Sendclick() ?
Thanks
I'm experiencing an issue in the Keyboard dialog xml.
I tried to connect my dynamic layout to the keyboard but in order for this to work, I had the rebuild a static content in a panel list.
I know I will be warned that working outside the built in controls is not advisable but wanted to give it a try.
My static content actually looks like this :
Code:
<content>
<item id="1">
<label>$INFO[Control.GetLabel(100)]</label>
<onclick>SendClick(100)</onclick>
<visible>!IsEmpty(Control.GetLabel(100))</visible>
</item>
<item id="2">
<label>$INFO[Control.GetLabel(101)]</label>
<onclick>SendClick(101)</onclick>
<visible>!IsEmpty(Control.GetLabel(101))</visible>
</item>
...
</content>
I use dummy hidden buttons for built-in controls 100-111 / 120-171 .
All displays correctly and resize fine but when using the physical keyboard, some keys act like "enter". For example SHIFT acts like ENTER+SHIFT (I mean if 0 is focused, it adds 0 to 312 edit control), ALT GR acts like ENTER-ENTER (if 0 is focused, it adds 00 to 312 edit control). Is there something specific I missed for some keys acting like "ENTER" ? Or maybe there is another possibility than Sendclick() ?
Thanks