View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002383||JEDI VCL||00 JVCL Components||public||2004-12-14 08:50||2005-02-04 02:18|
|Status||resolved||Resolution||no change required|
|Product Version||3.00 BETA 2|
|Target Version||Fixed in Version|
|Summary||0002383: JvDBGrid: when MultiSelect and RowSelect are true then when showed SelCount report 0 instead of 1|
|Description||Put a JvDBGrid on a form and link it to whatever datasource.|
Set MultiSelect and RowSelect to true.
Run the program: the grid show the first line as selected, but if you inquiry SelCount then it reports 0 instead of 1.
Two possible solutions:
a) when created, no selected row has to be shown
b) when created, SelCount must be set to 1
I think the best choice is a)
|Tags||No tags attached.|
Test.7z (3,090 bytes)
>the grid show the first line as selected
??? Not on my grid.
>ut if you inquiry SelCount then it reports 0 instead of 1.
Nothing wrong here.
When the row is selected, the marker on the left displays a small circle. If the selected row has the focus, there's a > after the circle.
To make the difference clear to my users, I use two different background colors (one for the focused row, one for the selected rows) and paint them in the OnGetCellParams event.
|2004-12-14 08:50||anonymous||New Issue|
|2004-12-14 08:50||anonymous||File Added: Test.7z|
|2005-01-10 08:49||anonymous||Note Added: 0006114|
|2005-02-04 02:18||obones||Status||new => resolved|
|2005-02-04 02:18||obones||Resolution||open => no change required|
|2005-02-04 02:18||obones||Assigned To||=> obones|
|2005-04-01 05:59||obones||Relationship added||has duplicate 0002547|