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: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

DragDrop.SetFrameWithControl

Repositions drop area to given control.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
DragDrop 8.5 Yes Yes No No No
MBS( "DragDrop.SetFrameWithControl"; droparea; ControlName { ; DX; DY } )   More

Parameters

Parameter Description Example value
droparea The reference ID for this drop area. Use functions like DragDrop.CreateWithControl to create a drop area. $dropHandle
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 OK or error.

Description

Repositions drop area to given control.
If you moved control in layout mode, this can move the drop area back to the new position.
Also useful to switch between different locations on the layout.

Examples

Move drop area:

Set Variable [ $r ; Value: MBS( "DragDrop.SetFrameWithControl"; $$dropview; "drop") ]

See also

Created 19th October 2018, last changed 19th October 2018


DragDrop.SetFrame   -   DragDrop.SetImage

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos