SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
OLE drag & drop data needs to be provided.
VB.NET | Private Sub object_OLESetData(ByVal sender As Object, ByVal e As EventArgumentType) Handles object.OLESetData |
VB | Private Sub object_OLESetData(Data As DataObject, Format As Integer) |
C#.NET | void object_OLESetData(object sender, EventArgumentType e); |
VC++ | void OnOLESetDataobject(struct IVDMDataObject** Data, short* Format); |
C | HRESULT OnOLESetDataobject(struct IVDMDataObject** Data, short* Format); |
object
Data
A DataObject object used to define formats that the source provides and optionally, the data for those formats. If no data is contained in the DataObject Data, it is provided when the target control calls the DataObject.GetData method and you should provide the values for the Data parameter.
Format
Defines the format of the data that the target component is requesting. The source component uses this value to determine what to load into the DataObject object.
The OLESetData event occurs when OLE drag & drop data needs to be provided.
In certain cases, you may wish to defer loading data into the DataObject object of a source component to save time, especially if the source component supports many formats. This event allows the source to respond to only one request for a given format of data. When this event is called, the source should check the Format parameter to determine what needs to be loaded and then perform the DataObject.SetData method on the DataObject object to load the data which is then passed back to the target component.
See Also SftTree Object | Object Hierarchy