{"identifier":86710,"topic":"Properties","name":"height","text":"<code> set <\/code>[<code>the<\/code>]<code> height of <i>button<\/i> to <i>integer<\/i> set <\/code>[<code>the<\/code>]<code> height of <i>field<\/i> to <i>integer<\/i><u> <\/u>set <\/code>[<code>the<\/code>]<code> height of <i>card<\/i> to <i>integer<\/i> set <\/code>[<code>the<\/code>]<code> height of <i>window<\/i> to <i>integer<\/i><u> <\/u>get <\/code>[<code>the<\/code>]<code> height of menuBar <\/code> The<code> height <\/code>property returns or sets an integer equal to the height in pixels of an object or window. Setting the height of a button, field, or window resizes it. HyperCard maintains the location (center coordinate) of the object, expanding or shrinking it on both sides evenly. <br>\n<br>\n Setting the height of a card resizes <u>all<\/u> the cards in a stack. HyperCard forces the integer specifying the height to be an even number greater than 64 pixels. <br><br>\n\n You can't set the height of the menu bar. <br>\n","related":{"85301":"bottom","91818":"bottomRight","74022":"left","74795":"location","79936":"rectangle","86116":"right","62877":"screenRect","81344":"scroll","86868":"top","87153":"topLeft","89143":"width"},"examples":"the height of card button 1\nthe height of bkgnd field id 34\nthe height of this card\nthe height of message box\nthe height of tool window\nthe height of card window\n\nset the height of bkgnd button \"Next\" to the height of bg btn \"Prev\"","demo":"on growAndShrinkButton\n   repeat 15\n     set <b>height<\/b> of bkgnd btn \"Run the Script\" to \u00ac\n     (the <b>height<\/b> of bkgnd btn \"Run the Script\") + 2\n     wait 1\n   end repeat\n   repeat 15\n     set <b>height<\/b> of bkgnd btn \"Run the Script\" to \u00ac\n     (the <b>height<\/b> of bkgnd btn \"Run the Script\") - 2\n     wait 1\n   end repeat\n end growAndShrinkButton\n ","debug":{"9":["\rset [the] height of"],"10":["\rSetting the height "]}}