right | |||||||
Type | property | ||||||
Dictionary | LCS | ||||||
Library | LiveCode Script | ||||||
Syntax |
| ||||||
Associations | stack, card, field, button, graphic, scrollbar, player, image, group | ||||||
Summary | Specifies how far an object's right edge is from the left edge of the window or screen. | ||||||
Introduced | 1.0 | ||||||
OS | mac, windows, linux, ios, android | ||||||
Platforms | desktop, server, mobile | ||||||
Example |
| ||||||
Values |
| ||||||
Related | Keyword: card, control, integer Constant: left Property: pixels, left Command: group Object: stack Glossary: object, property, relative coordinates, absolute coordinates, stack window, error, negative | ||||||
Description | Use the right property to change the horizontal placement of a control or window. The right of a stack is in absolute coordinates|absolute (screen) coordinates. The right of a card is always the width of the stack window; setting the right of a card does not cause a script error, but it has no effect. The right of a group or control is in relative coordinates|relative (window) coordinates. Changing the right of an object shifts it to the new position without resizing it. To change an object's width, set its width or rectangle property. The width property of an object is equal to its right minus its left. | ||||||
Tags | ui |