{"identifier":77883,"topic":"Properties","name":"number (property)","text":"<code><pre>the number of <i>button<\/i>\nthe number of <i>field<\/i>\nthe number of <i>card<\/i>\nthe number of <i>bkgnd<\/i>\nthe number of <i>window<\/i>\n<\/pre><\/code>\nThe<code> number <\/code>property returns the number of a button, field, card,  background, or window. (You cannot<code> set <\/code>a number.) The number of a button or field determines whether it\u2019s on top of other buttons and fields within the same layer (background or card) that contains it. Card objects are always on top of background objects. <br>\n<br>\nTo change the number of a button or field, select it and choose Send Farther and Bring Closer from the Objects menu, or change its<code> partNumber <\/code>property. <br><br>\n\n The number of a window reflects its front to back order (similar to the number of a button or field).  You can change a window's number by bringing it to the front (for example, by clicking it or by using the<code> show <\/code>command), or by covering it with other windws. <br>\n","related":{"73264":"ID\u00a0","77648":"name","59877":"number","100450":"partNumber"},"examples":"the number of bkgnd button \"Prev\"\nthe number of card field id 90\nthe number of this card\nthe number of this background\n\nif the number of this card = 1 then ...","demo":"<code><pre>on nameDemo\n  answer \"The number of bkgnd field \u201cDemo Script\u201d is:\" && \u00ac\n  the <b>number<\/b> of bkgnd field \"Demo Script\" & return & return & \u00ac\n  \"The number of this card is:\" && \u00ac\n  the <b>number<\/b> of this card & return & return & \u00ac\n  \"The total number of cards in the stack is:\" && \u00ac\n  the <b>number<\/b> of cards & return & return & \u00ac\n  \"The number of this background is:\" && \u00ac\n  the <b>number<\/b> of this bkgnd\nend nameDemo<\/pre><\/code>\n ","debug":{"9":["the number of button"],"10":["To change the number"]}}