ObjectDCL Banner

Html_Navigate Method

Description

This method will force the HtmlControl to navigate to a URL or directory. For example "www.objectdcl.com" or "c:\temp".

Parameters

MyControlReference
Reference to the control in the form of MyProject_MyForm_MyControl.
ProjectFile
String identifying the project as it was passed in LoadProject.
DialogName
String identifying the dialog by name.
ControlName
String identifying the control by name.
Destination
String identifying the URL or file path to open.

Return Values

Returns the following according to the situation:

  • T when successful.
  • Nil if the control is not found.

AutoLISP Syntax

The recommended convention is passing the control identifier directly:

CopyCode imageCopy Code
(Odcl_Html_Navigate 
		MyControlReference [as Reference]
		Destination [as String])

An alternative convention is to identify the control by providing the project file, the dialog name and the control name:

CopyCode imageCopy Code
(Odcl_Html_Navigate
		ProjectFile [as String]
		DialogName [as String]
		ControlName [as String]
		Destination [as String])

Applies For

HtmlControl.

Example

CopyCode imageCopy Code
; Browse this location
(Odcl_Html_Navigate MyProject_MyForm_MyControl "http://www.objectdcl.com/")

See Also

Html_GoBack, Html_GoHome, Html_GoSearch