@...IPADDRESS
DEFINE IPADDRESS 
Create an ipAddress control
  

Creates an ipAddress control.

SYNTAX

Standard Window:

@ <nRow> ,<nCol> IPADDRESS <ControlName>
[ OF | PARENT <
ParentWindowName> ]
[ HEIGHT <
nHeight> ]
[ WIDTH <
nWidth> ]
[ VALUE<
nIpValue1>, <nIpValue2>, <nIpValue3>, <nIpValue4> ]
[ FONT <
cFontName> SIZE <nFontSize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ TOOLTIP <
cToolTipText> ]
[ ON CHANGE <
OnChangeProcedure> | <bBlock> ]
[ ON GOTFOCUS <
OnGotFocusProcedure> | <bBlock> ]
[ ON LOSTFOCUS <
OnLostFocusProcedure> | <bBlock> ]
[ HELPID <
nHelpId> ]
[ INVISIBLE ]
[ NOTABSTOP ]

Alternate Syntax:

DEFINE IPADDRESS

[ ID <nId> ]
[ PARENT <
ParentWindowName> ]
COL <
nCol>
ROW <
nRow>
[ HEIGHT <
nHeight> ]
[ WIDTH <
nWidth> ]
[ VALUE<
nIpValue1>, <nIpValue2>, <nIpValue3>, <nIpValue4> ]
[ FONTNAME <
cFontName> ]
[ FONTSIZE <
nFontSize> ]
[ FONTBOLD < .T. | .F.> ]
[ FONTITALIC < .T. | .F.> ]
[ FONTUNDERLINE < .T. | .F.> ]
[ FONTSTRIKEOUT < .T. | .F.> ]
[ TOOLTIP <
cToolTipText> ]
[ ONCHANGE <
OnChangeProcedure> | <bBlock> ]
[ ONGOTFOCUS <
OnGotFocusProcedure> | <bBlock> ]
[ ONLOSTFOCUS <
OnLostFocusProcedure> | <bBlock> ]
[ HELPID <
nHelpId> ]
[ INVISIBLE < .T. | .F.> ]
[ NOTABSTOP < .T. | .F.> ]

END IPADDRESS


DESCRIPTION:
nRow, nCol
Position in the area of ??the window in pixels.
nWidth, nHeight
The desired size of the IPAddress Control in pixels.
nId
The ID identifier this Control in Dialog Window
ControlName
A reference to the IPAddress Control
ParentWindowName
A reference to the Parent Window.
nHelpID
The help topic identifier for this Control
nIpValue1... nIpValue4
IPV4 Address Val1.Val2.Val3.Val4
cFontName
Specifies the Font Name
cFontSize
Specifies the Font Size
cToolTipText
Specifies the Text for the ToolTip
OnChangeProcedure
An action to be performed when control value changes
OnGotFocusProcedure
An action to be performed when control Got Focused
OnLostFocusProcedure
An action to be performed when control Lost Focused
 
 
INVISIBLE
The visibility property specifies whether or not a control is visible
NOTABSTOP
Stop the control to receive focus and participate in the tabbing sequence


PROPERTIES:

·   Value
Set / Gets IpAddress value.
·   Enabled
Set / Gets enabled state of a IpAddress control
·   Visible          
Set / Gets visible a IpAddress control.
·   Row
Set / Gets row position of a IpAddress control.
·   Col   
Set / Gets column position of a IpAddress control.
·   Width
Set / Gets width of a IpAddress control.
·   Height
Set / Gets height of a IpAddress control.
·   FontName
Set / Gets IpAddress control's font name.
·   FontSize
Set / Gets IpAddress control's font size.
·   FontBold
Set / Gets IpAddress control's font bold property
·   FontItalic
Set / Gets IpAddress control's font italic property
Set / Gets IpAddress control's font underline property
Set / Gets IpAddress control's font strikeout property
·   Cargo
Set / Gets user property 'Cargo' for IpAddress control
·   Name (R)
Retrieves the name of a IpAddress control.
·   Parent(D)
Set the name as character identifier of the parent window.
·   HelpId (D)
Set the numeric help topic identifier of the control.
·   NoTabStop(D)
Sets whether an element behavior can't receive focus and participate in the tabbing sequence

D: Available at control definition only
R: Read-Only

EVENTS:

·   OnGotFocus
Action to be performed when getting the focus
·   OnChange
Action to be performed when generic changing of the control
Action to be performed when losing the focus.

METHODS:

·   Show
Shows an IpAddress control
·   Hide
Hides an IpAddress control
·   Redraw
Redraw a Control
·   Release
Releases an IpAddress control from memory
·   SaveAs
Save an IpAddress control as BitMap file.

EXAMPLE:

See demo in :
\Samples\Basic\IpAddress