Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

Events.Alarm.SetStructuredLocation

Sets the location for the event.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Events 6.2 Yes No Yes, macOS only No No

MBS( "Events.Alarm.SetStructuredLocation"; EKAlarm; EKStructuredLocation )

Parameters

Parameter Description Example value
EKAlarm The reference to the alarm. $Alarm
EKStructuredLocation The reference to the structured location. $StructuredLocation

Result

Returns OK or error.

Description

Sets the location for the event.

Examples

Create structured location for alarm:

Set Variable [$l; Value:MBS( "Events.StructuredLocation.NewLocationWithTitle"; Events Create Reminder::AlarmLocationTitle )]
Set Variable [$r; Value:MBS( "Events.StructuredLocation.SetRadius"; $l; Events Create Reminder::AlarmLocationRadius )]
Set Variable [$r; Value:MBS( "Events.StructuredLocation.SetGeoLocation"; $l; Events Create Reminder::AlarmLocationGeoLat; Events Create Reminder::AlarmLocationGeoLong )]
Set Variable [$r; Value:MBS( "Events.Alarm.SetStructuredLocation"; $alarm; $l)]
Set Variable [$r; Value:MBS( "Events.Alarm.SetProximity"; $alarm; Events Create Reminder::AlarmProximity )]

See also

Example Databases


Events.Alarm.SetSound   -   Events.Alarm.SetURL

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins