Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4   9.5    Statistic  

DragDrop.CreateOnPopoverWithControl

Creates a new drop area on the given popover covering the area of the given control.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DragDrop 9.2 Yes Yes No No No
MBS( "DragDrop.CreateOnPopoverWithControl"; WindowRef; Popover Name; ControlName { ; DX; DY } )   More

Parameters

Parameter Description Example value
WindowRef Window Reference is the unique OS level window ID. You can obtain this by using the Window.FindByTitle or Window.FindByIndex functions. Pass zero to access the frontmost window. 0
Popover Name The name of the popover to look for on the window. "MyPopover"
ControlName The name of the control on your FileMaker form. For example "mymedia" if you assign this name to a media field. This is not the name of the field in the database! "mymedia"
DX Optional
A delta to move drop area more to left or right.
0
DY Optional
A delta to move drop area more to top or bottom.
0

Result

Returns Drop Area ID on success.

Description

Creates a new drop area on the given popover covering the area of the given control.
Use DragDrop.Release later to destroy the drop area.
Drag & Drop reference numbers are starting at 31000 and counting up for each new drop area.

See also

Example Databases

Blog Entries

Release notes

Created 22nd March 2019, last changed 28th March 2019


DragDrop.ClearDragExitHandler   -   DragDrop.CreateOnPopoverWithSize

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins