Vcl.ComCtrls.TCustomRichEdit.GetSelLength

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

function GetSelLength: Integer; override;

C++

virtual int __fastcall GetSelLength();

Propriétés

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

Description

Renvoie la propriété SelLength.

GetSelLength surcharge la méthode héritée pour implémenter la propriété SelLength pour une fenêtre éditeur de texte formaté. GetSelLength transmet un message EM_EXGETSEL à la fenêtre du contrôle éditeur et renvoie la différence entre la position de début et la position de fin.

Voir aussi