User Tools

Site Tools


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

Init( [INIClass] )

blk2blue.jpg

Init Initializes the PopupClass object.
INIClass The label of the INIClass object for this PopupClass object. The Save method uses the INIClass object to save menu definitions to an INI file; the Restore method uses it to restore the saved menu definitions. If omitted, the Save and Restore methods do nothing.

The Init method initializes the PopupClass object.

Example:

PopupMgr  PopupClass                   !declare PopupMgr object

INIMgr    INIClass                     !declare INIMgr object

CODE

PopupMgr.Init(INIMgr)                 !initialize PopupMgr object

PopupMgr.AddItem('Save Popup','Save') !add menu item: Save

PopupMgr.AddItemMimic('Save',?Save)   !Save item mimics ?Save button

See Also:     Restore, Save

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