Applies To
TQDB, TQDBItem, TQDBView
Declaration
procedure UpdateNavigator;
Description
If a QDBNavigator is controlling the navigation of a QDB component or one of its descendants some form of feedback is necessary to let the navigator update the state of its buttons to reflect the state of the QDB file, e.g., to disable the edit button when the file is ReadOnly.
UpdateNavigator instructs the attached QDBNavigator (if there is one) to update itself. This method is called automatically by the "button" methods (e.g., FirstItem or Post) but not, for performance reasons, when setting ItemIndex directly or using one of the search or match methods. You can, however, call UpdateNavigator yourself when you judge it to be appropriate.