Question

I'm writing an e4 application and I'm trying to create a custom command but the documentation is somehow lacking details. I have a toolbar with a check button on it and what I want to achieve is to have a command which has a boolean parameter which tells my handler whether the check button is checked or not.

I tried the visual model editor but I can only hard code parameters there. Do I have to implement the MCommand interface or there is some simpler solution? Can you point me in the right direction?

Était-ce utile?

La solution

Lets take a look of the following Link.
Commands, Handlers, Menus, Toolbars and Popups

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top