ObjectDCL Banner

LinkType Property

Description

Sets the URL Link control to launch a URL or Email.

Type

This property is an integer. The valid values are:

  • 0 (Web Page)
  • 1 (Email Address)

Applies For

UrlLink.

Invoking From Old API

Can be passed as "LinkType" to Control_SetProperty and Control_GetProperty's string property name where applicable.

Getter Example

CopyCode imageCopy Code
; Get the property from the control
(setq Value (Odcl_Control_GetLinkType MyProject_MyForm_MyControl))

(setq Value (Odcl_Control_GetLinkType "MyProject" "MyForm" "MyControl"))

Setter Example

CopyCode imageCopy Code
; Set the property to the control
(Odcl_Control_SetLinkType MyProject_MyForm_MyControl "mailto:mybestfriend@yahoo.com")

(Odcl_Control_SetLinkType "MyProject" "MyForm" "MyControl" "mailto:mybestfriend@yahoo.com")

See Also

UrlAddress