Topic Path: Symbol Reference > Classes > TIdGopher Class > TIdGopher Methods > GetMenu Method
ContentsIndexHome
PreviousUpNext
TIdGopher.GetMenu Method

Retrieves the Gopher menu.

function GetMenu(
    ASelector: String; 
    IsGopherPlus: Boolean = False; 
    AView: String = ''
): TIdGopherMenu;
Parameters 
Description 
ASelector 
the selector for the Gopher item or an empty string to get the root item.
 
IsGopherPlus 
Server supports Gopher+. Default value is False.
 
AView 
Alternative view listed. Default value is ''. 

TIdGopherMenu - The standard Gopher menu.

GetMenu is a TIdGopherMenu function used to retrieve a Gopher Menu. ISGopherPlus should be set to true for Gopher+ servers or false for non-gopher plus servers in case a menu starts with a "+". AView is an alternative view listed for the menu you are retrieving with Gopher+. 

The application is responsible for freeing the TIdGopherMenu returned by this function.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.