Navigation:  ABC Library Reference > BrowseClass > BrowseClass Methods >====== PostNewSelection (post an EVENT:NewSelection to the browse list) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

PostNewSelection

blk2blue.jpg

The PostNewSelection method posts an EVENT:NewSelection to the browse list to support scrolling, inserts, deletes, and other changes of position within the browse list.

Implementation:

Event EQUATEs are declared in EQUATES.CLW.

Example:

UpdateMyBrowse ROUTINE
!update code
MyBrowse.ResetFromFile           !after insert or change, reload Q from file
MyBrowse.PostNewSelection        !after update, post a new selection event
                                 !so window gets properly refreshed
SELECT(?Browse)                  !set focus to browse control

See Also: ResetFromFile