NEW3.04.02 · Released 2 December 2021
NEWfinPOWER Connect
Released in
3.04.02
2 December 2021
- Opened20 Sep
- Closed20 Sep
- Released2 Dec
Article 18589
Job J027422
Scripting; Action Scripts; "GetState" examples have been enhanced to include ScriptInfo.FormRecordMode
ScriptInfo.FormRecordMode can be used to determine what state a Form is in; whether it be blank, loaded, in edit mode or a new record being added. This is particularly useful in the "GetState" event of Action Scripts. Due to this, the code sample included in the Template Code for these Scripts has been updated to include this in the examples, so Developers are aware it can be used.Case "GetState"' Add code to determine the state (enabled, visible and caption) of this action' parameters.SetBoolean("visible", False)' parameters.SetBoolean("enabled", ScriptInfo.FormRecordMode = iseFormRecordMode.Loaded)' parameters.SetString("caption", "Action Caption")