User Tools

Site Tools


init_initialize_the_editclass_object_.htm
Navigation:  ABC Library Reference > EditClass > EditClass Methods >====== Init (initialize the EditClass object) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

Init( column, listbox, editedfield ), VIRTUAL

blk2blue.jpg

Init Initializes the EditClass object.
column An integer constant, variable, EQUATE, or expression that contains the edited column number of the listbox.
listbox An integer constant, variable, EQUATE, or expression that contains the control number of the edited LIST control–typically a BrowseClass object's LIST.
editedfield The fully qualified label of the edited field–typically a field in the BrowseClass object's QUEUE.

The Init method initializes the EditClass object.

Implementation:

The BrowseClass.AskRecord method calls the Init method. The Init method creates the edit-in-place control, loads it with the selected list item's data, and alerts the appropriate edit-in-place navigation keys.

Example:

MyEditClass.Init(1,?MyList,StateQ:StateCode)    !initialize EditClass object

!program code here

MyEditClass.Kill                                !shut down EditClass object

See Also:     BrowseClass.AskRecord

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