|
|
|
|
|
SelectionLength (Property)
The SelectionLength property gets and sets the length of the selection made in a Word Processing control. Tip This property displays a selection in the Word Processing control field. The starting point of the selection corresponds to the current cursor position (that can be handled with the Cursor property).
IF TT_MonDoc.SelectionLength <> 0 THEN
f is docFragment(WP_MyDoc, WP_MyDoc.Cursor, WP_MyDoc.SelectionLength)
f.Style.FontBold = True
END
Sintaxis
Finding out the selection length Ocultar los detalles
<Result> = <Word Processing control>.SelectionLength
<Result>: Integer Number of characters found in the selection. <Word Processing control>: Control name Name of the Word Processing control to use.
Modifying the selection length Ocultar los detalles
<Word Processing control>.SelectionLength = <New Length>
<Word Processing control>: Control name Name of the Word Processing control to use. <New Length>: Integer Number of characters to select. If the selection length is negative or null, only the simple cursor is displayed in the control.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|