|
<< Click to Display Table of Contents >> Navigation: Telegram > 2023 > 09 > 07 > Telegram_2023-09-07T15 |
2023-09-07T15:19:23
After dozens of attempts, this example helped a lot and was finally solved in the following way:
IWFrame1 := TIWFrame1.Create(self);
IWFrame1.Parent := self;
IWModalWindow1.Reset;
IWModalWindow1.CloseOnEscKey := True;
IWModalWindow1.HasHeader := false;
IWModalWindow1.WindowWidth := 500;
IWModalWindow1.WindowHeight := 400;
IWModalWindow1.BorderWidth := 10;
IWModalWindow1.Title := 'read lines';
IWModalWindow1.SizeUnit := suPixel;
IWModalWindow1.ContentElement := IWFrame1.IWFrameRegion;
IWModalWindow1.OnAsyncClick := WindowDoOnAsyncClick;
IWModalWindow1.Show;
many thanks to type: mention @Alex7691 ??