Error getting tags :
error 404Error getting tags :
error 404 selectedObjectChanged | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
selectedObjectChanged
Basics
Expander triangle
Type
Message
Syntax
selectedObjectChanged
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Sent to an object when it is selected.
Examples

on selectedObjectChanged -- update a property-display stack
repeat for each line thisObjectID in the selectedObjects
send "addToPalette" && thisObjectID to stack "Object Palette"
end repeat
end selectedObjectChanged

Additional Comments
Expander triangle

Handle the selectedObjectChanged message if you want to perform some action when an object is selected.

Comments:

When an object is selected, the selectedObjectChanged message is sent to the newly selected object.

When an object is deselected and no other object is selected--for example, when the user clicks the card or chooses the Browse tool--the selectedObjectChanged message is sent to the object being deselected.

User Comments
Expander triangle