Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) VCL InputBox

 

A VCL 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);

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict

This page has been created by the tool CodeToHtml