Macros on Scriptcase is the same as in any other programs, it is a saved sequence of commands or keyboard strokes that can be stored and then recalled with a single command, it is the same as a function from PHP. margin-left: ml:a margin-left:auto p padding: pt padding-top: pr. In this option we can define the horizontal position that the data in the Widget will be shown, we have three options: Left: The left side of the Widget will be. You can check the full list of macros at this link Scriptcase has more then 150 created macros to help you to insert your own business rules. Report - Group records dynamically, automatic calculation, report summaries, detailed graphics, filters and. In this example we will use both macros to redirect from a form application (using the ‘order’ table) to a grid application (using the ‘order_detail’ table), we will use the sc_redir macro to call the grid application passing the primary key as parameter to filter the grid application, and we will the sc_apl_conf macro to change the grid application to set it to show an specific number of lines per page.
The sc_redir macro is commonly used when there is a need to make a redirection from one application to another. The macro sc_apl_conf is used when we need to change an application proprieties, for example, open a form in addition mode or change the number of row from a grid dynamically.