TCRDBGrid FixedCols property not accessible ..

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
gandalf1024
Posts: 7
Joined: Wed 04 Apr 2007 07:50
Location: Athens, Greece

TCRDBGrid FixedCols property not accessible ..

Post by gandalf1024 » Sat 21 Apr 2007 18:42

Hi,

Is there a way someone can access the FixedCols property in TCRDBGrid?
Or any other way that some columns become non-scrollable?

Thanx
Kostas

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Mon 23 Apr 2007 12:56

There is no simple way to do this with TCRDBGrid. You should modify its source code, that is included into all MyDAC editions except MyDAC Trial.

gandalf1024
Posts: 7
Joined: Wed 04 Apr 2007 07:50
Location: Athens, Greece

Post by gandalf1024 » Tue 24 Apr 2007 09:26

Ok, thanks

A simple workaround I found was to put two grids using the same dataset side by side, and hiding the left one's vertical scroll bar under the right one, emulating the desired behaviour ..

Kostas

Post Reply