Telegram_2020-06-21T10

<< Click to Display Table of Contents >>

Navigation:  Telegram > 2020 > 06 > 21 >

Telegram_2020-06-21T10

Telegram link

 

2020-06-21T10:00:19

 

Thanks Eitan for your response.

 

I have the \CloseButtonVisible:false\ and still it shows.

 

I make a frame and link this frame to the IWModalWindow

 

[Code]

 

MyFrame:= TMyFrame.Create(self);

 

MyFrame.IWFrameRegion.Parent := self;

 

MyFrame.MyCloseBtn.OnasyncClick:= bCloseClick;

 

IWModalWindow1.reset;

 

IWModalWindow1.ContentElement := MyFrame.IWFrameRegion;

 

IWModalWindow1.Show;

 

[Code]

 

It shows, is modalform, but a header and footer (hasheader:false hasFooter:false)

 

[Code]

 

procedure TfmBase.bCloseClick(Sender: TObject; EventParams: TStringList);

 

begin

 

IWModalWindow1.Close;

 

end;

 

[Close]

 

So all works fine, except the Header and Footer.