setankabir
asked on
How to prevent multiselection on columns, but allow multiselection on rows in DBGrid
In multiselect mode, how to prevent multiselection on columns, but allow multiselection on rows?
Thanks in advance
Actually I have asked this question, but nothing can answer it. So, I increase the difficulty point.
Thanks in advance
Actually I have asked this question, but nothing can answer it. So, I increase the difficulty point.
By Object Inspector
Property: - Options
Set: dgMultiSelect to False
Property: - Options
Set: dgMultiSelect to False
Sorry, I did not read the question carefully....
DBGrid.Options := [dgEditing,dgAlwaysShowEdi tor,dgTitl es,dgIndic ator,dgCol umnResize, dgColLines ,dgRowLine s,dgTabs,d gConfirmDe lete,dgCan celOnExit, dgMultiSel ect];
is impossible multiselection of columns, but it is possible multiselection of rows in DBGrid.
DBGrid.Options := [dgEditing,dgAlwaysShowEdi
is impossible multiselection of columns, but it is possible multiselection of rows in DBGrid.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
procedure TForm1.FormCreate(Sender: TObject);
begin
tstringgrid(dbgrid1).Optio
end;
Regards
Azhdari