Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
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
- DragDrop.CreateOnPopoverWithSize
- DragDrop.Release
- TextView.CreateOnPopoverWithControl
- Window.FindByIndex
- Window.FindByTitle
Example Databases
Blog Entries
- MBS FileMaker Plugin, version 9.6pr2
- MBS FileMaker Plugin, version 9.2pr1
- Drag & Drop to a popover coming for next MBS Plugin
Release notes
- Version 10.0
- Changed DragDrop.CreateOnPopoverWithControl and TextView.CreateOnPopoverWithControl to return error when popover is not found.
- Changed DragDrop.CreateWithControl, DragDrop.CreateOnPopoverWithControl, TextView.CreateWithControl, TextView.SetFrameWithControl and TextView.CreateOnPopoverWithControl to return error when control is not found.
- Version 9.2
Created 22nd March 2019, last changed 28th March 2019
DragDrop.ClearDragExitHandler - DragDrop.CreateOnPopoverWithSize
Feedback: Report problem or ask question.
Links
MBS Xojo PDF Plugins