Jump to content

Component: Input Message Box (Dialogue Control): Difference between revisions

From Flowcode Help
No edit summary
No edit summary
Line 16: Line 16:


==Component Source Code==
==Component Source Code==
Please click here to download the component source project: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_DialogueInputs.fcsx FC_Comp_Source_DialogueInputs.fcsx]


Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_DialogueInputs.fcsx FC_Comp_Source_DialogueInputs.fcsx]
Please click here to view the component source code (Beta): [https://www.flowcode.co.uk/FlowchartView/?wfile=componentsource/FC_Comp_Source_DialogueInputs.fcsx FC_Comp_Source_DialogueInputs.fcsx]


==Detailed description==
==Detailed description==




Line 40: Line 44:


==Examples==
==Examples==




Line 62: Line 68:


==Macro reference==
==Macro reference==
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''YesNoCancelMessageBox'''
|-
| colspan="2" | Creates a simple Yes/No/Cancel message box with a user message. Returns 0 for Cancel, 1 for No and 2 for Yes 
|-
|-
| width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
| width="90%" | Message
|-
| colspan="2" | The message to display to the user 
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''YesNoMessageBox'''
|-
| colspan="2" | Creates a simple Yes/No message box with a user message. Returns True for Yes and False for No 
|-
|-
| width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
| width="90%" | Message
|-
| colspan="2" | The message to display to the user 
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-bool-icon.png]] - BOOL
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''InputMessageBox'''
|-
| colspan="2" | Creates a simple Yes/No input box with a user message and a caption. The Input variable returns the string the entered by the user. Returns True for Yes and False for No 
|-
|-
| width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
| width="90%" | Message
|-
| colspan="2" | The message to display to the user 
|-
| width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
| width="90%" | Caption
|-
| colspan="2" | The input field caption 
|-
| width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
| width="90%" | Input
|-
| colspan="2" | The input string entered by the user 
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-bool-icon.png]] - BOOL
| width="90%" style="border-top: 2px solid #000;" | ''Return''
|}
==Property reference==
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''
|-
|}==Macro reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"

Revision as of 15:21, 20 January 2023

Author Matrix TSL
Version 1.0
Category Dialogue Control


Input Message Box component

Creates simple dialogue boxes to collect information from a user. Available with multiple button options, OK, Yes / No / Cancel and User String input.

Component Source Code

Please click here to download the component source project: FC_Comp_Source_DialogueInputs.fcsx

Please click here to view the component source code (Beta): FC_Comp_Source_DialogueInputs.fcsx

Detailed description

No detailed description exists yet for this component

Examples

No additional examples


Macro reference

YesNoCancelMessageBox
Creates a simple Yes/No/Cancel message box with a user message. Returns 0 for Cancel, 1 for No and 2 for Yes 
- STRING Message
The message to display to the user 
- BYTE Return


YesNoMessageBox
Creates a simple Yes/No message box with a user message. Returns True for Yes and False for No 
- STRING Message
The message to display to the user 
- BOOL Return


InputMessageBox
Creates a simple Yes/No input box with a user message and a caption. The Input variable returns the string the entered by the user. Returns True for Yes and False for No 
- STRING Message
The message to display to the user 
- STRING Caption
The input field caption 
- STRING Input
The input string entered by the user 
- BOOL Return



Property reference

Properties

==Macro reference==

YesNoCancelMessageBox
Creates a simple Yes/No/Cancel message box with a user message. Returns 0 for Cancel, 1 for No and 2 for Yes 
- STRING Message
The message to display to the user 
- BYTE Return


YesNoMessageBox
Creates a simple Yes/No message box with a user message. Returns True for Yes and False for No 
- STRING Message
The message to display to the user 
- BOOL Return


InputMessageBox
Creates a simple Yes/No input box with a user message and a caption. The Input variable returns the string the entered by the user. Returns True for Yes and False for No 
- STRING Message
The message to display to the user 
- STRING Caption
The input field caption 
- STRING Input
The input string entered by the user 
- BOOL Return



Property reference

Properties

==Macro reference==

YesNoCancelMessageBox
Creates a simple Yes/No/Cancel message box with a user message. Returns 0 for Cancel, 1 for No and 2 for Yes 
- STRING Message
The message to display to the user 
- BYTE Return


YesNoMessageBox
Creates a simple Yes/No message box with a user message. Returns True for Yes and False for No 
- STRING Message
The message to display to the user 
- BOOL Return


InputMessageBox
Creates a simple Yes/No input box with a user message and a caption. The Input variable returns the string the entered by the user. Returns True for Yes and False for No 
- STRING Message
The message to display to the user 
- STRING Caption
The input field caption 
- STRING Input
The input string entered by the user 
- BOOL Return



Property reference

Properties