Atozed Forums
Intraweb 15.1.5 - IWEdit in IWGrid.Cell problem - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: Intraweb 15.1.5 - IWEdit in IWGrid.Cell problem (/thread-1288.html)

Pages: 1 2


RE: Intraweb 15.1.5 - IWEdit in IWGrid.Cell problem - Alexandre Machado - 10-07-2019

Hi Piotr,

I'll test your application and get back to you ASAP. Please allow me a few hours to test it properly.

Cheers


RE: Intraweb 15.1.5 - IWEdit in IWGrid.Cell problem - Alexandre Machado - 10-07-2019

Code:
Control := TMyIWEdit.Create(Self);
        with TMyIWEdit(Control) do
        begin
          X := i;
          Y := j;
          Text := '';
          Width := StrToInt(IWGrid1.Cell[j, i].Width) - 10;

          // ----------- add the line below:
          StyleRenderOptions.RenderAbsolute := False;

          OnAsyncKeyDown := OnAsyncKeyDownControl;
          OnAsyncClick  := OnAsyncClickControl;
        end;

Can you please add the line as shown above and see if it fixes the issue in your real application. 
It fixes in your test case.

There were some fixes and changes in rendering of specific controls from v 14 to 15, and it might be the case here. I still need to confirm but it will take a little more time. I'll keep you posted, anyway.


RE: Intraweb 15.1.5 - IWEdit in IWGrid.Cell problem - piotr.lewicki@mapi.com.pl - 10-07-2019

(10-07-2019, 09:30 AM)Alexandre Machado Wrote:
Code:
Control := TMyIWEdit.Create(Self);
        with TMyIWEdit(Control) do
        begin
          X := i;
          Y := j;
          Text := '';
          Width := StrToInt(IWGrid1.Cell[j, i].Width) - 10;

          // ----------- add the line below:
          StyleRenderOptions.RenderAbsolute := False;

          OnAsyncKeyDown := OnAsyncKeyDownControl;
          OnAsyncClick  := OnAsyncClickControl;
        end;

Can you please add the line as shown above and see if it fixes the issue in your real application. 
It fixes in your test case.

There were some fixes and changes in rendering of specific controls from v 14 to 15, and it might be the case here. I still need to confirm but it will take a little more time. I'll keep you posted, anyway.

Hi Alexandre!

It's working! 
Thank You very much!

It was really very important for me!

Piotr Lewicki