I have install NextSuite 6 in Delphi 10.4. I put a nextgrid on form and double click the grid to open Columns editor . but I get
Access violation at address 1D804C2B in module 'NxStandard6Run d10 4.bpl'. Read of address 000002E8.
Posted 26 November 2020 - 07:59 AM
I have install NextSuite 6 in Delphi 10.4. I put a nextgrid on form and double click the grid to open Columns editor . but I get
Access violation at address 1D804C2B in module 'NxStandard6Run d10 4.bpl'. Read of address 000002E8.
Posted 26 November 2020 - 11:13 AM
Hello,
Quite strange bug, not sure what can be wrong with a pretty basic string function.
Do you maybe also have some other version of Delphi, just to try it there?
One thing that comes to my mind is that is there some older version of NextSuite on your system (if you used it before) and it makes conflict with the new files. Maybe you can do a search for Nx*.bpi files and see if they are located somewhere else too.
Maybe something of this can help.
Posted 26 November 2020 - 05:52 PM
I have delete all Nx*.bpi and bpl from disk. and reinstall NextSuite6 . but the Error still exist. Why? In system it have Delphi 7 and Delphi 10.3 installed. and Delphi 10.3 have same error.
Posted 26 November 2020 - 06:44 PM
Hi,
I'm not sure why this happens. Can you also tell me which version do you use? You can find version inside NxConsts6.pas file (or if is possible right-click on NextGrid in design-time then pick Version option).
Can you tell me does other components works for you?
Posted 26 November 2020 - 07:08 PM
And, also I'm wondering can you open the Views Editor? It uses same technique as Columns Editor.
Posted 28 November 2020 - 07:25 AM
Views Editor work fine.
Version in NxConsts6.pas
const
Posted 30 November 2020 - 05:15 PM
Hello,
Maybe is something related to the system. I'm not sure how to solve it.
One another solution can be if you add one more line to the next procedure inside NxColumnsEditor6.pas:
procedure TNxColumnsEditor6.AddButton(Palette: string; ComponentClass: TComponentClass; ImageIndex: Integer); var MenuItem: TMenuItem; begin ShowMessage(IntToStr(ImageIndex)); // <----- New line with Self.Palette.Add(Palette, ComponentClass, ImageIndex) do begin ShowHint := True; Hint := ComponentClass.ClassName; { Populate "Convert To" } MenuItem := TMenuItem.Create(ConvertTo); MenuItem.Caption := ComponentClass.ClassName; MenuItem.OnClick := DoConvertMenuClick; MenuItem.ImageIndex := ImageIndex; ConvertTo.Add(MenuItem); end; end;
Posted 04 December 2020 - 04:53 PM
I have add the new line . and get showmessage with 0.
And I found in TNxToolPalette6.GetPaletteByText
Posted 09 December 2020 - 07:57 PM
Hi,
Thank you for the test. I'm really not sure why it happens. I only suspect that maybe your Local Settings make some problems, but not sure anymore.
Posted 05 July 2021 - 04:27 PM
Hello! I also have same bug (Access Violation when entering NextGrid Columns Editor), but with other stack trace:
[429FA3C3]{NxGrid6Run_d10_4.bpl} NxCustomGrid6.TNxCustomGrid6.SetSelectionColor + $F
[50CF4E53]{vcl270.bpl } Vcl.Controls.TControl.SetClientWidth (Line 5990, "Vcl.Controls.pas" + 1) + $12
[42644668]{NxGrid6Dsgn_d10_4.bpl} NxColumnsEditor6.TNxColumnsEditor6.Create + $78
[4264C2AF]{NxGrid6Dsgn_d10_4.bpl} NxGridReg6.TNxColumnsProperty6.OpenEditor + $37
[4264C19A]{NxGrid6Dsgn_d10_4.bpl} NxGridReg6.TNxColumnsProperty6.Edit + $12
[4264B6B9]{NxGrid6Dsgn_d10_4.bpl} NxGridReg6.TNxGridComponentEditor6.EditProperty + $59
[2105EDD4]{designide270.bpl} DesignEditors.TDefaultEditor.CheckEdit (Line 2739, "DesignEditors.pas" + 2) + $5
[2105EBA8]{designide270.bpl} DesignEditors.GetComponentProperties (Line 2654, "DesignEditors.pas" + 95) + $23
[2105F080]{designide270.bpl} DesignEditors.TDefaultEditor.Edit (Line 2785, "DesignEditors.pas" + 7) + $24
[4264B656]{NxGrid6Dsgn_d10_4.bpl} NxGridReg6.TNxGridComponentEditor6.Edit + $A
[4264B791]{NxGrid6Dsgn_d10_4.bpl} NxGridReg6.TNxGridComponentEditor6.ExecuteVerb + $51
[5289F07A]{vcldesigner270.bpl} VCLSurface.TVclDesignSurface.ComponentVerb (Line 2915, "VCLSurface.pas" + 3) + $B
[50E3D49A]{vcl270.bpl } Vcl.Menus.TMenuItem.Click (Line 2605, "Vcl.Menus.pas" + 19) + $8
[50E3EC53]{vcl270.bpl } Vcl.Menus.TMenu.DispatchCommand (Line 3562, "Vcl.Menus.pas" + 5) + $2
[50E3FEBA]{vcl270.bpl } Vcl.Menus.TPopupList.WndProc (Line 4735, "Vcl.Menus.pas" + 4) + $E
[2356F15D]{cxLibraryRS27.bpl} Dxhooks. + $0
[50E3FE09]{vcl270.bpl } Vcl.Menus.TPopupList.MainWndProc (Line 4710, "Vcl.Menus.pas" + 2) + $5
[50181450]{rtl270.bpl } System.Classes.StdWndProc (Line 18021, "System.Classes.pas" + 8) + $0
[50064530]{rtl270.bpl } System.@FinalizeRecord (Line 33034, "System.pas" + 56) + $1E
[50E5B23F]{vcl270.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 11028, "Vcl.Forms.pas" + 23) + $1
[50E5B282]{vcl270.bpl } Vcl.Forms.TApplication.HandleMessage (Line 11058, "Vcl.Forms.pas" + 1) + $4
[50E5B5B5]{vcl270.bpl } Vcl.Forms.TApplication.Run (Line 11196, "Vcl.Forms.pas" + 26) + $3
[0051E178]{bds.exe } bds.bds (Line 222, "" + 13) + $2
Version 6.6.0. Delphi 10.4.1
Think the bug is somewhere else. This stack is just an consequence of some inner bug.
Posted 05 July 2021 - 04:29 PM
Views Editor opens normally, no error
Posted 08 July 2021 - 01:31 PM
Answer to myself, to topic starter and to everybody:
This happens because in "pirate" version of components 6.6.0 from "downloadly ir" file NxColumnsEditor6.dfm is lacking the description of "object grEditor: TNextGrid6"
If you surely decide to pirate, you may copy-paste this description from older version of this dfm, for example from version 6.3.5, also found on internet wastelands.
I advise not to pirate, but to buy latest components and have normal support from developer :-)
Posted 08 July 2021 - 06:11 PM
Thank you for your help.
0 members, 1 guests, 0 anonymous users