PC SOFT

AYUDA EN LÍNEA
DE WINDEV, WEBDEV Y WINDEV MOBILE


  • Special cases
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReportes y ConsultasCódigo de Usuario (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Código Navegador
WINDEV Mobile
AndroidWidget Android iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Otros
Procedimientos almacenados
SelectedText (Property)
 
..SelectedText is used to find out and modify the text selected in an edit control, an editable combo box or an editable table column.
Note: This property allows you to avoid using ..Cursor and ..CursorEnd.
Ejemplo
IF EDT_Edit1..SelectedText = "<E>" THEN
EDT_Edit1..SelectedText = "<Enter>"
END
Sintaxis

Finding out the selected text Ocultar los detalles

<Text> = <Control Name>..SelectedText
<Text>: Character string
Text selected by the user in the edit control.
<Control Name>: Character string (with or without quotes)
Name of control to use. This control can correspond to an edit control, an editable combo box or an editable table column.

Modifying the selected text Ocultar los detalles

<Control Name>..SelectedText = <Text to Select>
<Control Name>: Character string (with or without quotes)
Name of control to use. This control can correspond to an edit control, an editable combo box or an editable table column.
<Text to Select>: Character string (with quotes)
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 RTF format, the selected text is a text without formatting.
  • If the control is a Unicode control, the string returned is a Unicode string.

Limits

..SelectedText is available for the following controls:
  • edit control,
  • editable combo box,
  • text table column.
Windows Mobile ..SelectedText is not available in write mode for the RTF controls in Windows CE.
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