Forum > Databases

<SOLVED>How to select copy all data or column data from DBGrid?

(1/1)

Jonvy:
Dear all,
From the DBGrid, I want to get two funcftions:
1.click point 1(see attachment), then mark all data and copy to clipboard.
2.click point 2, get this column's data and copy to clipboard.
Just get the similar function as Excel.

Can anyone give me some ideas how to do it?
Thanks!

Best regards,
Jonvy
Modify message

paweld:
Sample in attachment

Jonvy:

--- Quote from: paweld on June 30, 2022, 02:24:15 pm ---Sample in attachment

--- End quote ---

Thanks Paweld, your code solves the problem!

Navigation

[0] Message Index

Go to full version