Hi,
PB 2019 R2 using Window 10 1909
We have a PB app that makes a call to open a C# .NET XAML window. We intended the XAML window to be like a PB "Response" window type, but when that XAML window opens, the user can do an Alt-Tab back to the calling PB app. The user can't do anything in the calling PB app (you can click all you want but you won't be able to do anything) until the XAML window is closed.
Is there a PB method of making the XAML window truly modal, or does this call for a strictly C# .NET solution?
Rough example of code that calls the XAML to open:
DotNetObject idno
DotNetAssembly idna
nvo_powerbuilderfunctioncall invo_pb
string ls_result
integer li_rc
invo_pb = create nvo_powerbuilderfunctioncall
idna = create DotNetAssembly
li_rc = idna.LoadWithDotNetFramework(invo_pb.is_assemblypath)
idno = create DotNetObject
li_rc = idna.CreateInstance(invo_pb.is_classname, idno)
ls_string = idno.CallBarcodeDataWindowView(ls_arg1, ls_arg2, ..., ls_argN)
// process ls_string