Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5b

Application v 5.24b

  

 

Chapter NineDialog Functions (continued)

IPAddressControlSetAddress Function

Overview

The IPAddressControlSetAddress function sets an IPv4 address in the control.

Syntax/Parameters

Syntax

int = IPAddressControlSetAddress ( int id, dword data );

Parameters

id

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

data

A dword containing the IPv4 address. The most significant byte is the first byte of the IP address segment.

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

The IPv4 address is in the form of 0x11223344 where it translates to 111.222.333.444 in the control.

Related Functions

Platform Support

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

Legato IDE, Legato Basic