@...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 <anBackColor> ]
[ FONTCOLOR <anFontColor> ]
[ OPAQUE ]
[ TRANSPARENT ]
[ INVISIBLE ]
[ ON INIT <bInit> ]
Dialog Window:
REDEFINE FRAME <ControlName>
ID <nId>
[ OF | PARENT | DIALOG <ParentWindowName> ]
[ CAPTION <cCaption> ]
[ FONT <cFontName> ]
[ SIZE <nFontSize> ]
[ BOLD ] [ ITALIC ] [ UNDERLINE ] [ STRIKEOUT ]
[ BACKCOLOR <anBackColor> ]
[ FONTCOLOR <anFontColor> ]
[ OPAQUE ]
[ TRANSPARENT ]
[ INVISIBLE ]
[ ON INIT <bInit> ]
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 <anBackColor> ]
[ FONTCOLOR <anFontColor> ]
[ OPAQUE < .T. | .F.> ]
[ TRANSPARENT < .T. | .F.> ]
[ INVISIBLE < .T. | .F.> ]
[ ONINIT <bInit> ]
END FRAME
nRow, nCol
|
Position in the area of ??the window in pixels.
|
nWidth, nHeight
|
The desired size of the Frame Control in pixels.
|
nId
|
The ID identifier this Control in Dialog Window
|
ControlName
|
A reference to the Frame Control
|
ParentWindowName
|
A reference to the Parent Window.
|
cFontName
|
Specifies the Font
Name
|
nFontSize
|
Specifies the Font
Size
|
anBackColor
|
Specifies the Background
Color
|
anFontColor
|
Specifies the Font
Color
|
|
|
OPAQUE
|
?
|
TRANSPARENT
|
Specifies that the background of a control should be
transparent
|
INVISIBLE
|
The visibility property specifies whether or not a control is
visible
|
PROPERTIES:
Set / Gets enabled state of a Frame control
| |
Set / Gets visible a Frame control.
| |
Set / Gets row position of a Frame control.
| |
Set / Gets column position of a Frame control.
| |
Set / Gets width of a Frame control.
| |
Set / Gets height of a Frame control.
| |
Set / Gets caption of a Frame control.
| |
Set / Gets Frame control's font name.
| |
Set / Gets Frame control's font size.
| |
Set / Gets Frame control's font bold property
| |
Set / Gets Frame control's font italic property
| |
Set / Gets Frame control's font underline property
| |
Set / Gets Frame control's font strikeout property
| |
Set / Gets the foreground color for text within the Frame
| |
Set / Gets the background color for text within the Frame
| |
Set / Gets Frame control's Tooltip text.
| |
Set / Gets the caret position of a Frame control.
| |
Set / Gets user property 'Cargo' for Frame control
| |
Retrieves the name of a Frame control.
| |
Sets the name as character identifier of the parent window.
| |
Sets the Frame as not transparent
|
D: Available at control definition only
R: Read-Only
METHODS:
Shows a Frame control
| |
Hides a Frame control
| |
Redraw a Control
| |
Releases a Frame control from memory
| |
Save a Frame control as BitMap file.
|
EXAMPLE: