|
<< Click to Display Table of Contents >> Navigation: Telegram > 2023 > 09 > 07 > Telegram_2023-09-07T14 |
2023-09-07T14:07:30
I am trying to show iwframe in modal window:
not working.
var
IWFrame1: TIWFrame1;
IWRegion: TIWRegion;
begin
IWRegion := TIWRegion.Create(self);
IWRegion.Width := 500;
IWRegion.Height := 400;
IWFrame1 := TIWFrame1.Create(self);
IWFrame1.IWFrameRegion := IWRegion;
with IWModalWindow1 do begin
Reset;
Buttons.CommaText := '&OK,&Cancel';
Title := 'test';
ContentElement := IWRegion;
OnAsyncClick := WindowDoOnAsyncClick;
FriendlyName := 'mydlg';
CloseButtonVisible := False;
CloseOnEscKey := False;
Show;
end;
2023-09-07T14:52:20
This not work with frames created runtime