StringGrid Delphi - "carousel"

0

I would like to do the following with my StringGrid, I have a register of 100 products, and I would like it to show 10 products at a time, in a kind of infinite loop. Does anyone know how to help me?

    
asked by anonymous 20.10.2017 / 00:10

2 answers

0

Control of fetch is never done on a grid, regardless of whether it is dataware or not. The control must be done in dataset . I assume you should be using FireDAC , so in FecthOptions , the property Mode to fmOnDemand , and property RowsetSize to 10 . < br> Otherwise, in AfterGetRecords of DataSet event, you may need to increase RowCount of StringGrid . Depending on how you are feeding the data in StringGrid , you may need some more configuration.
If you have any doubts, post it.

    
20.10.2017 / 12:30
-1

No, just firemonkey same, I want to do something like this:

Linkimage: link

There he alternates the products, I can mount the screen, bring the products right, but I can not make this 2 in 2, 5 in 5.

    
20.10.2017 / 14:37