Internet Direct (Indy)
Home
PreviousUpNext
TIdGopherServer.ReturnGopherItem Method

Formats a Gopher menu item for display.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.