Topic Path: Symbol Reference > Classes > TIdGopherServer Class > TIdGopherServer Methods > ReturnGopherItem Method
ContentsIndexHome
PreviousUpNext
TIdGopherServer.ReturnGopherItem Method

Formats a Gopher menu item for display.

function ReturnGopherItem(
    ItemType: Char; 
    UserFriendlyName: String; 
    RealResourceName: String; 
    HostServer: String; 
    HostPort: Integer
): String;
Parameters 
Description 
ItemType 
Gopher item type.
 
UserFriendlyName 
Display name for the menu item.
 
RealResourceName 
Item selector or TN3270 hint.
 
HostServer 
The server hosting the Gopher menu item.
 
HostPort 
The port number for the Gopher server. 

String - Display values for the Gopher menu item.

ReturnGopherItem is a String function that returns a properly formatted Gopher menu item provided with the information from the parameters. 

ItemType should be one of the following constants defined in GopherConsts.

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