'How to create a Input box with a functioning cancel button and a ability to have a default value
When using a InputBox I can add a default value for the text field. Like this:
inputbox('value Enter', 'enter a value', 'default value');
Unfortunately, the cancel button can not be used properly. When cancel is pressed, the inputbox gives the default value. Which is not ideal.
There also exists a 'inputquery' dialog, which has a functioning dialog, but no options for a default value.
inputquery('Title', 'enter a value', variabile1);
This pretty much leaves the only option of designing a new form to use as a dialog, but that is also not ideal.
Is there a dialog which has a functioning cancel button and a option for default values?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
