Modifying object properties and events

You can modify object properties and events with the Object Inspector, the Formula bar, and the standard and text toolbars. This section describes the Object Inspector and the Formula bar. See DB2 QMF Visionary Developer's Guide for more information.

Modifying properties using the Object Inspector

The Object Inspector is a design tool that allows you to view and modify object properties or events. To see an object's properties in the Object Inspector, select the object by clicking it in the Scene editor, or select its name from the object list at the top of the Object Inspector. The property names display in the first column and the property's values display in the second column.

To edit an object property, type a new value in the property's value field (on the right) or select a new value from the list box. If you edit property values using the Formula bar or by manipulating the object in the Scene Editor, the new values are reflected in the Object Inspector.

If you select more than one object in the Scene Editor, the properties common to all the selected objects appear in the Object Inspector. When you make changes to common properties, all selected objects are updated.

The following figure shows the Properties page of the Object Inspector displaying the properties of a Text object.

For Text objects, the Value property determines the text the object shows. This property can be set to columns, parameters, or functions.

Some fields have lists containing possible values. Click a field to see its list button and then click the button to see the list.

You can use the expander button to display subproperties.

Creating events using the Object Inspector

You can assign events to objects so that when the user performs a specific task, an action occurs. For example, a user clicks a button to jump back to the previous scene.

Use the Events page of the Object Inspector to add events to objects. The events you have defined appear in bold.

To add an event to an object:

  1. Click the Events tab on the Object Inspector to see the Events page.
  2. Double-click an event type.
  3. In the Object Behavior dialog box, select an action from the list. Select a scene parameter to set, if necessary.
  4. Fill out the dialog box that appears to specify the details of the event.
  5. Click OK.

The name for the event you defined appears in bold in the Object Inspector.

Modifying properties using the Formula bar

The Formula bar allows you to edit the value object properties using buttons to easily add functions, column names, and number formatting.

By default, the Formula bar displays the value of the property selected in the Object Inspector. You can also select an object property from the list on the left side of the Formula bar. This list displays all objects and their properties.

The following shows the Formula Bar.

To specify a function in an expression:

  1. Click the Function button to display the Insert Function dialog box.
  2. Select the version of a function whose argument is the data type of the column on which it will act and click OK.
  3. In the Formula field, highlight the data type argument in the function and click the Column button.
  4. Select a column and click OK.

To place a number format template in an expression:

  1. Place your cursor in the expression where you want the format template placed.
  2. Click the Format Number button to display a list of formatting templates.
  3. Click the format template you want inserted into the expression.


Go to the previous page    Go to the next page

Downloads | Library | Support | Support Policy | Terms of use | Feedback
Copyright IBM Corporation 1982,2004 Copyright IBM Corporation 1982, 2004