Difference between revisions of "Assigning Code to an Existing Component"

From Flowcode Help
Jump to navigationJump to search
Line 4: Line 4:
 
[https://www.youtube.com/watch?v=xhvrwILJA38 Component Creation 1]
 
[https://www.youtube.com/watch?v=xhvrwILJA38 Component Creation 1]
 
</div>
 
</div>
 +
 +
The video shows Events within the '''Project Explorer'''.
 +
For component creation editing etc., you will need to add the '''Events''' and '''Built-in Functions''' tabs to the [[Using_the_Project_Explorer|'''Project Explorer''']] as by default they are not added.
 +
 +
To add tabs, Select '''File''' > [[Global_Settings|'''Global Settings''']] >> [[Global_Settings#UI_Trees|'''UI Trees tab''']]
 +
 +
Select '''Built-in Functions''' from within '''Available Tabs''' window  and click '''Add >>''' next to '''Project Explorer''' window
 +
 +
[[file: Assigning Code to an Existing Component1.png]]
 +
 +
Repeat for '''Events''' selection.
 +
 +
The order of the tabs van be moved by selecting the function, then clicking the up/down arrows on the right.
 +
 +
Select '''OK''', then reload Flowcode so make sure your project is saved first.
 +
 +
There will be some difference as the video is demonstrating with an older version of Flowcode.

Revision as of 09:49, 6 October 2023

Here is a brief video detailing how to wrap up your custom macros into a component that can be re-used in many projects. This should also prove useful to anyone wanting to understand the basics of creating a component in Flowcode.

The video shows Events within the Project Explorer. For component creation editing etc., you will need to add the Events and Built-in Functions tabs to the Project Explorer as by default they are not added.

To add tabs, Select File > Global Settings >> UI Trees tab

Select Built-in Functions from within Available Tabs window and click Add >> next to Project Explorer window

Assigning Code to an Existing Component1.png

Repeat for Events selection.

The order of the tabs van be moved by selecting the function, then clicking the up/down arrows on the right.

Select OK, then reload Flowcode so make sure your project is saved first.

There will be some difference as the video is demonstrating with an older version of Flowcode.