Export (0) Print
Expand All

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:

PropertyDescription
CLBkGrndColorGets or sets the background color used for candidate lists.
CLFontNameGets or sets the name of the font used for text in candidate lists.
CLFontSizeGets or sets the size of the font used for text in candidate lists.
CLFontStyleGets or sets the style of the font used for text in candidate lists.
CLFontWeightGets or sets the weight of the font used for text in candidate lists.
CLTextColorGets or sets the color of the text in candidate lists.
InputFontNameGets or sets the name of the font used for the text input box.
InputFontSizeGets or sets the size of the font used for the text input box.
InputFontStyleGets or sets the style of the font used for the text input box.
InputFontWeightGets or sets the weight of the font used for the text input box.
InputModeGets or sets the input (operating) mode of the Triple-tap/Soft-keyboard control.
InputPasswordGets or sets a value that indicates whether the Triple-tap/Soft-keyboard control is in password mode.
InputTextColorGets or sets the color of the text in the text input box.
KBBkGrndColorGets or sets the background color of the soft keyboard.
KBBkGrndImageGets or sets the background image of the soft keyboard mode.
KBEnterBkGrndColorGets or sets the background color used to indicate key entries from the soft keyboard.
KBFocusBkGrndColorGets or sets the background color used to highlight the soft keyboard key that has the focus.
KBFontNameGets or sets the name of the font used for the characters on the soft keyboard.
KBFontSizeGets or sets the size of the font used for the characters on the soft keyboard.
KBFontStyleGets or sets the style of the font used for the characters on the soft keyboard.
KBFontWeightGets or sets the weight of the font used for characters on the soft keyboard.
KBTextColorGets or sets the color of the text on the soft keyboard.
TTBkGrndColorGets or sets the background color of the character map that the control displays in triple-tap mode.
TTBkGrndImageGets or sets the background image of the character map that the control displays in triple-tap mode.
TTCharacterColorGets or sets the color of the letter characters on the character map that the control displays in triple-tap mode.
TTDigitColorGets or sets the color of the digit characters on the character map that the control displays in triple-tap mode.
TTFontNameGets or sets the name of the font used for the characters on the character map that the control displays in triple-tap mode.
TTFontSizeGets or sets the size of the font used for the characters on the character map that the control displays in triple-tap mode.
TTFontStyleGets or sets the style of the font used for the characters on the character map that the control displays in triple-tap mode.
TTFontWeightGets 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.

MethodDescription
GetInputTextGets the text from the text input box of the Triple-tap/Soft-keyboard control.
GetKBCurrentGets the index of the soft keyboard key that currently has the focus.
OnKeypadInputPasses a key code to the Triple-tap/Soft-keyboard control.
SetInputFocusSets the focus to the text input box of the Triple-tap/Soft-keyboard control.
SetInputTextSets text into the text input box of the Triple-tap/Soft-keyboard control.
SetKBFocusHighlights 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.

EventDescription
FocusInEvntRaised 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.
FocusOutEvntRaised 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

Show:
© 2015 Microsoft