Inheritance diagram for IPAddress:
Public Member Functions | |
SetRange ([in, range(0, 3)] LONG Index,[in] BYTE Min,[in] BYTE Max) | |
Sets the valid range for the specified field in the Control. | |
Properties | |
ULONG RW | Value [] |
Gets or sets the IP Address in the integer form. | |
VARIANT_BOOL R | IsBlank [] |
Returns true if the address fields is empty. |
When the user changes selection, the OnChange event occur.
See also the method CreateIPAddress of the Frame.
Example (JScript):
o = new ActiveXObject("Scripting.WindowSystemObject") o.EnableVisualStyles = true f = o.CreateForm(0,0,0,0) f.ClientWidth = 200 f.ClientHeight = 80 f.CenterControl() IPAddress = f.CreateIPAddress(10,10,150,30) Str = "10.64.1.2" Values = Str.split(".") Value = 0 for (i = 0; i<4; i++) Value |= new Number(Values[3-i]) << i*8 IPAddress.Value = Value f.Text = Str f.Show() o.Run()
SetRange | ( | [in, range(0, 3)] LONG | Index, | |
[in] BYTE | Min, | |||
[in] BYTE | Max | |||
) |
Sets the valid range for the specified field in the Control.
Index | Index for the field. | |
Min | The minimum value for the field. | |
Max | The maximum value for the field. |
VARIANT_BOOL R IsBlank |
Returns true if the address fields is empty.
ULONG RW Value |
Gets or sets the IP Address in the integer form.