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!)
GUISMSInputControl
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="john_rod" data-source="post: 26669" data-attributes="member: 16562"><p>Hi Mike</p><p></p><p>Basically I'm Using The SMSInput Control to do a search.</p><p>When A Key has been preesed then I get The Text in the control and filter a list by it.</p><p></p><p>All that is needed is a way to get the text after each key and not whenthe enter key is pressed as it currently is.</p><p></p><p>My solution was to make the function below</p><p>public string Text()</p><p>{ </p><p>return m_strData;</p><p>}</p><p></p><p>as well as a the event below</p><p></p><p>public delegate void KeyPressedHandler(); </p><p>static public event KeyPressedHandler KeyPressed;</p><p></p><p>the event is raised when the timeout for a key is reached.</p><p></p><p>This allows you to press a number from 1 -9 multiple times before it raises the event.</p><p></p><p>As I have said this is currently working on my Enviroment Just thought it would be a useful feature to the control and would also make my plugin easier to intregrate with future releases..</p><p></p><p>John_rod</p></blockquote><p></p>
[QUOTE="john_rod, post: 26669, member: 16562"] Hi Mike Basically I'm Using The SMSInput Control to do a search. When A Key has been preesed then I get The Text in the control and filter a list by it. All that is needed is a way to get the text after each key and not whenthe enter key is pressed as it currently is. My solution was to make the function below public string Text() { return m_strData; } as well as a the event below public delegate void KeyPressedHandler(); static public event KeyPressedHandler KeyPressed; the event is raised when the timeout for a key is reached. This allows you to press a number from 1 -9 multiple times before it raises the event. As I have said this is currently working on my Enviroment Just thought it would be a useful feature to the control and would also make my plugin easier to intregrate with future releases.. John_rod [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
GUISMSInputControl
Contact us
RSS
Top
Bottom