Guys,
The X# ported version of the SEUIXP tools is very new, so it is quite possible that there is indeed some problem in it. But we can do absolutely nothing without having a repro sample. So please send to me or Robert either your ported app, or another sample showing the problem, and we'll look into it ASAP. Just please make sure you include in the zip everything is needed to compile and run it.
.
SEUIXP icon in menu & converted X# menu using default ribbon
SEUIXP icon in menu & converted X# menu using default ribbon
Chris Pyrgas
XSharp Development Team
chris(at)xsharp.eu
XSharp Development Team
chris(at)xsharp.eu
SEUIXP icon in menu & converted X# menu using default ribbon
Here's an update for those who come across this post later.
As so often, Chris proved how valuable he is for X#. First we sent a "lean" version of the converted app which didn't show the menu as it should (just grey instead of white + purple band + icons). Still it was difficult to find what set it apart from the original VO version. Chris found that after I assembled a real basic VO program with a working SEUIXP menu + VO-XPorted X# program where it did not work.
It looks like the SEUIXP has external methods to the VOGUI classes which is not possible in DotNet. In short, this seems to fix it:
- Change your StandardShellWindow to inherit from SETopAppWindow,
instead of ShellWindow
- If you get compiler errors in 3 methods because of this change, just
remove those lines that report errors
- In the constructor of StandardShellWindow, add the line SELF:ToolBar
:= oToolbar
Now the PostCreate() method of your BasicToolBar is being called, and
this is where you need to specify your icons in the menu items, with the
_oConfig:AddButton(...) lines.
Dick
As so often, Chris proved how valuable he is for X#. First we sent a "lean" version of the converted app which didn't show the menu as it should (just grey instead of white + purple band + icons). Still it was difficult to find what set it apart from the original VO version. Chris found that after I assembled a real basic VO program with a working SEUIXP menu + VO-XPorted X# program where it did not work.
It looks like the SEUIXP has external methods to the VOGUI classes which is not possible in DotNet. In short, this seems to fix it:
- Change your StandardShellWindow to inherit from SETopAppWindow,
instead of ShellWindow
- If you get compiler errors in 3 methods because of this change, just
remove those lines that report errors
- In the constructor of StandardShellWindow, add the line SELF:ToolBar
:= oToolbar
Now the PostCreate() method of your BasicToolBar is being called, and
this is where you need to specify your icons in the menu items, with the
_oConfig:AddButton(...) lines.
Dick