Telegram_2020-06-28T02

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2020 > 06 > 28 >

Telegram_2020-06-28T02

Telegram link

 

2020-06-28T02:11:53

 

Hi type: mention @Alex7691

 


 

Telegram link

 

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;

 


 

Telegram link

 

2020-06-28T02:13:36

 

But I have seem that issues seems to be fixed in iw 15.2.2

 


 

Telegram link

 

2020-06-28T02:49:44

 

I have made small modifications where I instamtiate the frames in the async events

 


 

Telegram link

 

2020-06-28T02:49:58

 

seems to work, but maybe it oly works on 15.2.2 and newer

 


 

Telegram link

 

2020-06-28T02:51:13

 

I emulate a BS modal dialog: Intantiate the TFrame2, and add a scrypt to the Callbackresponse

 


 

Telegram link

 

2020-06-28T02:51:21

 

WebApplication.CallBackResponse.AddJavaScriptToExecute('$(\#'+TFrame2(fCurrentFrame).IWFrameRegion.HTMLName+'\).modal()');

 


 

Telegram link

 

2020-06-28T02:51:31

 

to show the modal

 


 

Telegram link

 

2020-06-28T02:52:25

 

Jac you need to update to iw 15.2.2 and set the Frame.Parent to the current IWForm

 


 

Telegram link

 

2020-06-28T02:52:44

 

fCurrentFrame := TFrame2.Create(self);

 

fCurrentFrame.Parent := self;