Jump to content


AlexMex

Member Since 01 Nov 2013
Offline Last Active Jun 21 2019 02:15 AM
-----

Topics I've Started

TNxIncrementColumn6 starting value

18 March 2019 - 02:24 AM

Hello Boki,

 

In the NextGrid V5 the TNxIncrementColumn start counting a 1. It looks like it start a 0 on TNxIncrementColumn6. Would it be possible to have a property to set the starting value?

 

Regards,

Alex


Nextgrid5 to Nextgrid6

07 March 2019 - 01:35 AM

Hi Boki,

 

I have a nextrgrid5 where I handle CellColoringEvent(Sender: TObject; ACol,
    ARow: Integer; var CellColor, GridColor: TColor; CellState: TCellState); to change the CellColor. I did this according to level of the Row.

 

procedure TFrmReport.gridReportCellColoring(Sender: TObject; ACol, ARow: Integer; var CellColor, GridColor: TColor; CellState: TCellState);
begin

    if not (csSelected in CellState) then
    begin
        if ARow = gridReport.RowCount -1  then
        begin
            CellColor := $0080FFFF;
        end
        else if (ARow < gridReport.RowCount-1) and (gridReport.GetLevel(ARow) = 0) then

                CellColor := $00FFAAAA
            else
                CellColor := $00FFAA77;

    end;
end;

I can't figure out how to do this in Nextgrid6. Your help is welcome.

 

I have found an event DrawBackGround but it looks like I have to draw the cell by myself. Is there a function that I can call to draw the default cell or provide it a background color?

 


TnxListColumn6 and InPlaceEdit

25 January 2019 - 12:54 AM

Hi Boki,

 

I have a TNxListColumns6 that has some items defined in its items property. When I edit the column, the combobox remains active after I click on one item of the dropdown. I have to click on another cell of the grid to make disappear the combo. I try to catch the Closeup event of the combo to execute an InPlaceEdit.EndEdit but it does not work. Can you tell me the proper sequence to make disappear the inplaceedit when user selects an item in the list and give back the focus to the column?

 

Regards,

Alex


TNxPageControl6 takes a while to initialize

21 January 2019 - 08:11 PM

Hello Boki,

 

I often have a delphi freeze when adding the first page on TNxPageControl6 (can take sometimes up to 1 min my i7 desktop). Looks like something goes wrong inside because after that the cut/paste function (CTRL-C / CTRL-V) does not work anymore on the form.

 

Also another issue I have is when I drag a new component from the Delphi toolbar and put it on the TNxPageSheet6, control it is attached to the form and not to the page. I have to cut / paste to get it on the page. As previous issue has disabled the cut/past function, I have to close Delphi or  reboot my pc to get the cut/paste function back.

 

And finally the initial question :)

Is there a way to hide/remove the close button  from the TNxPageControl6? User can close the tabs of my wizard and that's not designed for that.

 

Regards,

Alex


Access violation when adding a color column

23 October 2018 - 07:46 PM

Hello Berg,

 

I'm on the last version on the nextgrid v6 and when I create a new nextgrid and try to add a color column it crashes with an access violation in nxgrid6rum_d10_2.bpl. I am on delphi 10.2.3

Also if I try to display the column quick proprerties without having a column selected it crashes too.

 

Regards

Alex