TDrawButton.Caption
redirigé depuis TDrawButton.GetCaption
| TDrawButton = class (TDrawObject) | Interface de TDrawButton | Exemples 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;
var btn:=TDrawButton.Connect('Toggle');
if btn.Caption='Démarrer' then begin
btn.Caption:='Arrêter';
end else begin
btn.Caption:='Démarrer';
end;