How To : Adding a Function or Field Override

Jump to: navigation, search

Back to Concepts and HOW TOs

Contents

[edit] Description

This document describes how to add function and field overrides. 

[edit] Prerequisites

Understanding Function and Field Overrides
Functions
Class
Understanding Bungee Logic
Understanding Solutions and Projects
Creating a Solution
Adding a Project to a Solution

[edit] Procedure

To add a function override to a class:

  1. Right-click on the class and select Add Override. A dialog box is displayed containing all of the available fields and functions that can be overriden.
  2. Select the function you want to override in the left column of the dialog box and click the >> button (alternatively, double click the fuction in the left column to add it to the right column).
  3. Click OK to add the function override to the class.
  4. The function override has a light blue icon instead of a purple icon, indicating this is an override.
  5. In the Solution Detail, double-click the function to open it in the Design Editor.
  6. Add Bungee Logic statements for the desired functionality.

To delete a function override from a class:

  1. Select the function override.
  2. Click the Delete icon (red X) at the top of the Solution Detail.

To add a field override to a class:

  1. Right-click on the class and select Add Override. A dialog box is displayed containing all of the available fields and functions that can be overriden.
  2. Select the field you want to override in the left column of the dialog box and click the >> button (alternatively, double click the fuction in the left column to add it to the right column).
  3. Click OK to add the field override to the class.
  4. The field override has a light blue icon instead of a green icon, indicating this is an override.
  5. In the Solution Detail, select the field override.
  6. In the Property Editor, change/set the properties for the field.

To delete a function override from a class:

  1. Select the field override.
  2. Click the Delete icon (red X) at the top of the Solution Detail.

[edit] Error Handling

 

[edit] Examples

 

[edit] Next Steps

Adding a Form to a Class

[edit] Tags


Log in if you would like to rate this page.
    Copyright © 2005 - 2007 Bungee Labs. All rights reserved.