Windows Media Player 11 SDK EDITBOX.getSelectionStartÂ
Previous | Next |
EDITBOX.getSelectionStart
The getSelectionStart method retrieves the starting position of the selected text in the editbox control.
Syntax
Parameters
This method takes no parameters.
Return Values
This method returns a Number (long).
Remarks
If no text is selected, this method returns the position of the insertion point.
If the control is multiline, this method returns the character index in the control, not the line index.
This method can only be called after the control becomes visible.
Requirements
Windows Media Player for Windows XP or later.
See Also
Previous | Next |