Here is presented a way to make a custom button on a custom menu allocating a macro name in X5
How is possible to do that in X8. Should we follow the same logic?
I was thinking to firstly create the files manually in Addons folder and in case it works, to write them by C# wouldn't be too difficult. But why is it necessary to (many times) reset workspace? What does that mean?
Should I update the workspace.xml file to refer my newly created files each time I check them? I thought corel will do that by itself at opening and finding something new in Addons folder... Like adding a docker. Is it something I am missing?
The link to the 'working example' for X5 doesn't work any more. Do you have such a working example for X8? Or for any version, if not X8?
Thanks in advance!
After any change in userui.xslt you will need reset the workspace to take the changes, Visual Studio can help write the basic stuffs in xslt files
Flyout-menu.zip
This exemple will result like
In itemData tag you can add the follow commands
dynamicCommand,-> execute a vba macro
hostedDocker -> load a wpf or web user control to create dockers
hostedType -> load a wpf user control to create a control
onInvoke -> execute a command from a datasource
I try learn more, but test xslt files is so boring task
If that 'reset' means to copy the newly created file (after rebuild) instead of the old one, of course it is logic. If not, I still cannot imagine what else means. But the first variant looks most probable now...
Thanks!