A
A
Alexey Karpan2017-07-13 08:16:22
Delphi
Alexey Karpan, 2017-07-13 08:16:22

How to populate a StringGrid?

Good afternoon. I'm making a table for the "order sheet" type. The user can create an order table in the program (temporary), which can then be written to the database. Can you please tell me how to fill the table (StringGrid)? Filling should happen like this: Button "Add line" -> fill in Edit -> Entering into the table.
Please tell me how to fill in the table, if possible with an example code.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey Skorzhinsky, 2017-07-14
@AndyKorg

Of course, you can go by filling the StringGrid, but usually they do it easier. They take some DB component, at least the same ClientDataSet. Add TDBGrid and TDBNavigaor. Actually, that's all, the table editor is ready.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question