TDrawButton.Caption

redirigé depuis TDrawButton.SetCaption

TDrawButton = class (TDrawObject)Interface de TDrawButtonExemples de TDrawButton

Texte du bouton

Syntaxe

property Caption: String read GetCaption write SetCaption

Remarques

Le texte des boutons n'est pas multi-lignes.

Exemples

uses UGraphicalViews;

var btn:=TDrawButton.Connect('Toggle');
if btn.Caption='Démarrer' then begin
   btn.Caption:='Arrêter';
end else begin
   btn.Caption:='Démarrer';
end;

Classification

UGraphicalViews TDrawButton