Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   GUI-Design mit VCL / FireMonkey / Common Controls (https://www.delphipraxis.net/18-gui-design-mit-vcl-firemonkey-common-controls/)
-   -   Delphi Nur Teil einer Caption übernehmen (https://www.delphipraxis.net/4476-nur-teil-einer-caption-uebernehmen.html)

Intruder 30. Apr 2003 18:46


Nur Teil einer Caption übernehmen
 
Ich hab für ein Label eine Caption festgelegt.
bei einem Button klick sollen nur die ersten 3 buchstaben
dieser Caption in ein weiteres Label übernommen werden ...
Hat jemand eine Lösung ?

Bestimmt ganz leicht, hab aber kaum erfahrung.

Schon mal danke

Intruder

Christian Seehase 30. Apr 2003 18:48

Moin Intruder,

schau Dir mal die Funktion Copy an.
Damit lässt sich Dein Problem lösen.

LoL 1. Mai 2003 08:50

copy(label.caption,1,3);

christoph


Alle Zeitangaben in WEZ +1. Es ist jetzt 14:08 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz