Difference between revisions of "Component: Choose File ( Control)"
From Flowcode Help
Jump to navigationJump to search (Created page with "{| style="width:50%" |- | width="20%" style="color:gray;" | Author | MatrixTSL |- | width="20%" style="color:gray;" | Version | 0.1 |- | width="20%" style="color:gray;...") |
|||
Line 28: | Line 28: | ||
''<span style="color:red;">No additional examples</span>'' | ''<span style="color:red;">No additional examples</span>'' | ||
+ | |||
+ | |||
==Macro reference== | ==Macro reference== | ||
Line 37: | Line 39: | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetFileCount''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetFileCount''' | ||
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Returns the number of files selected by the user |
|- | |- | ||
|- | |- | ||
Line 51: | Line 53: | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetFileName''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetFileName''' | ||
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Returns the name of a file selected by the user |
|- | |- | ||
|- | |- | ||
Line 70: | Line 72: | ||
| width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetFileSize''' | | width="90%" style="background-color:#D8C9D8; color:#4B008D;" | '''GetFileSize''' | ||
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Returns the size of one of the files selected by the user |
|- | |- | ||
|- | |- | ||
Line 98: | Line 100: | ||
| width="90%" | Multiple Files | | width="90%" | Multiple Files | ||
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Set to allow multple files to be chosen at the same time |
|- | |- | ||
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
Line 112: | Line 114: | ||
| width="90%" | Font Size | | width="90%" | Font Size | ||
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | The font size in pixels |
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-7-icon.png]] | ||
| width="90%" | Bold | | width="90%" | Bold | ||
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Make the text bold |
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-7-icon.png]] | ||
| width="90%" | Italic | | width="90%" | Italic | ||
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Make the text italicised |
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-7-icon.png]] | ||
| width="90%" | Underline | | width="90%" | Underline | ||
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Make the text underlined |
|- | |- | ||
| width="10%" align="center" | [[File:Fc9-type-7-icon.png]] | | width="10%" align="center" | [[File:Fc9-type-7-icon.png]] | ||
| width="90%" | Strikethrough | | width="90%" | Strikethrough | ||
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Make the text crossed-out |
|- | |- | ||
| width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | | width="10%" align="center" style="background-color:#EAE1EA;" | [[File:Fc9-conn-icon.png]] | ||
Line 155: | Line 157: | ||
| width="90%" | Custom Attributes | | width="90%" | Custom Attributes | ||
|- | |- | ||
− | | colspan="2" | | + | | colspan="2" | Text here will be added to the html tag of this component to allow advanced customisation |
|} | |} |
Latest revision as of 15:07, 5 December 2023
Author | MatrixTSL |
Version | 0.1 |
Category | Control |
Contents
Choose File component
Allows a file to be selected
Component Source Code
Please click here to download the component source project: FC_Comp_Source_WEBEXP_ChooseFile.fcsx
Please click here to view the component source code (Beta): FC_Comp_Source_WEBEXP_ChooseFile.fcsx
Detailed description
No detailed description exists yet for this component
Examples
No additional examples
Macro reference
GetFileCount
![]() |
GetFileCount |
Returns the number of files selected by the user | |
![]() |
Return |
GetFileName
![]() |
GetFileName |
Returns the name of a file selected by the user | |
![]() |
index |
Use '0' for the first file, '1' for the second, etc. | |
![]() |
Return |
GetFileSize
![]() |
GetFileSize |
Returns the size of one of the files selected by the user | |
![]() |
index |
Use '0' for the first file, '1' for the second, etc. | |
![]() |
Return |