Jump to content


Boki (Berg)

Member Since 15 Jan 2005
Offline Last Active Today, 12:08 AM
*****

Posts I've Made

In Topic: Enable/Disable Button in a Column and Row.

Yesterday, 10:41 PM

Hello Steve,

 

There are several ways to do it, but you can check this event: https://help.bergsof...lumn6/OnSetCell

 

This event is a place where you can for example disable the column, and then quickly enable it depending on row parameter. So different row indexes can have different enabled state.


In Topic: InactiveSelection Font Colour.

19 January 2025 - 01:40 PM

Hello Sir,

 

This property is already available for download inside users-section.


In Topic: installation nextdbgrid6_12-24 in XE3

17 January 2025 - 02:14 PM

Hi,

 

Please sorry for the huge delay. I think that just clicking on Ignore should solve the problem. It seems that my new Delphi injected this code into the dfm file. I will remove it for the future releases.


In Topic: OnDrawContent problem

20 December 2024 - 02:13 PM

Hi,

 

It seems that the Ellipse have Brush.Color missing and Text was placed on the top/left corner relative to the grid, not a cell. I have fixed this code and this is the example:

 

procedure TForm3.NxDateColumn61DrawContent(Sender: TObject; ACol, ARow: Integer;
  CellRect: TRect; State: TNxCellPaintingState);
begin
   NextGrid61.canvas.font.Color := clYellow;
   NextGrid61.Canvas.Pen.Color := clYellow;
   NextGrid61.Canvas.Brush.Color := clRed;
   NextGrid61.canvas.Ellipse( cellRect.Left + 5, cellRect.Top + 5, cellRect.Right - 10, cellRect.Bottom - 10 );
   NextGrid61.Canvas.TextRect( cellRect, cellRect.Left, CellRect.Top, 'Text' );
end;

In Topic: TNxListGridView6.GetFirstRowInPage

18 December 2024 - 03:36 PM

Hello,

 

Thank you for you demo project. It helps a lot.

 

I found that for some reason Screen.PixelPerInch returns 96 in your demo project, but on mine (with 4K screen) is 192. It seems that this is causing all the problems so I will work now to find the solution.