Topic: Bug? Tablegrid.top tablegrid.left doesn't work

hey guys, i'm scripting the position on a tablegrid to show up where i want , but it doesn't seem to work.
Can anyone check this please?
Cheers

Re: Bug? Tablegrid.top tablegrid.left doesn't work

Hello.


I have checked, it works. Please attach your project, I will test it.

Dmitry.

Re: Bug? Tablegrid.top tablegrid.left doesn't work

tablegrid.top and tablegrid.left?

Re: Bug? Tablegrid.top tablegrid.left doesn't work

frm_assistencia.TableGrid_Search_Cl.Visible := true;
frm_assistencia.TableGrid_Search_Cl.left := 16;
frm_assistencia.TableGrid_Search_Cl.Top := 336;

Re: Bug? Tablegrid.top tablegrid.left doesn't work

I know what's wrong.
I had the same "Frm_assistencia.TableGrid_Search_Cl.Visible := true;" on a procedure right before the procedure with:

frm_assistencia.TableGrid_Search_Cl.Visible := true;
frm_assistencia.TableGrid_Search_Cl.left := 16;
frm_assistencia.TableGrid_Search_Cl.Top := 336;

example

Procedure 1

do this, do that... and oh...
frm_assistencia.TableGrid_Search_Cl.Visible := true;
procedure2;

Procedure 2

frm_assistencia.TableGrid_Search_Cl.Visible := true;
frm_assistencia.TableGrid_Search_Cl.left := 16;
frm_assistencia.TableGrid_Search_Cl.Top := 336;

As soon as i elimintaded the double "visible" command" on the first procedure, the tablegrid started jumpiung tot he right ride.