Error getting tags :
error 404Error getting tags :
error 404 selectionChanged | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
selectionChanged
Basics
Expander triangle
Type
Message
Syntax

selectionChanged

Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Sent to a field or player when the selection is changed.
Examples

on selectionChanged -- display selected char number
put word 2 of the selectedChunk into field "Character Number"
end selectionChanged

Additional Comments
Expander triangle

Handle the selectionChanged message if you want to perform updates or do some action when the user changes the selected text of a field or the selected portion of a player.

Comments:

The selectionChanged message is sent to a field whenever the user makes a text selection or moves the insertion point in the field, after the selection is changed. (The selectionChanged message is not sent if the user uses the arrow keys to change the selection. To respond to use of the arrow keys, handle the rawKeyUp message and check the selection within the handler.)

The selectionChanged message is sent to a player whenever the user selects a portion of the sound or movie, or when a handler sets the player's startTime or endTime property.

Note: If an already-selected-item in a list is reselected a selectionChanged message will still be sent.

User Comments
Expander triangle
User thumbnail
Peter Haworth
StarStarStarStarStar
Feb 6, 2011
A selectionChanged message is sent by the datagrid library when a user clicks on a row in a datagrid.