{"identifier":87153,"topic":"Properties","name":"topLeft","text":"<code><pre>the topLeft of <i>card<\/i><u>\n<\/u>\nset <\/pre><\/code>[<code>the<\/pre><\/code>]<code> topLeft of <i>button<\/i> to <i>point<\/i> set <\/code>[<code>the<\/code>]<code> topLeft of <i>field<\/i> to <i>point<\/i> set <\/code>[<code>the<\/code>]<code> topLeft of <i>window<\/i> to <i>point<\/i><u> <\/u>get <\/code>[<code>the<\/code>]<code> topLeft of menuBar<u> <br><br>\n\n <\/u><\/code>The<code> topLeft <\/code>property returns or sets a<code> <i>point<\/i> <\/code>equal to items 1 and 2 of an element\u2019s rectangle. If you set<code> the topLeft <\/code>of an object, it moves; the object's size remains the same. You can\u2019t set<code> the topLeft <\/code>of cards: use the<code> rect<\/code>,<code> height<\/code>, and<code> width<\/code> properties to resize the cards in a stack. <br>\n<br>\nYou can\u2019t set<code> the topLeft <\/code>of the menu bar. <br><br>\n\n HyperCard determines<code> the topLeft <\/code>of buttons, fields, and HyperCard\u2019s built-in windows relative to the top-left corner of the current card.  <br><br>\n\n HyperCard determines<code> the topLeft <\/code>of the card window relative to the top-left corner of the screen with the menu bar. <br>\n","related":{"85301":"bottom","91818":"bottomRight","86710":"height","74022":"left","74795":"location","79936":"rectangle","86116":"right","62877":"screenRect","81344":"scroll","86868":"top","89143":"width"},"examples":"the topLeft of card button 1\nthe topLeft of bkgnd field id 34\nthe topLeft of this card\nthe topLeft of message box\nthe topLeft of tool window\nthe topLeft of card window\n\nset the topLeft of bkgnd button \"Next\" to the topLeft of bg btn \"Prev\"","demo":"","debug":{"9":["the topLeft of card\r"],"10":["You can\u2019t set the "]}}