lbyrne
11 years agoContributor
Toolstrip
I have a toolstrip object called frmAuthorizations.tspAuthorizations
When the screen first appears, I can refer to the toolstrip items by name
frmAuthorizations.tspAuthorizations.ClickItem("New Add a new authorization")
After the above operation occurs, the same toolstrip item changes to a different icon and becomes a cancel button. I can no longer refer to this item by the same name. Both the add and the cancel are at index 2. How can I do a clickitem when it is a cancel button. I tried using the wButtonID but that did not work. What am I doing wrong?