![]() |
WinForm WPF - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html) +--- Forum: CrossTalk (https://www.atozed.com/forums/forum-2.html) +---- Forum: CrossTalk General Discussion (https://www.atozed.com/forums/forum-7.html) +---- Thread: WinForm WPF (/thread-936.html) |
WinForm WPF - MagnusH - 02-05-2019 Hi, I'm wondering if crosstalk can handle .net WinForm controls or .net WPF controls so I can use them in Delphi? Thanks. RE: WinForm WPF - kudzu - 02-05-2019 CrossTalk questions are more appropriate in the CrossTalk forum so I have moved it to there. CT can handle some limited UI controls but it is not the focus of CrossTalk and what it can do in the UI space is limited. CT cannot handle individual controls. To use WPF or WinForms you have to use what in Delphi we would call a frame or a panel. You then put WPF controls on that panel, then you can put that whole panel inside a square section on your VCL form. Events etc though must be manually wired up and there are often interop issues. CT even had some WPF demos made for it in the past but as demand for such as so little and the side effects of interop, we stopped maintaining or supporting them. The side effects are not limited to CT and many existed even within .NET when a developer would interop WPF with WinForms. MS had the same issue as us, very little interest and they basically stopped doing any work in this area. |