Re: set text or caption to string

Posted by webmaster Guido on February 02, 2005

In Reply to: Re: set text or caption to string posted by Fred on January 16, 2005

: I want a memory container for store code or string
: in the program. ex...
: My program have no form1, just inputBox for input password and code, after 2 error exit program.
: Program is burn out, (thief nip code user).

Here's an example:

procedure TForm1.Button1Click(Sender: TObject);
var
  InputString: string;
begin
  InputString:= InputBox('Please give your name', 'Name:', '');
  // Next, do something with InputString:...
  // ...
end;

[ Delphi Tutorials -- by DelphiLand ]