(page requirements)

Getting user input the easy way

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 := 
    'Your name: ', 
    'no name' );
Listing #1 : Delphi code. Download inputbox (0.19 KB).
Applicable Keywords : Delphi, Delphi 1.x, Delphi 2.x, Delphi 3.x, Functions, User Interface
Copyright © 2009 Chami.com. All Rights Reserved. | Advertise | Created in HTML Kit editor