Start a conversation

Macros

Examples of using Scriptcase macros

  • Show Question Message with SweetAlert (question)

    To use the new SweetAlert functionality and display a question message, the following parameters must be taken into accoun:   When executing it would look like this:...

  • Show Warning Message with SweetAlert (warning)

    To use the new SweetAlert functionality and display a warning message, the following parameters must be taken into account: When executing it would look like this:  ...

  • Show Information Message with SweetAlert (info)

    To use the new SweetAlert functionality and display an information message, the following parameters must be taken into account:  When executing it would look like this:  ...

  • Show Confirmation Message with SweetAlert (success)

    To use the new SweetAlert functionality and display a confirmation message, the following parameters must be taken into account:  When executing it would look like this:    ...

  • Show Error Message with SweetAlert (error)

    To use the new SweetAlert functionality and display an error message, the following parameters must be taken into account:   When executing it would look like this:      ...

  • Show Messages with SweetAlert

    To show confirmation message with the new functionality within the sc_alert macro. 1. Create an application of type Blank 2. Within the onExecute event, the sc_alert macro will be used using the follo...

  • Dynamically change the theme of a project

    In this examples we will see how to dynamically change the theme of a project in a control application with the macro sc_set_theme. Create a Control type application Create a field of the type Theme  ...

  • Using the sc_field_display macro

    To dynamically hide a field in this example, the macro sc_field_display is used, which is responsible for hiding or dynamically displaying a field or several. This macro has scope in the following eve...

  • Using the macro sc_date_dif_2

    To calculate the difference between two dates we have the macro sc_date_dif_2, in this example we will see how it works and how to use it. 1. The format with which you are keeping within the database ...

  • Using macros sc_begin_trans, sc_commit_trans and sc_rollback_trans with Alert Message

    When we need to maintain a control or follow-up to a specific procedure at the time of entering, modify some procedure within the database within a form we have the macro sc_begin_trans. The macro sc_...