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.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   8.6    Statistic  

ColorPanel.SetColorChangedScript

Sets script to trigger if color changed.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
ColorPanel 8.3 Yes No No No No
MBS( "ColorPanel.SetColorChangedScript"; Filename; ScriptName { ; Parameter } )   More

Parameters

Parameter Description Example value
Filename The database file name where the script is located. "test.fmp12"
ScriptName The script name. "MyScript"
Parameter Optional
Script parameter to pass.

Result

Returns OK or error.

Description

Sets script to trigger if color changed.
You may need to clear this to disable the plugin from triggering script while in layout mode until version 8.4, where we don't call trigger in layout mode.

Examples

Set color changed script trigger:

Set Variable [ $r ; Value: MBS( "ColorPanel.SetColorChangedScript"; Get(FileName); "ColorChanged" ) ]

Clear script trigger:

MBS( "ColorPanel.SetColorChangedScript"; ""; "")

See also

Example Databases

Created 13th June 2018, last changed 10th September 2018


ColorPanel.SetColorChangedEvaluate   -   ColorPanel.Show

Feedback: Report problem or ask question.




Links
MBS FileMaker blog