| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > WindowManager > WindowManager Properties >====== AutoRefresh (reset window as needed flag) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[windowmanager properties.htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[autotoolbar set toolbar target on new tab selection .htm|{{btn_next_n.gif|Next page}}]] | | || | | **AutoRefresh** | **BYTE** | {{blk2blue.jpg|blk2blue.jpg}} The **AutoRefresh **property determines whether the WindowManager automatically resets the window and its associated objects whenever it detects a change. The WindowManager checks for changes after it processes each event. A value of one (1 or True) automatically resets the window; a value of zero (0 or False) does not automatically reset the window. AutoRefresh is particularly useful when resetting a BrowseClass object changes a field which is a range-limit of another BrowseClass object. **Implementation:** The Init method sets the AutoRefresh property to one. The TakeEvent method implements the action specified by AutoRefresh by calling the Reset method only if any registered BrowseClass objects have changed. The AddItem method registers BrowseClass objects with the WindowManager. **See Also:**     [[additem program the windowmanager object .htm|AddItem]], [[init initialize the windowmanager object .htm|Init]], [[reset reset the window for display .htm|Reset]]