RAD Studio (Common)
ContentsIndex
PreviousUpNext
Specifying Entry and Exit Actions

You can create entry and exit actions as nodes, or as stereotyped internal transitions.

To specify entry and exit actions using the in-place editor:

  1. Create an internal transition in the desired state.
  2. Double-click the internal transition to enable in-place editing.
  3. Rename the internal transition using the following syntax:

stereotype/actionName(argument) 

For example:

exit/setState(idle)
To specify entry and exit actions using internal transitions:

  1. Create the internal transition.
  2. Set the event name, event arguments, and action expression properties using the Object Inspector for the internal transition.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!