When you don't feel like creating a Form just to get a simple input from your users, try using the "InputBox()" function. For example, if you want to get user's name to a string variable named "strName" try the following code:
strName :=
InputBox(
'Input',
'Your name: ',
'no name' );
InputBox(
'Input',
'Your name: ',
'no name' );
Listing #1 : Delphi code. Download inputbox (0.19 KB).


5:54 PM
iwan RFID

0 comments:
Post a Comment