If you set Scrollbars to 0 (none) the scrollbar don't show.
Otherwise the scrollbar region is there even with 0 records, to illustrate:
What appears after I add two records is the
slider of the scrollbar, but the scrollba is already there from the beginning.
The slider is the darker gray rectange inside the scrollbar region, here shown in a grid with 2 records. The slider initially is full height. Is that what you mean?
The slider, which is sized as the portion of records you see in comparison to all records, will shrink when you add many more items and the visual portion is shrinking, but it's naturlly full height if you see all records. The question is rather, why it's only appearing when you have 2 or more records (at least that's what I experience), it's kind of logic it's missing with no records, but should be there when the first record exists.
The whole scrollbar is there from the start, though, it doesn't appear, it's already there. I wonder what you describe is the appearance of the slider of the scrollbar.
The simplest way to get rid of that, as initially said, is to set ScrollBars=0 and get rid of them overall. You have no influence on when VFP thinks the scrollbar slider should appear. You could also think about initially having no scrollbars and set Scrollbars to 2 (vertical) when you reach a reccount() that's one more than can fit into the grid height divided by rowheight (take into account the headers, too). Then you actually have both the scrollbar and its slider appear only when needed to scroll, in the moment you added the item that breaks the display limit.
Or you still keep the scrolllbars off, the scrollbar is not the only option to scroll down. There's mouse wheel scrolling and arrow keys. And, of course, you can simply add own buttons for up and down scrolling, perhaps even better suited for touch usage, as the scrollbar is very slim, so it can be "finger friendlier" with dedicated navigation buttons, can't it? And you don't need to fiddle with that problem.
Chriss