HtmlInput Object
Enables Windows Media Center hosted HTML applications to include instances of the Triple-tap/Soft-keyboard ActiveX control on their HTML pages. The control provides a standard interface for retrieving text input from the user, enabling them to enter text by using the remote control. The HtmlInput object exposes a set of properties that applications can use to customize the appearance and behavior of the control and a set of methods and events that allow applications to interact with the control and retrieve information from it.
Note This object has been deprecated.
The HtmlInput object exposes the following properties:
Property | Description |
CLBkGrndColor | Gets or sets the background color used for candidate lists. |
CLFontName | Gets or sets the name of the font used for text in candidate lists. |
CLFontSize | Gets or sets the size of the font used for text in candidate lists. |
CLFontStyle | Gets or sets the style of the font used for text in candidate lists. |
CLFontWeight | Gets or sets the weight of the font used for text in candidate lists. |
CLTextColor | Gets or sets the color of the text in candidate lists. |
InputFontName | Gets or sets the name of the font used for the text input box. |
InputFontSize | Gets or sets the size of the font used for the text input box. |
InputFontStyle | Gets or sets the style of the font used for the text input box. |
InputFontWeight | Gets or sets the weight of the font used for the text input box. |
InputMode | Gets or sets the input (operating) mode of the Triple-tap/Soft-keyboard control. |
InputPassword | Gets or sets a value that indicates whether the Triple-tap/Soft-keyboard control is in password mode. |
InputTextColor | Gets or sets the color of the text in the text input box. |
KBBkGrndColor | Gets or sets the background color of the soft keyboard. |
KBBkGrndImage | Gets or sets the background image of the soft keyboard mode. |
KBEnterBkGrndColor | Gets or sets the background color used to indicate key entries from the soft keyboard. |
KBFocusBkGrndColor | Gets or sets the background color used to highlight the soft keyboard key that has the focus. |
KBFontName | Gets or sets the name of the font used for the characters on the soft keyboard. |
KBFontSize | Gets or sets the size of the font used for the characters on the soft keyboard. |
KBFontStyle | Gets or sets the style of the font used for the characters on the soft keyboard. |
KBFontWeight | Gets or sets the weight of the font used for characters on the soft keyboard. |
KBTextColor | Gets or sets the color of the text on the soft keyboard. |
TTBkGrndColor | Gets or sets the background color of the character map that the control displays in triple-tap mode. |
TTBkGrndImage | Gets or sets the background image of the character map that the control displays in triple-tap mode. |
TTCharacterColor | Gets or sets the color of the letter characters on the character map that the control displays in triple-tap mode. |
TTDigitColor | Gets or sets the color of the digit characters on the character map that the control displays in triple-tap mode. |
TTFontName | Gets or sets the name of the font used for the characters on the character map that the control displays in triple-tap mode. |
TTFontSize | Gets or sets the size of the font used for the characters on the character map that the control displays in triple-tap mode. |
TTFontStyle | Gets or sets the style of the font used for the characters on the character map that the control displays in triple-tap mode. |
TTFontWeight | Gets or sets the weight of the font used for characters on the character map that the control displays in triple-tap mode. |
The HtmlInput object exposes the following methods.
Method | Description |
GetInputText | Gets the text from the text input box of the Triple-tap/Soft-keyboard control. |
GetKBCurrent | Gets the index of the soft keyboard key that currently has the focus. |
OnKeypadInput | Passes a key code to the Triple-tap/Soft-keyboard control. |
SetInputFocus | Sets the focus to the text input box of the Triple-tap/Soft-keyboard control. |
SetInputText | Sets text into the text input box of the Triple-tap/Soft-keyboard control. |
SetKBFocus | Highlights and sets the focus to a particular key on the soft keyboard of the Triple-tap/Soft-keyboard control. |
The HtmlInput object exposes the following events.
Event | Description |
FocusInEvnt | Raised when the Triple-tap/Soft-keyboard control receives the focus because the user navigated to the control by using the arrow keys on the remote control. |
FocusOutEvnt | Raised when the Triple-tap/Soft-keyboard control loses the focus because the user navigated away from the control by using the arrow keys on the remote control. |
See Also