User Tools

Site Tools


autorefresh_reset_window_as_needed_flag_.htm
Navigation:  ABC Library Reference > WindowManager > WindowManager Properties >====== AutoRefresh (reset window as needed flag) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page
AutoRefresh BYTE

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, Init, Reset

autorefresh_reset_window_as_needed_flag_.htm.txt · Last modified: 2021/04/15 15:56 by 127.0.0.1