Chapter Contents

Previous

Next
Toolbar: _repopulate

Toolbar: _repopulate



Refills a toolbar with its original items


Syntax
Details
See Also

Syntax

CALL NOTIFY (toolbar-name, '_repopulate');


Details

_repopulate re-reads the information about the toolbar from the button data source specified by the _populate instance variable and reconfigures and redisplays the toolbar based on this new information. Note that _repopulate does not reread the toolbar instance variables. Use the _update method to reread the instance variables as well as the button data source.

To change one attribute on one button, use a method like _setImage, but to make significant changes to the toolbar button list, changing the list and calling _repopulate is more efficient. For example, you might call _repopulate after changing all the IMAGE items in the list that populates the toolbar.

See Also

_update


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.