Table of Contents

DROPFORMATLIST Property

Applies To

Drop Target controls.

Description

Contains an @fm-delimited list of data formats accepted by the control. The list is sorted in order of preference. During DRAGOVER events the system will examine the data be being dragged and compare it to the formats in this list, selecting the first match it finds.

Usage

dropFormat = Get_Property(dragSource, "DROPFORMATLIST")

Returns

An @fm-delimited list of data formats being dragged.

Remarks

Control TypeFormatsNotes
BITMAPBITMAP
FILENAMEif applicable
COMBOBOX(Item)TEXT
COMBOBOX(List)OI_LIST@fm-delimited list
TEXTCRLF-delimited list
EDITLINETEXT
EDITBOXTEXTCRLF-delimited list
EDITTABLE(Cell)TEXT
EDITTABLE(Rows)OI_EDT_ROWLIST@fm/@vm - delimited list
TEXTCRLF/TAB delimited list
LISTBOXOI_LIST@fm-delimited list
TEXTCRLF-delimited list

See Also

DRAGSOURCE property, DRAGFORMATLIST property, GETDRAGDATA message, SETDRAGDATA message, REMOVEDRAGDATA message, CLEARDRAGDATA message.

Example

Declare function Get_Property, Set_Property

 

dropTarget = Get_Property("SYSTEM","DROPTARGET")

dropFormatList = Set_Property(dropTarget,"DROPFORMATLIST")