User Tools

Site Tools


updatebuffer_copy_selected_item_from_queue_buffer_to_file_buffer_.htm
Navigation:  ABC Library Reference > BrowseClass > BrowseClass Methods >====== UpdateBuffer (copy selected item from queue buffer to file buffer) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

UpdateBuffer, VIRTUAL

blk2blue.jpg

The UpdateBuffer method copies corresponding data from the queuefield fields to the filefield fields specified by the AddField method for the currently selected browse item (using the value of SELF.CurrentChoice). Typically these are the browse list's queue buffer fields and the file buffer fields so that the file buffers match the currently selected browse list item.

Implementation:

Many of the BrowseClass methods call the UpdateBuffer method.

Example:

IF FIELD() = ?FirstTab      !if first tab selected

 IF MyBrowse.SetSort(1,0)   !apply the first sort order

  MyBrowse.ResetThumbLimits !if sort changed, reset thumb limits

 END

 MyBrowse.UpdateBuffer      !update file buffer from selected item

 MyBrowse.UpdateResets      !update file buffer from reset fields

END

See Also:     AddField

updatebuffer_copy_selected_item_from_queue_buffer_to_file_buffer_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1