@...FRAME
DEFINE FRAME 
Creates a frame control.
  

Creates a frame control.

SYNTAX

Standard Window:

@ <nRow> ,<nCol> FRAME <ControlName>
[ ID <
nId> ]
[ OF | PARENT | DIALOG <
ParentWindowName> ]
[ CAPTION <
cCaption> ]
[ WIDTH <
nWidth> ]
[ HEIGHT <
nHeight> ]
[ FONT <
cFontName> ]
[ SIZE <
nFontSize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ BACKCOLOR <
aBackColor> ]
[ FONTCOLOR <
aFontColor> ]
[ OPAQUE ]
[ TRANSPARENT ]
[ INVISIBLE ]

Dialog Window:

REDEFINE FRAME <ControlName>
ID <
nId>
[ OF | PARENT | DIALOG <
ParentWindowName> ]
[ CAPTION <
cCaption> ]
[ FONT <
cFontName> ]
[ SIZE <
nFontSize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ BACKCOLOR <
aBackColor> ]
[ FONTCOLOR <
aFontColor> ]
[ OPAQUE ]
[ TRANSPARENT ]
[ INVISIBLE ]

Alternate Syntax:

DEFINE FRAME <ControlName>

[ ID <nId> ]
[ PARENT <
ParentWindowName> ]
COL <
nCol>
ROW <
nRow>
[ CAPTION <
cCaption> ]
[ WIDTH <
nWidth> ]
[ HEIGHT <
nHeight> ]
[ FONTNAME <
cFontname>
[ FONTSIZE <
nFontsize> ]
[ FONTBOLD < .T. | .F.> ]
[ FONTITALIC < .T. | .F.> ]
[ FONTUNDERLINE < .T. | .F.> ]
[ FONTSTRIKEOUT < .T. | .F.> ]
[ BACKCOLOR <
aBackColor> ]
[ FONTCOLOR <
aFontColor> ]
[ OPAQUE < .T. | .F.> ]
[ TRANSPARENT < .T. | .F.> ]
[ INVISIBLE < .T. | .F.> ]

END FRAME

PROPERTIES:

·   Enabled
Set / Gets enabled state of a Frame control
·   Visible
Set / Gets visible a Frame control.
·   Row
Set / Gets row position of a Frame control.
·   Col
Set / Gets column position of a Frame control.
·   Width
Set / Gets width of a Frame control.
·   Height
Set / Gets height of a Frame control.
·   Caption
Set / Gets caption of a Frame control.
·   FontName
Set / Gets Frame control's font name.
·   FontSize
Set / Gets Frame control's font size.
·   FontBold
Set / Gets Frame control's font bold property
·   FontItalic
Set / Gets Frame control's font italic property
Set / Gets Frame control's font underline property
Set / Gets Frame control's font strikeout property
·   FontColor
Set / Gets the foreground color for text within the Frame
·   BackColor
Set / Gets the background color for text within the Frame
·   ToolTip
Set / Gets Frame control's tooltip text.
·   CaretPos
Set / Gets the caret position of a Frame control.
·   Cargo
Set / Gets user property 'Cargo' for Frame control
·   Name (R)
Retrieves the name of a Frame control.
·   Parent (D)
Sets the name as character identifier of the parent window.
·   Opaque (D)
Sets the Frame as not transparent

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

METHODS:

·   Show
Shows a Frame control
·   Hide
Hides a Frame control
·   Release
Releases a Frame control from memory
·   SaveAs
Save a Frame control as BitMap file.