Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Sets script trigger.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
MapView | 9.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
MapView | The map view reference number. | $$MapView | |
Filename | The database file name where the script is located. | "test.fmp12" | Optional |
ScriptName | The script name. | "MyScript" | Optional |
Returns OK or error.
Set script:
Set Variable [ $$MapView ; Value: MBS("MapView.CreateWithControl"; 0; "PlaceHolder") ]
Set Variable [ $r ; Value: MBS("MapView.SetScript"; $$MapView; Get(FileName); "PinClicked") ]
This function is free to use.
Created 6th June 2019, last changed 13th November 2021