@...IMAGE
DEFINE IMAGE 
Creates an image control.
  

An image static control can display bitmaps, icons (including animated icons), JPEG, GIF, CUR or enhanced metafiles. 

SYNTAX

Standard Window:

@ <nRow> ,<nCol> IMAGE <ControlName>
[ ID <
nId> ]
[ OF | PARENT | DIALOG <
ParentWindowName> ]
PICTURE <
cPictureName>
[ ACTION | ONCLICK | ON CLICK <
ActionProcedureName> | <bBlock> ]
[ ON MOUSEHOVER | ONMOUSEHOVER> <
OverProcedureName> | <bBlock>
[ ON MOUSELEAVE | ONMOUSELEAVE > <
LeaveProcedureName> | <bBlock> ]
[ WIDTH <
nWidth> HEIGHT <nHeight> ]
[STRETCH ]
[ WHITEBACKGROUND ]
[ HELPID <
nHelpId> ]
[ INVISIBLE ]

Dialog Window:

REDEFINE IMAGE <ControlName>
ID <
nId>
[ OF | PARENT | DIALOG <
ParentWindowName> ]
PICTURE <
cPictureName>
[ ACTION | ONCLICK | ON CLICK <
ActionProcedureName> | <bBlock> ]
[ ON MOUSEHOVER | ONMOUSEHOVER> <
OverProcedureName> | <bBlock>
[ ON MOUSELEAVE | ONMOUSELEAVE > <
LeaveProcedureName> | <bBlock> ]
[STRETCH ]
[ WHITEBACKGROUND ]
[ HELPID <
nHelpId> ]
[ INVISIBLE ]

Alternate Syntax:

DEFINE IMAGE <ControlName>

[ ID <nId> ]
[ PARENT <
ParentWindowName> ]
COL <
nCol>
ROW <
nRow>
PICTURE <
cPictureName>
[ ACTION |<
ActionProcedureName> | <bBlock> ]
[ ONMOUSEHOVER> <
OverProcedureName> | <bBlock>
[ ONMOUSELEAVE > <
LeaveProcedureName> | <bBlock> ]
[ WIDTH <
nWidth> HEIGHT <nHeight> ]
[STRETCH < .T. | .F.> ]
[ WHITEBACKGROUND < .T. | .F.> ]
[ HELPID <
nHelpId> ]
[ INVISIBLE < .T. | .F.> ]

END IMAGE

PROPERTIES:

·   Enabled
Set / Gets enabled state of a Image control
·   Visible          
Sets or gets visible a Image control.
·   Picture
Set / Gets image name of a mage control.
·   Row
Set / Gets row position of a Image control.
·   Col   
Set / Gets column position of a Image control.
·   Width
Set / Gets width of a Image control.
·   Height
Set / Gets height of a Image control.
·   Action
Set / Gets Image control's tooltip text.
·   Cargo
Set / Gets user property 'Cargo' for Image control
·   Name (R)
Retrieves the name of a Image control.
·   Parent (D)
Set the name as character identifier of the parent window.
·   HelpId (D)
Set the numeric help topic identifier of the control.
·   Stretch (D)
Sets a value that image to stretch to completely fill the destination rectangle.

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

EVENTS:

·   OnClick/Action
Action to be performed when generic clicking of the control
Action to be performed when the mouse pointer hovers over the control
Action to be performed when the user moves the mouse pointer outside the boundaries of the control

METHODS:

·   Show
Shows a Image control
·   Hide
Hides a Image control.
·   Release
Releases a Image control from memory.
·   Refresh
Repaint a Image control
·   SaveAs
Save Control as BitMap file.