Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Object-Pascal / Delphi-Language (https://www.delphipraxis.net/32-object-pascal-delphi-language/)
-   -   Delphi Strint to TBasicAction (https://www.delphipraxis.net/5366-strint-tbasicaction.html)

Illuminator-23-5 3. Jun 2003 19:23


Strint to TBasicAction
 
Hat irgendjemand 'ne ahnung, wie ich einen String (oder den Inhalt eines Editfeldes) in TBasicAction umwandeln kann? gibt's da irgend eine funktion?

Illuminator-23-5 3. Jun 2003 19:33

OOps
 
Schreibfehler : es sollte strinG heissen

Basic-Master 3. Jun 2003 19:58

ne funktion net... aber ich versteh auch net ganz was du vor hast...

Illuminator-23-5 3. Jun 2003 20:14

Ich möcht irgendwie versuchen, in ein edit-feld einen Befehl einzugeben, der dann ausgeführt wird, wie z.b. eine Messagebox aufzumachen oder ähnliches!

Marco Haffner 3. Jun 2003 22:23

Versuch es mal hiermit:
Delphi-Quellcode:
ExecuteAction(TAction(FindComponent(Edit1.Text)));


Alle Zeitangaben in WEZ +1. Es ist jetzt 20:50 Uhr.

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