Indy 9
TIdGopherMenu
Hierarchy, Properties, Methods, See Also, Unit: IdGopher
Collection of Gopher menu items.
TIdGopherMenu = class(TCollection)
Unit
IdGopher
Description
TIdGopherMenu is a collection of TIdGopherMenuItem instances, and encapsulates a Gopher menu or a Gopher + Extended Menu. TIdGopherMenu is returned by the following:


TIdGopherMenu.Items
TIdGopherMenu
Gopher menu items in the collection.
property Items [ Index: Integer ]: TIdGopherMenuItem;
Parameters
Index
Position in the collection.
Return Value
TIdGopherMenuItem - Gopher menu item in the collection.
Description
Items is an indexed TIdGopherMenuItem property that provides access to the individual Gopher menu items in the collection. Index values can range from 0 to Count-1. Items is the default property for TIdGopherMenu.

TIdGopherMenu.Add
TIdGopherMenu, See Also
Add a new Gopher menu item.
function Add: TIdGopherMenuItem;
Return Value
TIdGopherMenuItem - Gopher menu item added to the collection.
Description
Add is a TIdGopherMenuItem function that returns a new TIdGopherMenuItem, and adds it to the TIdGopherMenu collection. Add is primarily for internal use in the TIdGopher component.

TIdGopherMenu.Create
TIdGopherMenu, See Also
Constructor for the object instance.
constructor Create; reintroduce;
Description
Create is the constructor for the object instance, and is used by TIdGopher.GetMenu and TIdGopher.GetExtendedMenu to create the menu for the Gopher selector.

Created with Doc-O-Matic 2 donated to Project JEDI. Commercial license available from the Doc-O-Matic site.