GxMotdet: Connect

Connect

This method connects the control as an image container object to an image source object.



 Public Function Connect(
	  ByVal imgsource As Long,
	  ByVal sourcehandle As Long ) As Long

Parameters

imgsource
Binary value given by the source's GetImageSource() method.
sourcehandle
Binary value given by the source's GetSourceHandle() method.

Return Values

On error false (0) is returned and the error code/string in the GX system is set appropriately.

Languages

[Visual Basic] Public Function Connect(ByVal imgsource As Long, ByVal sourcehandle As Long) As Long

[Delphi] function Connect(imgsource : Integer; sourcehandle : Integer) : Integer;

[C++] long Connect(long imgsource, long sourcehandle);

Remarks

This is an image container control class method.

See Also

Class GxMotdet Overview GxMotdet Properties GxMotdet Methods AutoUpdateImage GetError