API:Vcl.ComCtrls.TCustomRichEdit.SetSelLength

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

procedure SetSelLength(Value: Integer); override;

C++

virtual void __fastcall SetSelLength(int Value);

Propriétés

Type Visibilité  Source Unité  Parent
procedure
function
protected
Vcl.ComCtrls.pas
Vcl.ComCtrls.hpp
Vcl.ComCtrls TCustomRichEdit

Description

Définit la valeur de la propriété SelLength.

Vcl.ComCtrls.TCustomRichEdit.SetSelLength hérite de Vcl.StdCtrls.TCustomEdit.SetSelLength. Tout le contenu en-dessous de cette ligne se réfère à Vcl.StdCtrls.TCustomEdit.SetSelLength.

Définit la valeur de la propriété SelLength.

SetSelLength est la méthode d'accès à la propriété pour la propriété SelLength. Elle est exposée comme méthode protégée afin que les descendants de TCustomEdit puissent personnaliser l'implémentation de la propriété SelLength.

SetSelLength transmet un message EM_SETSEL à la fenêtre du contrôle éditeur, en spécifiant une sélection qui commence à SelStart et finit à SelStart + Value.

Voir aussi