(Cross posted in the grafx public Vulcan NG)
For anyone who is still unsure between the choice Vulcan - VO, I have
2 good reasons:
1
http://www.ic2.com/cavo/WPFVersusVOScreen.jpg
2 The Grafx NG visitors
In 1, you see below a dialogbox which shows the users of my software
how many relations they have to approach today and the next few days.
The upper screen is the replacement: a WPF screen with lots of
features not or difficult to create in VO (I did wipe out recognizable
names a bit). WPF is the latest way to create windows using XAML code
to describe where you want what to display or happen. This mean you
can create almost any effect in Windows and could just pile up
anything into your window. So called code behind supports features you
define , e.g. what happens on a button click.
In the WPF window for example, the upper left title slides in like on
a Windows 8 Phone. Totally useless, but users seem to love this. The
buttons are W8 style and direct the user to the screen where the
reminders are displayed from. I call this screen from VO, passing
parameters and reading the choice made. The VO side is just a few
lines of code; making a suitable string to pass as arrays is not
possible and was one of the bigger jobs.
I think we will need this kind of lay-out to survive the upcoming
years.
As for the 2nd reason: you may argue that I could have done this all
in C#. True. There's lots of samples to start with. However, I usually
need to try half a dozen or more before one really works. I still
dislike the C# structure, especially the {} in which I always seem to
paste code on the wrong site of an { or } resulting in pages of
errors....And C# requires a lot more thinking about the syntax than
Vulcan. When I have a working C# sample, Reflector usually gives me
the right Vulcan code, or at least an idea how to get it. But most
important has been the tremendous amount of help I got on the Vulcan
NG; almost always directly usable and really beyond comparison with
more general C# websites.
Does this mean I will now rush to Vulcan? No, I must admit. I dislike
VS, really the only way to program Vulcan WPF programs currently. I
find the prg based editing instead of the sortable, movable and
selectable entity based VO editing a true disaster, and almost
anything I do takes considerable more time and effort in VS than it
takes in VO. Debugging WPF is non existent, the relation between the
visual WPF editor and the XAML code is tense to say it friendly and I
can add lots more like this. That is not to blame Vulcan, it's
.Net/Visual Studio and apparently to get these marvelous effects we
have to accept that. So for now I keep working in VO and gradually
move our UI towards the latest standards.
The code from VO:
oVulcan := OLEAutoObject{"VulcanMethods.VOClass"}
IF oVulcan:Finit
cResult:=oVulcan:ShowWin(cDataParamaters)
ENDIF
Dick