@...IMAGE DEFINE IMAGE Creates an image control.
|
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:
Set / Gets enabled state of a Image control
| |
Sets or gets visible a Image control.
| |
Set / Gets image name of a mage control.
| |
Set / Gets row position of a Image control.
| |
Set / Gets column position of a Image control.
| |
Set / Gets width of a Image control.
| |
Set / Gets height of a Image control.
| |
Set / Gets Image control's tooltip text.
| |
Set / Gets user property 'Cargo' for Image control
| |
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:
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:
Shows a Image control
| |
Hides a Image control.
| |
Releases a Image control from memory.
| |
Repaint a Image control
| |
Save Control as BitMap file.
|