Error getting tags :
error 404Error getting tags :
error 404 topRight | revDocs | RunRev
Welcome Guest (Log in)
Product Edition
Version
topRight
Basics
Expander triangle
Type
Property
Syntax
set the topRight of object to right,top
Introduced
1.0
Environment
Desktop, Web and Server
Platform Support
MacOS,Mac OS X,Windows,Linux
Security
None required
Summary
Specifies the location of the specified object's upper right corner.
Examples

set the topRight of this stack to 0,20

Additional Comments
Expander triangle

Use the topRight property to change the placement of a control or window.

Value:

The topRight of an object is any expression that evaluates to a point--two integers separated by a comma.

The first item of the topRight is the distance in pixels from the left edge of the screen (for stacks) or card (for any other object) to the right edge of the object. The second item is the distance in pixels from the top edge of the screen (for stacks) or card (for any other object) to the top edge of the object.

For cards, the topRight property is read-only and cannot be set.

Comments:

The topRight of a stack is in absolute (screen) coordinates. The first item (the right) of a card's topRight property is always the width of the stack window; the second item (the top) is always zero. The topRight of a group or control is in relative (window) coordinates.

In window coordinates, the point 0,0 is at the top left of the stack window. In screen coordinates, the point 0,0 is at the top left of the screen.

Changing the topRight of an object moves it to the new position without resizing it. To change an object's size, set its height, width, or rectangle properties.

Important! The order of the top and rightparameters is reversed compared to the property name: right comes first, then top.

User Comments
Expander triangle