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

From Flowcode Help
Jump to navigationJump to search
(Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | Matrix TSL |- | width="20%" style="color:gray;" | Version | 1.0 |- | width="20%" style="color:gray...")
 
 
(7 intermediate revisions by the same user not shown)
Line 17: Line 17:
 
==Component Source Code==
 
==Component Source Code==
  
Please click here for the component source code: [https://www.flowcode.co.uk/wikicopy/componentsource/FC_Comp_Source_DialogueInputs.fcsx FC_Comp_Source_DialogueInputs.fcsx]
+
Please click here to download the component source project: [https://www.flowcode.co.uk/wiki/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 38: Line 48:
  
 
==Examples==
 
==Examples==
 +
 +
 +
 +
 +
 +
 +
 +
  
  
Line 55: Line 73:
  
 
''<span style="color:red;">No additional examples</span>''
 
''<span style="color:red;">No additional examples</span>''
 +
 +
 +
 +
 +
 +
 +
 +
 +
 +
  
  
 
==Macro reference==
 
==Macro reference==
  
 +
===InputMessageBox===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''YesNoCancelMessageBox'''
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''InputMessageBox'''
 
|-
 
|-
| 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&nbsp;
+
| 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&nbsp;
 
|-
 
|-
 
|-
 
|-
Line 72: Line 101:
 
| colspan="2" | The message to display to the user&nbsp;
 
| colspan="2" | The message to display to the user&nbsp;
 
|-
 
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-u8-icon.png]] - BYTE
+
| width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
 +
| width="90%" | Caption
 +
|-
 +
| colspan="2" | The input field caption&nbsp;
 +
|-
 +
| width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
 +
| width="90%" | Input
 +
|-
 +
| colspan="2" | The input string entered by the user&nbsp;
 +
|-
 +
| 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''
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
|}
  
  
 +
===YesNoCancelMessageBox===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''YesNoMessageBox'''
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''YesNoCancelMessageBox'''
 
|-
 
|-
| colspan="2" | Creates a simple Yes/No message box with a user message. Returns True for Yes and False for No&nbsp;
+
| 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&nbsp;
 
|-
 
|-
 
|-
 
|-
Line 90: Line 130:
 
| colspan="2" | The message to display to the user&nbsp;
 
| colspan="2" | The message to display to the user&nbsp;
 
|-
 
|-
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-bool-icon.png]] - BOOL
+
| 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''
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
|}
  
  
 +
===YesNoMessageBox===
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
 
|-
 
|-
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
 
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''InputMessageBox'''
+
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''YesNoMessageBox'''
 
|-
 
|-
| 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&nbsp;
+
| colspan="2" | Creates a simple Yes/No message box with a user message. Returns True for Yes and False for No&nbsp;
 
|-
 
|-
 
|-
 
|-
Line 107: Line 148:
 
|-
 
|-
 
| colspan="2" | The message to display to the user&nbsp;
 
| colspan="2" | The message to display to the user&nbsp;
|-
 
| width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
 
| width="90%" | Caption
 
|-
 
| colspan="2" | The input field caption&nbsp;
 
|-
 
| width="10%" align="center" | [[File:Fc9-string-icon.png]] - STRING
 
| width="90%" | Input
 
|-
 
| colspan="2" | The input string entered by the user&nbsp;
 
 
|-
 
|-
 
| width="10%" align="center" style="border-top: 2px solid #000;" | [[File:Fc9-bool-icon.png]] - BOOL
 
| 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''
 
| width="90%" style="border-top: 2px solid #000;" | ''Return''
 
|}
 
|}
 
 
  
  

Latest revision as of 13:09, 7 February 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

InputMessageBox

Fc9-comp-macro.png 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 
Fc9-string-icon.png - STRING Message
The message to display to the user 
Fc9-string-icon.png - STRING Caption
The input field caption 
Fc9-string-icon.png - STRING Input
The input string entered by the user 
Fc9-bool-icon.png - BOOL Return


YesNoCancelMessageBox

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


YesNoMessageBox

Fc9-comp-macro.png YesNoMessageBox
Creates a simple Yes/No message box with a user message. Returns True for Yes and False for No 
Fc9-string-icon.png - STRING Message
The message to display to the user 
Fc9-bool-icon.png - BOOL Return


Property reference

Fc9-prop-icon.png Properties