Jump to content


Xillion

Member Since 20 Apr 2007
Offline Last Active Feb 22 2012 01:45 PM
-----

Topics I've Started

Having differen font for footer than in the cells

13 April 2011 - 01:05 PM

Hello Boki,

After some searching on the forum I came to the conclusion that there is no possibility to make the footer stand out from the other cells, apart from setting a different background color. I would like to make the footer look very different from the normal cells, that means setting a larger or bold font, changing colors etc. I want the footer to be more noticable for my users.

I just wanted to check if there really is no way to do this?

If the answer is no, here are my thoughts for making this possible:
- add a Font property to the TFooter class. This way we could set the footer font for each column.
- adding a general footerfont property to the grid. Less flexible because that would set 1 font for all column footers, however this could be nice if it is a "default" footer font that can be overruled in the TFooter's font property.)
- making the footer cells appear in the OnCellColoring and OnCellFormatting events (or create seperate events for the footer, e.g. OnFooterColoring and OnFooterFormatting).
Maybe a all of the above or some kind of combination would be nice.

I'd like to hear from you if there is a way to change the footer fonts, and/or what you think of the above thoughts.

Kind regards,

Stijn.

NxHeaderPanel - border beneath header has incorrect color

01 December 2010 - 03:48 PM

I have a header panel that I want to give my own look, not one of the predefined color schemes. To be able to do this I have set the following properties:
- BorderColor to some custom color
- Headercolor to some custom color
- set a custom HeaderFont
- removed hoColorSchemeFont from the options
- set AdaptiveColors to FALSE

This works fine, except for the line just under the Header itself. This seems to keep following the color from the colorscheme that you set in the ColorScheme property. (In the example picture it is set to csDefault, which is csBlue in my case)

It does this when the property HeaderStyle is set to psNormal and psWindowsLive. It seems fine with the other Header styles.

An example of the problem:


Am I missing a property, or is this a bug in the NxHeaderComponent?

Regards,

Stijn.

packages Delphi version suffix

19 May 2010 - 01:07 PM

Hi Boki,

When I installed the latest version of Next Suite (5.5.10.1) I noticed that you have added a suffix to all the package names, corresponding to each Delphi version. I have made my own packages, which include some components that inherit from components in the Next Suite. As a result some of your packages are in the requires section of my own packages, but with the naming change my dependencies are now broken. This is an easy enough fix (just update my requires section in the .dpk files). But this also means that I will now have to mange different versions of my own packages for each Delphi version I want to use. For example, I'm now using D2009, but I will probably upgrade when D2011 comes out. I will then have to update all my existing packages, just to change NxDBGridRun_d2009 to NxDBGridRun_d2011 for example. And maintain two branches of my packages, because I will have to be backwards compatible with "older" d2009 projects (actually I already have this situation with d7 now, but those projects are almost all upgraded).

Do you know of any convenient way so that I could still maintain one branch of my packages, and not one for each Delphi version? Maybe (I don't know if this is possible or not) you could include a "generic" set of packages, without the prefix, for those that do not have more than 1 Delphi version on the same system? (That would be me, I have multiple Delphi versions, but I never install them on the same machine. All hail virtualization wink.gif ) I could then for example keep using NxDBGridRun in my requires section.

Regards,
Stijn.

[EDIT]Fixed a typo[/EDIT]