| **Navigation:**  [[abc library reference.htm|ABC Library Reference]] > EntryLocatorClass > EntryLocatorClass Methods >====== Update (update the locator control and free elements) {{c6h0009.jpg|C6H0009.jpg}} ====== | [[takekey process an alerted keystroke entrylocatorclass .htm|{{btn_prev_n.gif|Previous page}}]][[abc library reference.htm|{{btn_home_n.gif|Return to chapter overview}}]][[updatewindow redraw the locator control .htm|{{btn_next_n.gif|Next page}}]] | | || **Update, PROTECTED, VIRTUAL** {{blk2blue.jpg|blk2blue.jpg}} The **Update **method redraws the locator control and updates the free key elements in the record buffer with the current locator value. **Implementation:** The Update method primes the FreeElement property with the current search value (the Shadow property), then calls the UpdateWindow method to redraw the locator control. **Example:** **MyBrowseClass.UpdateWindow PROCEDURE        !update browse related controls** ** CODE** ** IF ~(SELF.Sort.Locator &= NULL)            !if locator is present** **  SELF.Sort.Locator.UpdateWindow            !redraw locator control** ** END** **See Also:     **[[freeelement the locator s first free key element .htm|FreeElement]], [[shadow the search value .htm|Shadow]], [[updatewindow redraw the locator control .htm|UpdateWindow]]