|
|
|
SftButton.Image2 Property |
Defines the second graphic.
Syntax
VB.NET |
refImageObj = object.Image2 As SftPictureObject |
||
VB |
Set refImageObj = object.Image2 As SftPictureObject |
||
C#.NET |
SftPictureObject refImageObj = object.Image2; |
||
VC++ |
ISftPictureObject* refImageObj = object->Image2;
|
||
C |
HRESULT object->get_Image2(ISftPictureObject** refImageObj); |
||
Delphi |
refImageObj := object.Image2 : ISftPictureObject; |
||
VB.NET |
object.Image2 = refImageObj As SftPictureObject |
||
VB |
object.Image2 = refImageObj As SftPictureObject |
||
C#.NET |
SftPictureObject object.Image2 = refImageObj; |
||
VC++ |
ISftPictureObject* object->Image2 = refImageObj;
|
||
C |
HRESULT object->put_Image2(ISftPictureObject* refImageObj); |
||
Delphi |
object.Image2 := refImageObj : ISftPictureObject; |
object
A SftButton object.
refImageObj
Defines the second graphic.
Comments
The Image2 property defines the second graphic.
The Image2Hover property is used if the mouse cursor is located on the control or picture component, Image2Pressed is used if the button is pressed or Image2Disabled is used if the control is disabled (see Enabled property). Otherwise, the Image2 property is used to display the second graphic. Image2Hover, Image2Pressed and Image2Disabled are ignored if no graphic has been defined using the Image2 property.
The layout of the button label and the position and alignment of the second picture component are defined using the Orientation, Image2AlignHorz and Image2AlignVert properties.
For detailed information on the use of the Orientation, Image1, Image1AlignHorz, Image1AlignVert, Image2, Image2AlignHorz, Image2AlignVert, Text, TextAlignHorz, TextAlignVert properties, please see "Button Label".