Skip to main content
insightsoftware Documentation insightsoftware Documentation
{%article.title%}
Published:
Was this article helpful?
0 out of 0 found this helpful

Specifying The Order Of Toolbar Actions

You can specify the order in which you want actions to appear on the toolbar by controlling the order of the corresponding Action and SystemAction functions in your Data View file. If you want to, for example, always have your custom Close button as the last icon on the toolbar, place the Close Action at the bottom of the list of functions.

Example:

Action "Instructions", "users.ico", "RUN PROCEDURE ShowGreeting.lvpro", "Show Instructions" Action "Import Data", "import.gif", "RUN PROCEDURE ImportEmps.lvpro", "Import Existing Salaries" SystemAction ExporttoExcel, "", "", "" SystemAction PrintPreview, "", "", "" Action "Close", "Common/images/toolbar/exit.gif", "Show RETURN", "Close"

The above example displays the Close button as the last icon on the toolbar.

For more information on using the Action and SystemAction functions, see Adding actions to Data Grids.

Published:

Specifying The Order Of Toolbar Actions

You can specify the order in which you want actions to appear on the toolbar by controlling the order of the corresponding Action and SystemAction functions in your Data View file. If you want to, for example, always have your custom Close button as the last icon on the toolbar, place the Close Action at the bottom of the list of functions.

Example:

Action "Instructions", "users.ico", "RUN PROCEDURE ShowGreeting.lvpro", "Show Instructions" Action "Import Data", "import.gif", "RUN PROCEDURE ImportEmps.lvpro", "Import Existing Salaries" SystemAction ExporttoExcel, "", "", "" SystemAction PrintPreview, "", "", "" Action "Close", "Common/images/toolbar/exit.gif", "Show RETURN", "Close"

The above example displays the Close button as the last icon on the toolbar.

For more information on using the Action and SystemAction functions, see Adding actions to Data Grids.

For an optimal Community experience, Please view on Desktop