Toolbars
- Last UpdatedFeb 08, 2023
- 1 minute read
Toolbars are defined by creating a frame of type toolbar on the main form, using the following syntax.
frame .toolbarName toolbar 'Toolbar description'
[PML commands to define buttons, toggle gadgets, option gadgets and text gadgets]
exit
It is not possible to add toolbars to a form once it has been created, so all toolbars must be defined before any application is started. The method .modifyForm() of the add-in object is run during building of the form so that each add-in can add its own toolbars.