Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter NineDialog Functions (continued)

IPAddressControlGetAddress Function

Overview

The IPAddressControlGetAddress function retrieves the value from an IP address control.

Syntax/Parameters

Syntax

dword = IPAddressControlGetAddress ( int id );

Parameters

id

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

Return Value

Returns a dword containing and IPv4 address or zero on failure. Use the GetLastError function to retrieve error information. 

The last error code will contain the number of fields retrieved. Ideally the last error should always be 4.

Remarks

Since zero and empty cannot be distinguished in the return address, check the last error to verify that all field have been entered.

Related Functions

Platform Support

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

Legato IDE, Legato Basic