How To : Adding a Function to a Class
Page Status: Beta
Contents |
[edit] Description
This document describes how to add a function to (and delete a function from) a class.
[edit] Prerequisites
Function()
Class
Understanding Bungee Logic
Understanding Solutions and Projects
Creating a Solution
Adding a Project to a Solution
[edit] Procedures
To add a function to a class:
- Right-click on the class and select Add Function.
- The function is displayed in the Solution Detail and is automatically selected.
- In the Property Editor, change the properties for the function as desired.
- If your function needs arguments, then for each needed argument:
- Right-click on the function in the Solution Detail and select Add Argument.
- The argument appears and has focus in the Solution Detail. In the Property Editor, set the properties for the argument as needed.
- In the Solution Detail, double-click the function to open it in the Design Editor.
- Add Bungee Logic statements to the Design Editor to achieve your desired functionality.
To delete a function from a class:
- Select the function.
- Click the Delete icon (red X) at the top of the Solution Detail.
[edit] Error Handling
[edit] Examples
See the Hello Bungee Connect tutorial.
[edit] Next Steps
Adding a Field to a Class
Adding a Form to a Class