TREEGEN COMPONENT 4.01
Link Object
Last modified: April 6,1999 
© 2000 Advantys. All rights reserved.

Text

The Text property returns the text of a link.

Syntax
.Text

Return Values
Returns a String value which is the text of the link.

Examples
<%
Set MyLink = MyItem.link
Response.Write ("<a href='" & MyLink.Href & "'")
Response.Write (" TARGET=" & MyLink.Target & ">")
Response.Write (MyLink.Text)
Response.Write ("</a>")
%>


HREF

The HREF property returns the HREF of a link.

Syntax
.HREF

Return Values
Returns a String value which is the HREF of the current link.

Examples
<%
Set MyLink = MyItem.link
Response.Write ("<a href='" & MyLink.Href & "' TARGET=" & MyLink.Target & ">")
%>


Target

The Target property returns the Target for the current link.

Syntax
.Target

Return Values
Returns a String value which is the target for the link.

Examples
<%
Set MyLink = MyItem.link
Response.Write ("<a href='" & MyLink.Href & "' TARGET=" & MyLink.Target & ">")
%>


Icon

The Icon property returns the Icon path of a link.

Syntax
.Icon

Return Values
Returns a String value which is the Icon path of the link.

Examples
<%
Set MyLink = MyItem.link
Response.Write("<IMG SRC='" & MyLink.Icon & "'>")
%>


© 2000 Advantys. All rights reserved.