RTL.Delphi.VCL.Forms.Windows.pas Delphi-WPF.dll

Dear All,
I’m trying to create TForm from RemObjects.Elements.RTL.Delphi.VCL.Forms.Windows.pas
in C# or Oxygene assembly.

but TForm is not available for public use.

experiments/ProjectRCL/ProjectRCL-WPF has example of Delphi’s TForm
but it references to Delphi-WPF.dll.
where will I find it? I don’t see this dll in trial distribution.

thanks in advance,

Are you using .2331 or .2341?

Hi Dmitrii,
Right, Delphi-WPF.dll is not on trial.
Please, could you download project from https://github.com/remobjects/DelphiRTL/ ?
There you can build DelphiRTL.Echoes.WPF project and reference it.

Thanks

Awesome,
it works, with some manual *.dfm adjustment.(binding event handlers with buttons)

Can you explain, how to add a *.dfm file to ProjectRCL-WPF.elements project file in VisualStudio2015? and associate it with particular form?

I did it by manually editing e.g: <EmbeddedResource Include="Unit5.dfm" />
XML node in ProjectRCL-WPF.elements file, but that IMHO not a right way to do it.

In Oxygene, can we use something like
{$R *.dfm} in *.pas file?

basically, how to associate a *.dfm with *.pas file if there are many of them in one elements project?

thanks in advance.

The project is under active development right now, we don’t have at the moment other way to link a unit with a form. We are going to check what is the best way to do and will be implement for sure.

Thanks for your comments!

1 Like