Mailtraq - the Complete Email Server
   

Enstar for Mailtraq email server sales & support
Making world-class Internet technology affordable  

InputDlg()

Places a dialog box for user input at centre-screen of the machine on which Mailtraq is running. Script execution is halted until the user responds to or dismisses the dialog. Keyboard input from the user while the dialog is displayed is held in a nominated variable.

result := InputDlg( title , prompt , input )

title
A string to display in the title bar of the dialog
prompt
A string to display in the dialog to prompt the user for appropriate input
input
A string to display, usually an example, in the user input textbox of the dialog. User input is also captured to this variable.
result
Boolean: "TRUE" if dialog accepted; "FALSE" if cancelled

Run the following example to demonstrate usage

source := "user@example.invalid";
input := source;
result := InputDlg("Dummy Subscription Search", 
  "Please enter an address dummy", "input");
If(result,
  If(input = source,
    MessageDlg("You didn't change the address dummy!", "W"),
    If(Length(input) > 0,
      MessageDlg("You wish to search for " ++ input ++ "?", 
        "C", "Yes, No, Cancel"),
      MessageDlg("You deleted the input address!", "E", "Ok")
    )
  ),
  MessageDlg("You cancelled the dialog, didn't you?", "C", 
    "Ok, Yes, No, Cancel")
)


 

Download Trial
Buy now
Screenshots
Requirements
Feature Tree
FAQs
What's new
Print this pagePrint this Page  
Mailtraq 2.12 PDFDatasheet  
Send a friend an email about MailtraqShareMailtraq - Email Server at Delicious Mailtraq - Mail Server at digg Mailtraq - Mail Server at FacebookMailtraq - Email Server at stumbleupon Tweet about Mailtraq 

 

 

 
Mailtraq Highlights...
 SMTP Server     Mailtraq SMTP server video IMAP Server     Mailtraq IMAP Server video
 POP3 Server     Mailtraq POP3 server video Proxy Server     Mailtraq proxy server video
 Webmail Server     Mailtraq webmail server video Mailing-list Server     Mailing list server video
 Groupware Services     Mailtraq groupware services video Spam and Virus control     Spam and virus control video
   Copyright © 2003 - 2011 Enstar Ltd, Enstar LLC & Fastraq Ltd. All rights reserved. Privacy policy.
   Mailtraq® is a registered trademark of Fastraq Limited.