Class tmenuitems

Unit

Declaration

type tmenuitems = class(tpersistentarrayprop, ievent)

Description

No description available, ancestor tpersistentarrayprop description follows
No description available, ancestor tarrayprop description follows

Hierarchy

Overview

Methods

Protected procedure createitem(const index: integer; var item: tpersistent); override;
Protected procedure dosizechanged; override;
Protected procedure dochange(const aindex: integer); override;
Protected procedure receiveevent(const event: tobjectevent);
Public constructor create(const aowner: tmenuitem);
Public class function getitemclasstype: persistentclassty; override;
Public function hasvisibleitem: boolean;
Public procedure sort;
Public procedure assign(source: tpersistent); override;
Public function insert(const index: integer; const aitem: tmenuitem): integer overload;
Public function insert(const index: integer; const aitems: tmenuitems): integer overload;
Public function insert(const index: integer; const captions: array of msestring; const options: array of menuactionoptionsty; const states: array of actionstatesty; const onexecutes: array of notifyeventty): integer overload;
Public procedure insertseparator(const index: integer; const aoptional: boolean = false);
Public function itembyname(const name: ansistring): tmenuitem;
Public function itemindexbyname(const name: ansistring): integer;

Properties

Public property items[index:integer]: tmenuitem read getmenuitems write setmenuitems;

Description

Methods

Protected procedure createitem(const index: integer; var item: tpersistent); override;
 
Protected procedure dosizechanged; override;
 
Protected procedure dochange(const aindex: integer); override;
 
Protected procedure receiveevent(const event: tobjectevent);
 
Public constructor create(const aowner: tmenuitem);
 
Public class function getitemclasstype: persistentclassty; override;
 
Public function hasvisibleitem: boolean;
 
Public procedure sort;
 
Public procedure assign(source: tpersistent); override;
 
Public function insert(const index: integer; const aitem: tmenuitem): integer overload;
 
Public function insert(const index: integer; const aitems: tmenuitems): integer overload;
 
Public function insert(const index: integer; const captions: array of msestring; const options: array of menuactionoptionsty; const states: array of actionstatesty; const onexecutes: array of notifyeventty): integer overload;
 
Public procedure insertseparator(const index: integer; const aoptional: boolean = false);
 
Public function itembyname(const name: ansistring): tmenuitem;
 
Public function itemindexbyname(const name: ansistring): integer;
 

Properties

Public property items[index:integer]: tmenuitem read getmenuitems write setmenuitems;
 

Generated by PasDoc 0.16.0.