VB6 -DBGrid - TechRepublic
General discussion
March 13, 2002 at 05:36 PM
c1980

VB6 -DBGrid

by c1980 . Updated 23 years, 10 months ago

Who knows of a better way to program a DBGrid to use basic funtions (like every other grid) such as Ctrl-A to mark all records, or use the SHIFT key and mouse to mark records between the current records and the mouse position.
The Ctrl-mouse click to mark several individual records is already built.

And I have been able to program the Ctrl-A with 15 lines – no problem.

But using the SHIFT and mouse, I can only mark records for the VISIBLE rows (row 0 to the VisibleRows property – but marking rows before row 0 or after the VisibleRows, and then doing something such as a deletion, doesn’t work and sometimes causes a crash.

Also, the ability of copying and pasting a record seems to not work.

This discussion is locked

All Comments