Huge Collections of Software Manuals and Knowledgebase

GreatManuals.com
Huge Collections of Software Manuals and Knowledgebase

 
Home Contact us Request to publish your help manuals Request to remove your help manuals Buy Now
Introduction
» ConceptDraw
» ConceptDraw for Business & Technical Drawing
» What's New?
» Registration/Subscribing/Downloading Updates
» Technical Support
Getting Started
» Starting Your Work in ConceptDraw
» Working Environment
» Creating Diagram
» What You Can Use ConceptDraw For
Document
» Document
» Importing Files
» Exporting Document
» Printing Document
» Pages
» Layers
» Working with Document
» Document Properties
» Document Templates
Shapes
» Shapes
» Drawing Shape with Drawing Tools
» Inserting Shape from Library
» Operations
» Connecting Shapes
» Shape Properties
» Pictures
» Defining and Using Named Styles
» Custom Properties
» Text
Libraries
» Libraries
» Using Libraries and Library Shapes
» Creating and Editing Libraries
» Searching Shapes in Libraries
» Internet
Shape Parameter Table
» Shape Parameter Table
» Table's Sections
» Formulas
» Adding Control Handles to Shape
» Using Formulas to Control Shapes
» Variables Describing Document
» Object Properties Management using Tables
» OLE Objects
Customizing Working Environment
» Application Preference
» Customizing Toolbars
» Customizing Floating Dialog
» Working with Windows
» Workspace Files
ConceptDraw Basics
» Conceptual Information
» Working with the Basic Editor in ConceptDraw
 
Buy ConceptDraw Online! Buy ConceptDraw Online!

Using Formulas to Control Shapes

In ConceptDraw it became possible to program behavior of shapes, which is triggered by an event - such as repositioning the shape, resizing it, etc.

Events are specified in formulas, separated with a semicolon:

<formula>; <event1>; <event2>; <event3>

  stealth keylogger sms software
thumb drive recovery best software help xd card data recovery
data leakage protection setup maker disk repair software

On event a formula is re-calculated and the contents of cells, referenced to by the formula, is updated.

Below is an example of how the program handles events. In the example there is a connector connected to two shapes.

The are the cells from the Glue Info section:

ConnectObjBegin

1;ShapeID1.EventMove

ConnectObjEnd

2;ShapeID2.EventMove

After the semicolon go the events on which the parameters will be re-calculated (when either of the shapes is moved). The parameters themselves - the IDs of the connected shapes - are not changed, however, other parameters in the EndPoints section are dependent on them.

BeginX

_CONNECTBEGINX(ConnectObjBegin;ConnectObjEnd;ConnectTypeBegin)

BeginY

_CONNECTBEGINY(ConnectObjBegin;ConnectObjEnd;ConnectTypeBegin)

EndX

_CONNECTENDX(ConnectObjBegin;ConnectObjEnd;ConnectTypeEnd)

EndY

_CONNECTENDY(ConnectObjBegin;ConnectObjEnd;ConnectTypeEnd)

These parameters include the parameters, to which the event is assigned and they will be re-calculated on that event.

Let's describe the events that exist in ConceptDraw.

Shape's Events.

The following events can be assigned to any ConceptDraw shape. They are specified in the formula in this form:

[<shape_name>.]<event_name>

Event

Triggered When

EventMove

The shape is moved.

EventResize

The shape is resized.

TextEventMove

The shape's text box is moved.

TextEventResize

The shape's text box is resized.

CharPropEvent

The Character Properties section of the table or text formatting in shape are changed.

Also, changing any variable in the parameter table can be an event. For instance, if after a semicolon you write <shape_name>.Width in a formula, the formula will be re-calculated only when the width of the specified shape is changed.

Buy ConceptDraw Online! Buy ConceptDraw Online!
Home | Contact Us | Request to publish your help manuals | Request to remove your help manuals