24.12.2012 Views

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

ER/Studio - Embarcadero Technologies Product Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

AUTOMATING <strong>ER</strong>/STUDIO ><br />

Here is a more detailed explanation. When you edit the entity name and change it to Entity1, you also automatically<br />

add a prefix to the name. By modifying the case statement in the body of the UpdateEntityHandler function in the<br />

manner shown above, the entity name becomes <strong>ER</strong>SEntity1.<br />

Notes<br />

• When <strong>ER</strong>/<strong>Studio</strong> starts, it reads in all the update event handler functions from the file <strong>ER</strong>SUpdateHandlers.bas.<br />

Modifications to these functions while the application is running have no effect. You must restart <strong>ER</strong>/<strong>Studio</strong> for the<br />

modifications to take effect.<br />

• A user cannot declare a specific object type (for example, Entity) in the update event handler functions. All<br />

objects must be declared as the generic Object type.<br />

See Also<br />

Related Topics<br />

Adding Macros to GUI Modeling Menus<br />

The Add/Remove Macros dialog box lets you add shortcuts to macros that you want to quickly access from various<br />

places in <strong>ER</strong>/<strong>Studio</strong>. This dialog box is supported from the Main Menu, as well as the diagram, Entity, View, and<br />

Relationship shortcut menus. You can add up to ten macros for each object.<br />

Notes<br />

• The point at which you open the dialog box, is where <strong>ER</strong>/<strong>Studio</strong> adds the shortcut. For example, if you right-click<br />

an entity and then click Add/Remove Macro Shortcuts, <strong>ER</strong>/<strong>Studio</strong> opens the Add/remove Macros Dialog box and<br />

indicates Entity in the title bar.<br />

• You can only add ten macros for each object.<br />

EMBARCAD<strong>ER</strong>O TECHNOLOGIES > <strong>ER</strong>/STUDIO® 8.0.3 US<strong>ER</strong> GUIDE 312

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!