Firemonkey stringgrid and Unidac

Discussion of open issues, suggestions and bugs regarding UniDAC (Universal Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
gandalf
Posts: 21
Joined: Mon 20 Feb 2012 17:43

Firemonkey stringgrid and Unidac

Post by gandalf » Mon 20 Feb 2012 17:51

With livebindings I have connected a stringgrid to a Unidac query (SQLite).

If selecting via mouse a row the selection disappears.

What could be wrong?

Edited:
After additional testing it seems to be caused by setting ShowSelectedCell to false.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Tue 21 Feb 2012 10:10

hello,

The ShowSelectedCell property responses for highlighting a selected field (white on default). If this property is set to False, the selected field won't be highlighted.

gandalf
Posts: 21
Joined: Mon 20 Feb 2012 17:43

Post by gandalf » Tue 21 Feb 2012 10:27

Tested with ShowSelectedCell set to false.

When clicking on a row with a mouse the first time I can see the selected record. After this the selection seems to be disappeared.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Post by AlexP » Wed 22 Feb 2012 14:17

hello,

We have checked behaviour of StringGrid, that is related to our UniDAC, at various ShowSelectedCell values (both True and False), all the strings are displayed even after mouse click on them.
Please check this behaviour with the standart Delphi components, for example ADO. If the problem doesn't occur when using the standart components, please send your application sample to alexp*devart*com

gandalf
Posts: 21
Joined: Mon 20 Feb 2012 17:43

Post by gandalf » Thu 23 Feb 2012 10:23

Will do that. Thanks!

Post Reply