I have a command added to the right-side menu of a form.
I want to click the command by code but the pointerPressed() is for components and pressed() is for buttons.
A Command is not a component. How do I click a command by codes?
I have a command added to the right-side menu of a form.
I want to click the command by code but the pointerPressed() is for components and pressed() is for buttons.
A Command is not a component. How do I click a command by codes?
Actually there is a button, we just make it for you. Use:
You can then use events and customize the appearance of the
Buttonas you would with anyButton.