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

set the cantSelect of object to {true | false}

Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Specifies whether a control can be selected with the Pointer tool.
Examples

set the cantSelect of field "Background" to true

Additional Comments
Expander triangle

Use the cantSelect property to protect a control from being changed by the user.

Value:

The cantSelect of a control is true or false.

By default, the cantSelect of a newly created control is false.

Comments:

If the cantSelect of a control is set to true, the user cannot select it (and so cannot resize it or move it). If a group or card has cantSelect set to true, all of its children will also act as if they have cantSelect set to true (i.e. They will also not be selectable.) You can use 'the effective cantSelect' to determine if the object, or any of its ancestors have cantSelect set.

When the user clicks the control with the Pointer tool, Revolution acts as though it has been clicked with the Browse tool. If the cantSelect is false, the user can click the control with the Pointer tool to select it.

A handler can still select the object, regardless of the setting of the cantSelect property.

User Comments
Expander triangle
User thumbnail
Craig Newman (dunbarx)
StarStarStarStarStar
Mar 10, 2010
With cantSelect set to "true", clicking an object invokes certain actions, but most messages are not sent. For example, "mouseUp" is not sent, though "mouseEnter" is. So, for example, in a list field with its cantSelect set to "true", it is possible to hilite a line by clicking on it, but not possible to trap, say, a "mouseDown" event.
The message "cRevUpdate" is always sent.
User thumbnail
Craig Newman (dunbarx)
StarStarStarStarStar
Mar 10, 2010
Sorry, this has my point better written....
With cantSelect set to "true", clicking an object witht the pointer tool invokes certain actions, but most messages are not sent. For example, "mouseUp" is not sent, though "mouseEnter" is. So, for example, in a list field with its cantSelect set to "true", it is possible to hilite a line by clicking on it, but not possible to trap, say, a "mouseDown" event.
The message "cRevUpdate" is always sent.