AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Este contenido se ha traducido automáticamente.  Haga clic aquí  para ver la versión en inglés.
Ayuda / WLanguage / Propiedades WLanguage / Propiedades de ventanas, páginas y controles
WINDEV
WindowsLinuxJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadIOS WidgetApple WatchMac Catalyst
Otros
Procedimientos almacenados
The SelectionDirection property is used to determine and change the selection direction (left to right or right to left) in a Word Processing control.
Ejemplo
T is int = 30
FOR I = WP_MyDoc.Cursor _TO_ WP_MyDoc.Cursor + WP_MyDoc.SelectionLength
f is docFragment = WP_MyDoc[I ON 1]
f.Style.FontSize = T
IF WP_MyDoc.SelectionDirection = 1 THEN
T += 5
ELSE
T -= 5
END
END
Sintaxis

Finding out the selection direction in a Word Processing control Ocultar los detalles

<Result> = <Word Processing control>.SelectionDirection
<Result>: Integer
Selection direction:
  • 1: Selection made in the direction of writing (left to right).
  • 2: The selection was made in reverse order (from right to left)..
<Word Processing control>: Control name
Name of the Word Processing control to use.

Modifying the selection direction in a Word Processing control Ocultar los detalles

<Word Processing control>.SelectionDirection = <New value>
<Word Processing control>: Control name
Name of the Word Processing control to use.
<New value>: Integer
New selection direction:
  • 1: Selection made in the direction of writing (left to right).
  • 2: The selection was made in reverse order (from right to left)..
Versión mínima requerida
  • Versión 22
Esta página también está disponible para…
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 10/05/2025

Señalar un error o enviar una sugerencia | Ayuda local