I have a stringgrid, wich has more cols than you can see on the form.
I get a horizontal scrollbar and can move. OK.
When i skip through the cols by tab, the grid automatically scrolls and the selected col is visble.
This only works, wenn the option [goediting] is not enabled.
I tested it for example in your AdvStringGrid demo4. There is at first goediting false, when i made the form smaller, I could skip through the cols by using the TAB-Key and the grid scrolled.
Then I changed the option goediting into true, then I could also skip the cols by TAB-Key, but the cols out of the width of the form, didn't get visible.
I tested this with a default grid on the form initialized with:
begin
advstringgrid1.ColCount := 20;
advstringgrid1.LinearFill(false);
advstringgrid1.Options := advstringgrid1.Options + [goTabs, goEditing];
end;
and I cannot see an issue.
With respect to demo 4, this demo has 7 tabs with 7 different grids. So, where do you see this?
Thank you for your quick answer.
I tested it with the stringgrid in Udlgs.pas in demo 4
I retested this.
In this demo goTabs and goEditing were not set, so I added this
procedure TForm1.FormCreate(Sender: TObject);
begin
advstringgrid1.savefixedcells := false;
advstringgrid1.loadfromcsv('cars.csv');
advstringgrid1.Options := advstringgrid1.Options + [goTabs, goEditing];
end;
but with this setting I could not see an issue here.
Do you use the latest version of the component?
No, I don't have the latest Version, I will test it again, when I get a new version.