Coding Conventions


ID (Built-in)

All built-in commands have a unique ID associated with them.
This ID is used to find built-in commands on toolbars and menus.


Parameter (Custom)

The Parameter property is the property that uniquely identifies the command.


Tag

The Tag property is used to associate the CommandBarControl with the necessary event handler.
Using the Tag in this way ensures that all the buttons go through the same event handler making it easier to manage.


Caption (Third Party)

This is used to find built-in commands or other commands


Identifying Commands

ButtonTag
ButtonParameter - custom toolbars and menus first
ButtonID -
ButtonCaption - third party and as a last resort
ButtonOnAction -
ControlID -
ControlCaption -
DropDownTag - A tag description is assigned to every custom drop-down menu
DropDownCaption -
ExtensionTag - A tag description is assigned to every custom extension bar
ExtensionCaption -


© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext