Afficher le texte d'une Tedit et comment servir du Shell

cs_Shad0w Messages postés 6 Date d'inscription mercredi 15 janvier 2003 Statut Membre Dernière intervention 11 octobre 2003 - 12 févr. 2003 à 17:44
cs_Bestiol Messages postés 833 Date d'inscription dimanche 6 janvier 2002 Statut Membre Dernière intervention 3 novembre 2005 - 12 févr. 2003 à 19:15
Salut,

je commence le Delphi (gété au VB), et j'aimerai savoir comment on peut stocker le texte d'une Tedit dans une variable. En gros quel est l'équivalent de
variable = text1.text
en Delphi ?

Autre question: Comment se sert on du Shelle en Delphi sachant que le VB, c'est
Shell ("c:\windows\notepad.exe")

Merci

..................\\|//
.................(o o)
~~~~oOOo~(_)~oOOo~~~~
( '~.,.- [ Shad0w ] -.,.~' )
- Webmaster du site www.security-hack.fr.st
- Administrateur du forum www.forum4all.fr.fm

1 réponse

cs_Bestiol Messages postés 833 Date d'inscription dimanche 6 janvier 2002 Statut Membre Dernière intervention 3 novembre 2005 1
12 févr. 2003 à 19:15
Euh... Juste une question, avant : Tu n'es pas l'ancien xXShadowXx ??

Sinon, voici les réponses à tes questions :

-Tu peux faire :
"var Texte: String;
begin
...
Text := Edit1.Text; //tout simplement !!!
..."

-Il y a la fonction WinExec('notepad.exe');

Voilà voilà !!
Bonne prog' !
[mailto:bestiol@cario.fr Bestiol. ]
0
Rejoignez-nous