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
  • Special cases
  • Limits
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 SelectedText property gets and sets the text selected in an Edit control, editable Combo Box control or editable column in a Table control.
Note: This property avoids the need to use Cursor and CursorEnd.
Ejemplo
IF SAI_Saisie1.TexteSlectionné = "<E>"THEN
	SAI_Saisie1.TexteSélectionné = "<Entrer>"
END
Sintaxis

Getting the selected text Ocultar los detalles

<Text> = <Control used>.SelectedText
<Text>: Character string
Text selected by the user in the edit control.
<Control used>: Control name
Name of the control to be used. This field can correspond to:
  • an edit control,
  • a Combo Box in edit mode,
  • a column of a Table control in edit mode.

Changing the selected text Ocultar los detalles

<Control used>.SelectedText = <Text to select>
<Control used>: Control name
Name of the control to be used. This field can correspond to:
  • an edit control,
  • a Combo Box in edit mode,
  • a column of a Table control in edit mode.
<Text to select>: Character string
Text that must be highlighted in the control. The text replaces the text that is currently selected.
Observaciones

Special cases

  • If the control is in Rich Text Format, the selected text has no formatting.
  • If the control is a Unicode control, the string returned is a Unicode string.

Limits

The SelectedText property is available for the following controls:
  • edit control,
  • editable Combo Box,
  • text column of a Table control.
Versión mínima requerida
  • Versión 14
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