Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Intraweb 15.1.5 - IWEdit in IWGrid.Cell problem
#11
Hi Piotr,

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

Cheers
Reply
#12
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.
Reply
#13
(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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)