[Home]
[Edit this page]
[Recent Changes]
[Special Pages]
[Help]
CppVclInputBox
To use InputBox, #include the header file dialogs.hpp.
If successful, the user's input is returned, else the default value is returned.
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
CppVclInputBox
(C++ VCL) InputBox
A dialog asking for a value.To use InputBox, #include the header file dialogs.hpp.
const String userInput = InputBox( "Hello World", //The caption of the InputBox "What do you want me to say?", //The question asked "Nothing"); //The default value if (userInput!="Nothing") ShowMessage(userInput);
If successful, the user's input is returned, else the default value is returned.
'InputBox' links
- ?C++ CLX
- C++ Builder
- Pascal VCL
- Pascal CLX
[Edit this page] [Page history] [What links here] [Discuss this topic] [Printer Friendly]
