Jump to content


David Marcus

Member Since 24 Aug 2011
Offline Last Active Sep 01 2011 01:36 AM
-----

Topics I've Started

Underline in header, sort button, row indicator

31 August 2011 - 07:16 PM

Can I underline a character in a header? Using &Header just seems to show the ampersand.

Suppose I have a DBGrid and only some of the columns can be sorted on (the ones I have indexes for). How do I indicate to the user which these are? My old grid lets me show a button in just those columns. If the grid is sorted on one of the columns, then it can show a button that has an arrow in it. The other columns have the button with no arrow.

The row indicator has a black background. This (to my eyes) makes it look like the grid has the focus even when it doesn't. Can I make the background the usual color?

Considering purchasing

24 August 2011 - 01:33 AM

I'm considering purchasing the Next DBGrid and Next Grid. I've looked at the demos and the Help that comes with the Delphi 7 version. I think it will do what I need. Some of the things I need are the following:

Non-DB

* Change colors of individual cells.

* Not use the input line. Add a row in code and let user edit cell values.

* Events that fire when the user starts to edit a cell and finishes editing a cell.

* Not allow columns and rows to be moved or resized by the user.

* Make a column read only.

DB

* Make selected row look not selected if grid doesn't have focus.

* Have a sort selector in some (but not all) column headings.

* Double click selects record.

* Event that fires when heading sort selector is clicked.

Both

* Make entire grid read only.

Do any of these sound like they would be a problem?