InputBox (C++)
From RAD Studio XE2 Code Examples
Language:
Description
This example displays an input dialog box when you click a button on the form. The input dialog box includes a prompt string and a default string. The string you enter in the dialog box is stored in the InputString variable and the text edit.
Code
void __fastcall TForm1::Button1Click(TObject *Sender) { String InputString = InputBox(L"Input Box", L"Prompt", L"Default ઞએઽ૪ string"); Edit1->Text = InputString; }
Uses
- Vcl.Dialogs.InputBox ( fr | de | ja )