{"identifier":88724,"topic":"Properties","name":"visible","text":"<code> set <\/code>[<code>the<\/code>]<code> visible of <i>button<\/i> \u00ac     to <i>trueOrFalse<\/i> set <\/code>[<code>the<\/code>]<code> visible of <i>field<\/i> \u00ac     to <i>trueOrFalse<\/i> set <\/code>[<code>the<\/code>]<code> visible of <i>window<\/i> \u00ac     to <i>trueOrFalse<\/i> set <\/code>[<code>the<\/code>]<code> visible of <i>externalWindow<\/i> \u00ac     to <i>trueOrFalse<\/i> set <\/code>[<code>the<\/code>]<code> visible of menuBar \u00ac     to <i>trueOrFalse<\/i> <br><br>\n\n <\/code>The<code> visible <\/code>property returns or sets whether a button, field, window, or the menu bar is visible on the screen. <br>\n<br>\n Setting the<code> visible <\/code>of a window to true makes it the frontmost window. <br><br>\n\n With external windows, an external command or external function must first create a window before the<code> visible <\/code>will work on it.<code> <\/code>Setting the<code> visible <\/code>of a window to true (showing it) will <u>not<\/u> create the window. Similarly, setting the<code> visible <\/code>of a window to false (hiding it) doesn't remove it from the window list (from memory); use the<code> close <\/code>command to dispose of a window. <br>\n","related":{"32483":"close","39797":"hide","47827":"show","82724":"showPict"},"examples":"","demo":"on flashButton\n   hideShowObject \"bkgnd btn id 57\", 6\n end flashButton\n <br><br>\n\n on hideShowObject whatObject, howManyTimes\n   repeat for (howManyTimes * 2) times\n     set the <b>visible<\/b> of whatObject to not the <b>visible<\/b> of whatObject\n   end repeat\n end hideShowObject\n ","debug":{"9":["\rset [the] visible o"],"10":["\rSetting the visible"]}}