VO GUI Classes to Winforms

This forum is meant for questions and discussions about the X# language and tools
User avatar
robert
Posts: 4520
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

VO GUI Classes to Winforms

Post by robert »

Bernhard,
I don't think we will port RP to the new GUI classes.
We might consider to move the preview window to the Windows Forms classes and use Unicode drawing api to paint the strings so we can support unicode there too.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
User avatar
TimothyS
Posts: 62
Joined: Thu Dec 15, 2016 3:39 pm
Location: Australia

VO GUI Classes to Winforms

Post by TimothyS »

Does this mean that RP3 can be made to work with the new GUI classes?
User avatar
robert
Posts: 4520
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

VO GUI Classes to Winforms

Post by robert »

Timothy,
I don't think Rp3 will be ported to the new UI classes, unless someone else wants to do that.
Rp3 uses the Classmate UI, and this is different from the VO GUI.
We might be able to port the RP3 preview window, but that is as far as I would go.
Things would change of course if there were enough customers willing to invest in this development.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
Bernhard Mayer
Posts: 52
Joined: Thu Oct 06, 2016 3:00 pm
Location: Austria

VO GUI Classes to Winforms

Post by Bernhard Mayer »

Hi Robert!

Currently the RP2 printing relies on having a Vulcan.VO.Window based owner; do you think it would be possible to change that to a IWin32Window based one?

BR,
Bernhard
User avatar
robert
Posts: 4520
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

VO GUI Classes to Winforms

Post by robert »

Bernhard,

What I have in mind for Rp2 is to create a new PtrPreview window (there is a Dialog and childapp window at this moment) that uses the PrintPreviewDialog control from Windows.Forms. Of course we also need to change the printer engine , especially the Print() methods in each of the field types, because that version will not work with a VO compatible PtrDevice class but with a .Net class to print.
Almost all other code (the logic behind the report) can stay the same.
And yes, I would want to design the new preview window in such a way that it will not depend on the VO compatible window objects.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
User avatar
Joachim Bieler
Posts: 37
Joined: Mon Aug 19, 2019 1:51 pm
Location: Germany

VO GUI Classes to Winforms

Post by Joachim Bieler »

Hi Bernhard,

many things are conceivable and also desirable. But in the first step the bBrowser must be ported first. That must be a lot of work. Which further data sources are supported later depends then also on the acceptance of the new bBrowser.

Joachim
User avatar
SHirsch
Posts: 286
Joined: Tue Jan 30, 2018 8:23 am
Location: Germany

VO GUI Classes to Winforms

Post by SHirsch »

robert wrote:Timothy,
I don't think Rp3 will be ported to the new UI classes, unless someone else wants to do that.
Rp3 uses the Classmate UI, and this is different from the VO GUI.
We might be able to port the RP3 preview window, but that is as far as I would go.
Things would change of course if there were enough customers willing to invest in this development.
Robert
I have also very strong interest in porting Classmate and RP3 to new UI classes.
Is it possible to make classmate open source so everyone with interest could contribute?

Stefan
User avatar
wriedmann
Posts: 3755
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

VO GUI Classes to Winforms

Post by wriedmann »

Hi Stefan,
it is impossible to port Classmate to the new GUI classes - ClassMate is not using the VO GUI classes in any way as it is a cmplete replacement.
For ClassMate the same process must be made as for the VO GUI classes: they must be moved from the Windows API to Windows Forms.
ReportPro 3 is another thing: it is an ActiveX, so it should be usable directly in the new GUI classes as every other ActiveX.

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
User avatar
robert
Posts: 4520
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

VO GUI Classes to Winforms

Post by robert »

Wolfgang,
wriedmann wrote:Hi Stefan,
ReportPro 3 is another thing: it is an ActiveX, so it should be usable directly in the new GUI classes as every other ActiveX.
That would be a possibility but that would mean that the reports are still Ansi only.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
User avatar
robert
Posts: 4520
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

VO GUI Classes to Winforms

Post by robert »

Stefan,
SHirsch wrote: I have also very strong interest in porting Classmate and RP3 to new UI classes.
Is it possible to make classmate open source so everyone with interest could contribute?
Stefan
I am afraid that will not be easy.
This code is owned by the people from DataPro.
We have their permission to keep it "up to date" and provide support to VO users.
Moving the code to Open source is a different thing.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
Post Reply