Jump to content

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

From Flowcode Help
No edit summary
m Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead""
 
(10 intermediate revisions by 2 users not shown)
Line 16: Line 16:


==Component Source Code==
==Component Source Code==
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]
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 48:


==Examples==
==Examples==




Line 61: Line 75:




==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;"
 
 
 
 
 
==Macro reference==
 
===InputMessageBox===
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''InputMessageBox'''
| width="90%" class="mtx-class-macrohead" | '''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 
| 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 
Line 127: Line 116:




 
===YesNoCancelMessageBox===
 
{| class="mtx-class-macrotable wikitable"
==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;"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''YesNoCancelMessageBox'''
| width="90%" class="mtx-class-macrohead" | '''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 
| 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 
Line 156: Line 135:




{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
===YesNoMessageBox===
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" align="center" | [[File:Fc9-comp-macro.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-comp-macro.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''YesNoMessageBox'''
| width="90%" class="mtx-class-macrohead" | '''YesNoMessageBox'''
|-
|-
| colspan="2" | Creates a simple Yes/No message box with a user message. Returns True for Yes and False for No 
| colspan="2" | Creates a simple Yes/No message box with a user message. Returns True for Yes and False for No 
Line 172: Line 152:
| width="90%" style="border-top: 2px solid #000;" | ''Return''
| 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==
==Property reference==


{| class="wikitable" style="width:60%; background-color:#FFFFFF;"
{| class="mtx-class-macrotable wikitable"
|-
|-
| width="10%" align="center" style="background-color:#D8C9D8;" | [[File:Fc9-prop-icon.png]]
| width="10%" align="center" class="mtx-class-macrohead" | [[File:Fc9-prop-icon.png]]
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''Properties'''  
| width="90%" class="mtx-class-macrohead" | '''Properties'''  
|-
|-
|}
|}

Latest revision as of 14:22, 13 July 2026

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

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


YesNoCancelMessageBox

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

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


Property reference

Properties