IPAddressGadget()

Syntax

IPAddressGadget(#Gadget, x, y, Width, Height)

Description

Creates an IPAddress gadget in the current GadgetList. It allows to enter easely a full IP Address. #Gadget will be the numeric identifiant returned by EventGadgetID() command. The following commands can be used to act on this gadget:

- GetGadgetState(): Returns the current IP address (Use IPAddressField() to get the value of each field).
- SetGadgetState(): Changes the current IP address (Use MakeIPAddress() to build a valid IP address).
- GetGadgetText(): Returns the current IP address in text, dotted form ("127.0.0.1" for example).
- SetGadgetText(): For now only to clear the IP addresss content with passing an empty string.

Supported OS

Windows

Gadget - Index