09-07-2019, 09:27 AM
Hi
Simple bug in IW15.1.4, but very annoying.
OnAsyncClick Event:
IWGrid1.visible: = not IWGrid1.visible;
... and the position of the Grid is moving!
(The position is correct for the OnClick event.)
Other components have no such error.
Error presentation:
http://95.140.46.153/gridvisibletest
Can you help me with this?
Best regards
brsoft
Simple bug in IW15.1.4, but very annoying.
OnAsyncClick Event:
IWGrid1.visible: = not IWGrid1.visible;
... and the position of the Grid is moving!
(The position is correct for the OnClick event.)
Other components have no such error.
Error presentation:
http://95.140.46.153/gridvisibletest
Can you help me with this?
Best regards
brsoft
Code:
type
TIWForm1 = class(TIWAppForm)
IWGrid1: TIWGrid;
IWButton1: TIWButton;
IWButton2: TIWButton;
procedure IWButton1AsyncClick(Sender: TObject; EventParams: TStringList);
procedure IWButton2Click(Sender: TObject);
public
end;
implementation
{$R *.dfm}
procedure TIWForm1.IWButton1AsyncClick(Sender: TObject; EventParams: TStringList);
begin
IWGrid1.Visible:=not IWGrid1.Visible;
end;
procedure TIWForm1.IWButton2Click(Sender: TObject);
begin
IWGrid1.Visible:=not IWGrid1.Visible;
end;