Init(initialize the BrowseClass object) 

Top  Previous  Next

 

Init(

|listcontrol, viewposition, view, listqueue, relationmanager, windowmanager |)

 

|ilistcontrol, view, browsequeue, relationmanager, windowmanager |

Init

Initializes the BrowseClass object.

listcontro

A numeric constant, variable, EQUATE, or expression containing the control number of the browse's LIST control.

ilistcontrol

A reference to an IListControl interface.

viewposition

The label of a string field within the listqueue containing the POSITION of the view.

view

The label of the browse's underlying VIEW.

listqueue

The label of the listcontrol's data source QUEUE.

browsequeue

A reference to a BrowseQueue interface.

relationmanager

The label of the browse's primary file RelationManager object. See Relation Manager for more information.

windowmanager

The label of the browse's WindowManager object. See Window Manager for more information.

The Init method initializes the BrowseClass object.

Init(listcontrol, viewposition, view, listqueue, relationmanager, windowmanager)

Initializes the BrowseClass object using the Standard Behaviour interface. For more information see the StandardBehaviour section.

 

Init(ilistcontrol, view, browsequeue, relationmanager, windowmanager)

Initializes the BrowseClass object without the Standard Behaviour interface. The Init method calls the PARENT.Init (ViewManager.Init) method to initialize the browse's ViewManager object. See View Manager for more information. The Init method instantiates a PopupClass object for the browse. The Init method calls the WindowManager.AddItem method to register its presence with the WindowManager.

Example:

CODE                 !Setup the BrowseClass object:

BrowseState.Init(?StateList,|    ! identify its LIST control,

    StateQ.Position,       |    ! its VIEW position string,

    StateView,             |    ! its source/target VIEW,

    StateQ,                |    ! the LIST's source QUEUE,

    Relate:State           |    ! the primary file RelationManager

    ThisWindow)                 ! the WindowManager

See Also:     ViewManager.Init, PopupClass, WindowManager.AddItem, StandardBehavior Interface