|
<< Click to Display Table of Contents >> Navigation: Telegram > 2020 > 06 > 28 > Telegram_2020-06-28T02 |
2020-06-28T02:11:53
Hi type: mention @Alex7691
2020-06-28T02:13:23
What Jac is having problems is with instantiated Frames inside the AsyncEvent, ex: fCurrentFrame := TIWFrame2.Create(SELF); WModalWindow1.ContentElement := fCurrentFrame;
2020-06-28T02:13:36
But I have seem that issues seems to be fixed in iw 15.2.2
2020-06-28T02:49:44
I have made small modifications where I instamtiate the frames in the async events
2020-06-28T02:49:58
seems to work, but maybe it oly works on 15.2.2 and newer
2020-06-28T02:51:13
I emulate a BS modal dialog: Intantiate the TFrame2, and add a scrypt to the Callbackresponse
2020-06-28T02:51:21
WebApplication.CallBackResponse.AddJavaScriptToExecute('$(\#'+TFrame2(fCurrentFrame).IWFrameRegion.HTMLName+'\).modal()');
2020-06-28T02:51:31
to show the modal
2020-06-28T02:52:25
Jac you need to update to iw 15.2.2 and set the Frame.Parent to the current IWForm
2020-06-28T02:52:44
fCurrentFrame := TFrame2.Create(self);
fCurrentFrame.Parent := self;