Type | Description | |||
Data as ExDataObject | An ExDataObject object in which to place the requested data. The component calls the SetData method to load the requested format. | |||
Format as Integer | An integer specifying the format of the data that the target component is requesting. The source component uses this value to determine what to load into the ExDataObject object. |
The OLESetData is not implemented
Syntax for OLESetData event, /NET version, on:
// OLESetData event is not supported. Use the DragEnter,DragLeave,DragOver, DragDrop ... events. // OLESetData event is not supported. Use the DragEnter,DragLeave,DragOver, DragDrop ... events. |
private void OLESetData(object sender, AxEXSURFACELib._ISurfaceEvents_OLESetDataEvent e) { } void OnOLESetData(LPDISPATCH Data,short Format) { } void __fastcall OLESetData(TObject *Sender,Exsurfacelib_tlb::IExDataObject *Data,short Format) { } procedure OLESetData(ASender: TObject; Data : IExDataObject;Format : Smallint); begin end; procedure OLESetData(sender: System.Object; e: AxEXSURFACELib._ISurfaceEvents_OLESetDataEvent); begin end; begin event OLESetData(oleobject Data,integer Format) end event OLESetData Private Sub OLESetData(ByVal sender As System.Object, ByVal e As AxEXSURFACELib._ISurfaceEvents_OLESetDataEvent) Handles OLESetData End Sub Private Sub OLESetData(ByVal Data As EXSURFACELibCtl.IExDataObject,ByVal Format As Integer) End Sub Private Sub OLESetData(ByVal Data As Object,ByVal Format As Integer) End Sub LPARAMETERS Data,Format PROCEDURE OnOLESetData(oSurface,Data,Format) RETURN |
<SCRIPT EVENT="OLESetData(Data,Format)" LANGUAGE="JScript"> </SCRIPT> <SCRIPT LANGUAGE="VBScript"> Function OLESetData(Data,Format) End Function </SCRIPT> Procedure OnComOLESetData Variant llData Short llFormat Forward Send OnComOLESetData llData llFormat End_Procedure METHOD OCX_OLESetData(Data,Format) CLASS MainDialog RETURN NIL // OLESetData event is not supported. Use the DragEnter,DragLeave,DragOver, DragDrop ... events. function OLESetData as v (Data as OLE::Exontrol.Surface.1::IExDataObject,Format as N) end function function nativeObject_OLESetData(Data,Format) return |