简体   繁体   中英

How can I open a WPF window in a Progress openedge ABL dialog?

是否有在 Progress opensge ABL 对话框中打开 WPF 窗口的示例?

The use of WPF is officially not supported by Progress Software. However most things work - if you keep your fingers from multi-threading features (or know exactly what you are doing there).

I strongly suggest you read through the GUI for .NET documentation here: https://community.progress.com/community_groups/openedge_general/w/openedgegeneral/2743.openedge-11-6-product-documentation

You should be able to launch a (non blocking) WPF window from ABL code.

You cannot embed WPF elements into ABL widgets.

You can embed ABL widgets into a WinForms Form and then add an ElementHost Control to the Form on top of the WindowContainer that hosts your ABL Window (won't work with a Dialog frame though).

Is this worth the effort? I doubt it! It's rather go with a more modern WinForms browser control, this might get you started: https://thechriskent.com/2014/08/18/embedded-chromium-in-winforms/

This is very possible by creating a Winform and then calling the WPF application from there all within a Progress session. We have done this within an MDI interface that is running both Progress ABL and WPF in the same Session.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM