Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter NineDialog Functions (continued)

IPAddressControlSetFocus Function

Overview

The IPAddressControlSetFocus function sets the focus within a specific field in the IP Address Control.

Syntax/Parameters

Syntax

int = IPAddressControlSetFocus ( int id, int field );

Parameters

id

An int containing the control ID of a ‘SysIPAddress32’ class control.

field

An int containing a zero based field number from 0 to 3.

Return Value

Returns an int as ERROR_NONE or a formatted error code on failure, ERROR_RANGE if id is an invalid control ID for the open dialog, or ERROR_INVALID_HANDLE if no dialog is open. Use the GetLastError function to retrieve error information. 

Remarks

This function differs from ControlSetFocus in that the a specific IP segment can be selected.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic