Forum for GExperts


Since Google is shutting down Google+ and the Yahoo mailing list does no longer accept my emails, I have been looking for an alternative which will hopefully be available for a bit longer this time.

There is now a GExperts sub forum in the brand new English Speaking Delphi Praxis forum. Everybody is invited to sign up and participate.

Please note that my preferred way for getting bug reports and feature requests is still a ticket on SourceForge.

Here is the current content of the forum’s RSS feed

  • Rev 3201 can not be compiled
    on 2020-07-05 at 03:43

    Hi,   the latest Revision 3201 can not be compiled.   An Error in \Source\CloseExceptionNotification\GX_CloseExceptionNotification.pas Line 549   procedure TfmGxCloseExceptionNotificationExpert.sg_ExceptionsDblClick(Sender: TObject); begin   inherited; end; procedure TfmGxCloseExceptionNotificationExpert.sg_ExceptionsDblClick(Sender: TObject); begin   EditCurrentEntry; end;   Bezeichner redeklariert: "TfmGxCloseExceptionNotificationExpert.sg_ExceptionsDblClick"     best regards Torsten

  • Strange text effect
    on 2020-06-26 at 16:17

    In Delphi 10.4 GExperts, Uses Clause Manager shows strange text effect upon selection of a text item where every selected text seems to have a shadow:     Never seen anything like this. Has anyone else?   It appears to happen only in Uses Clause Manager.   I believe source code version is r3177.

  • GExperts Menu order
    on 2020-06-17 at 18:50

    Is there a way to change the order of the menu items on the GExperts menu in the IDE? The latest build for Delphi 10.4, when not alphabetized, has the Procedure List way farther down than in previous versions. It used to be the first menu option and I got really used to that. Maybe an enhancement request?   Thanks, I love this tool; I've been using it for over a decade.

  • Crash when Delphi 10.n exits... again
    on 2020-06-03 at 09:29

    This is a known bug, when exiting Delphi 10.3.n Rio or Delphi 10.4 GExperts creates an error. EAccessViolation in module rtl270.bpl ... in module bds.exe   Followed by another one : Exception EAssertionFailed in module GExpertsRS104.dll at ... Call DeactivateFontInfo before calling this. ....SynTextDrawer.pas line 475   Since I'm installing Sydney 10.4 I realized (thanks to my VM Snapshots) that GEpxerts behaves perfectly until I install TMS FixInsight. If I take FixInsight out, then the problem is gone. That may be one lead to follow. I have many TMS Components that coexist without problem with GExperts. It seems to appear only once FixInsight is installed. Some users may have that SynTextDrawer error too without this component, but you never know.   Just my two cents  

  • Error when building GExpertsPeInformation.dpr
    on 2020-05-31 at 10:19

    In Delphi 10.4, when trying to build \gexperts-code-r3177-trunk\Projects\StandAlone\PeInformation\GExpertsPeInformation.dpr I get this error:   --------------------------- Fehler --------------------------- Datei C:\COMP\_Addons\GExperts\GExperts_Sourcecode\gexperts-code-r3177-trunk\Projects\StandAlone\PeInformation\EXEC kann nicht geöffnet werden. Das System kann die angegebene Datei nicht finden. --------------------------- OK    ---------------------------   (Translation: \EXEC cannot be opened. The file cannot be found.)   Also, \gexperts-code-r3177-trunk\Projects\StandAlone\PeInformation\__Build_Project.cmd does not work, with this error:   *** Error: Directory "=" does not exist. Variable DelphiPath in C:\COMP\_Addons\GExperts\GExperts_Sourcecode\gexperts-code-r3177-trunk\BuildTools\doGetDelphiPath.cmd ***

  • Message Dialog Expert form is too small in Delphi 10.3.3 & 10.4
    on 2020-05-29 at 21:24

    All, Latest svn of GExperts. I have opened a new thread on this one as the previous thread had an unrelated title referring to something else. This issue already registered with Thomas as Bug # 192. Before I start pulling D10.3.3 & D10.4 apart as it were I would ask if anybody else is seeing this when you open the Message Dialog?   Unfortunately Thomas is unable to reproduce it which suggests it may be my environment.   Regards, Ian      

  • Is this deliberate?
    on 2020-05-29 at 04:05

    Latest Gexperts SVN, D10.3.3. On creating a new Message using the Message Dialog Wizard I now get this sort of message code.. procedure TForm3.FormShow(Sender: TObject); begin MessageDlg(_('Test message.'), mtInformation, [mbOK], 0); end; Note the '_(' & ')' around the message. Something new.  And the '_' is an undeclared identifier. Take the '_(' & ')' out and all is good in the world. Ian

  • Problem downloading GExperts source
    on 2020-05-21 at 07:42

    Hello.  I'm trying to download the GExperts source, including externals, using File | Open From Version Control in Delphi Seattle.  On the checkout page, I enter   as the Url of Repository.  A few moments after clicking OK I get the error message     Unable to connect to a repository at URL ''   XML Parsing failed: Unexpected root element 'html'   Am I doing something incorrectly or is there some other problem?   FWIW, I am trying to download the source this way because the Zip file   gexperts-code-r3140-trunk-Source.Zip   I downloaded manually does not include a number of source files which are referenced by the GX_*.Pas files it contains.   TIA  

  • Does GExperts work in C++Builder
    on 2020-04-28 at 08:16

    Hi I have tried to find information about GExperts working with C++Builder and if it add any improvements, but with no luck. I tried here: and of course using google, but I see only Delphi and GExperts in the newer versions, is C++Builder no longer supported ?   Thanks in advance Best regards Asger

  • Align right in Converts Strings
    on 2020-04-13 at 20:42

    I made changes in the "Converts strings" window by adding the option to align the right apostrophe and Suffix to the right.Is something like this useful to other programmers?  If so, I will gladly share the code.   Sorry if I post it in the wrong place.   No option selected:   With option selected

  • Regular expression for "exclude dirs" in Grep?
    on 2020-04-13 at 15:44

    Another thing I just found out is that the Grep expert uses a regular expression for the exclude dirs option. It first escapes meta characters (e.g. '.', '*', '\' etc.), replaces ';' with '|' and then uses the result as a case insensitive regular expression to match the full directory name and the full file name. Every directory or file that matches the regex is excluded from the search.   The help says this: Exclude Dirs: A semicolon separated list of directories to exclude from the search (the exclusion is done via a substring match on the full directory and file name) I always assumed that this filter is only applied to the name of subdirectories and that it does a full match, e.g. 'src' matches the 'src' subdirectory only, not just any directory name that contains the string 'src', e.g. 'deleted-src'. And I never expected it to match a file name like 'somesrc.pas'.   Searching the directory 'd:\src\SomeProject' with an exclude dirs filter of 'src' will actually find nothing at all because all names will start with 'd:\src' which always matches the filter!   Did you know that? Is this a bug or a feature?

  • Is a standard comment before each procedure implementation useful?
    on 2020-04-13 at 13:35

    While fixing some bugs in the code formatter I came across a functionality that I didn't know about: procedure bla; begin end; The formatter can insert a fixed comment above each procedure like this: { procedure } procdure bla; begin end; It does this only if the configuration option CommentFunction is set to True. It's False by default and there is no GUI way to set it, so I never noticed.   I think the way it currently works is pretty pointless, especially since the comment is hard coded as '{ procedure }' and is inserted above each procedure, function constructor and destructor. Even if there is already a different comment: { This is a comment } procdure bla; begin end; becomes { This is a comment } { procedure } procdure bla; begin end; Nobody needs that. Would any other automatically created comment be more useful? I can't think of any, but maybe somebody else has an idea? Currently I'd rather remove that functionality. I don't think a code formatter should add comments, it should simply format the source code that is there.

  • AV in GExperts with Themes
    on 2020-04-07 at 08:29

    Hi,   from time to time I run into an endless AV when running grep from GExperts. Here is the stack trace. I'm not sure if this is a GExperts or a DevExpress problem:   [5005FD90]{rtl260.bpl  } System.TObject.InheritsFrom (Line 18239, "System.pas" + 6) + $0 [5005FBE2]{rtl260.bpl  } System.@IsClass (Line 17942, "System.pas" + 1) + $8 [0B4ED18C]{themeloader260.bpl} System. + $0 [0B4ED959]{themeloader260.bpl} Idetheme.Vclstyledialogshooks.TTabControlIDEDialogStyleHook.Paint + $2D [50E05577]{vcl260.bpl  } Vcl.Themes.TCustomStyleServices.DrawParentBackground (Line 2592, "Vcl.Themes.pas" + 1) + $F [50E05591]{vcl260.bpl  } Vcl.Themes.TCustomStyleServices.DrawParentBackground (Line 2598, "Vcl.Themes.pas" + 1) + $D [0B4E61F2]{themeloader260.bpl} Idetheme.Vclstylehooks.TTabControlIDEStyleHook.PaintBackground + $82 [0B4D8D17]{themeloader260.bpl} Idetheme.Vclstylehooks.TIDEStyleHook.WMPaint + $EF [0B4D8E82]{themeloader260.bpl} Idetheme.Vclstylehooks.TIDEStyleHook.WndProc + $7A [0B4D97B0]{themeloader260.bpl} Idetheme.Vclstylehooks.TMouseTrackControlIDEStyleHook.WndProc + $0 [0B4E6AB2]{themeloader260.bpl} Idetheme.Vclstylehooks.TTabControlIDEStyleHook.WndProc + $A [0B4D8924]{themeloader260.bpl} Idetheme.Vclstylehooks.TIDEStyleHook.HandleMessage + $A0 [0B511493]{themeloader260.bpl} Idetheme.Stylemanager.TIDEThemeStyleEngine.HandleMessage + $97 [0B511C96]{themeloader260.bpl} Idetheme.Stylemanager.TIDEThemeStyleEngine.UnRegisterSysStyleHook + $DA [50D197BC]{vcl260.bpl  } Vcl.Controls.TWinControl.WndProc (Line 10122, "Vcl.Controls.pas" + 10) + $48 [50CF65D7]{vcl260.bpl  } Vcl.Graphics.FreeMemoryContexts (Line 7138, "Vcl.Graphics.pas" + 12) + $8 [50D19314]{vcl260.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 9977, "Vcl.Controls.pas" + 3) + $6 [501796A4]{rtl260.bpl  } System.Classes.StdWndProc (Line 17932, "System.Classes.pas" + 11) + $2 [1D14BADA]{DevEx_Main.bpl} […]

  • Search for GX_FavFiles
    on 2020-03-19 at 12:31

    Hello, I'll try add search on TreeView, but, I can not add on default treeview. Have any one idea about this?

  • Get CLASSNAME of component
    on 2020-03-09 at 15:13

    I want to either expand the functionality of the Get Component Names GExpert to somehow include the CLASSNAME of the selected component(s) or to create a similar GExpert which gets the CLASSNAME instead of the component name.   (The former solution could include an additional keyboard-shortcut configuration for the classname, inside the same GExpert).   So I looked at the GxOtaGetComponentName function:   function GxOtaGetComponentName(const AComponent: IOTAComponent): WideString; var Component: TComponent; begin Assert(Assigned(AComponent)); Result := GxOtaGetComponentPropertyAsString(AComponent, NamePropertyName); if IsEmpty(Result) then begin Component := GxOtaGetNativeComponent(AComponent); if Assigned(Component) then Result := Component.Name; end; end; The parameter NamePropertyName is defined as a constant with the value 'Name'.   Since there is no constant NamePropertyClassName, I assume that the class name of a component can be in any case simply retrieved by Component.ClassName and has not necessarily be retrieved by GxOtaGetComponentPropertyAsString.   So I would naively propose this function to get the class name:   function GxOtaGetComponentClassName(const AComponent: IOTAComponent): WideString; var Component: TComponent; begin Result := ''; Assert(Assigned(AComponent)); Component := GxOtaGetNativeComponent(AComponent); if Assigned(Component) then Result := Component.ClassName; end; What do you think?

  • Uses Clause Manager: EXISTING Identifier not found
    on 2020-03-08 at 16:42

    I have a question about the list of Identifiers in the Uses Clause Manager:   A specific identifier named SaveStringToFile is not found in the list of Identifiers although its unit (the unit name is MiTeC_Routines - it's a licensed unit ) is in the Library Path.   Could it be because it's enclosed inside these compiler directives in the interface section of the unit? {$IFDEF RAD6PLUS} procedure SaveBytesToStream(ABytes: TBytes; AStream: TStream); procedure SaveBytesToFile(ABytes: TBytes; AFilename: string); procedure SaveStringToFile(AString: string; AFilename: string); overload; procedure SaveStringToFile(AString: ansistring; AFilename: string); overload; {$ENDIF} That's because of other identifiers OUTSIDE these compiler directives from the same unit ARE being found.

  • Bugs in GExperts source code?
    on 2020-03-03 at 21:28

    Today I downloaded gexperts-code-r3054-trunk , extracted it to C:\COMP\_Addons\GExperts\GExperts Sourcecode\gexperts-code-r3054-trunk and tried to build it by loading: C:\COMP\_Addons\GExperts\GExperts Sourcecode\gexperts-code-r3054-trunk\Projects\DelphiXx103\GExpertsRS103.dproj into the Delphi 10.3.3 IDE.   First, it complained about a file not found OUTSIDE (!) its own directory:   [Exec Error] EXEC(1): File "C:\COMP\_Addons\GExperts\GExperts_Version.ini" does not exist. (ENoVersionInfo)   So I copied it from C:\COMP\_Addons\GExperts\GExperts Sourcecode\gexperts-code-r3054-trunk\Projects\GExperts_version.ini to the required location.   Then it complained about another missing file:   [dcc32 Error] E1026 File not found: 'GExpertsRS103_version.res'   So I RENAMED (!) C:\COMP\_Addons\GExperts\GExperts Sourcecode\gexperts-code-r3054-trunk\Projects\DelphiXx103\GExpertsRS103.res to GExpertsRS103_version.res.   Only after these two actions,  the GExpertsRS103.dll could be successfully built and is now happily living in the 10.3.3 IDE:     Are these bugs inside the GExperts source code?

  • Error on Replace Components
    on 2020-02-26 at 16:26

    I need to replace components in a large project. Have not previously tried to do this with GExperts, but routinely use it in single forms. On trying to run against all forms in the project, I got this error: The total count of the target components was 193. After the failed replace, it was 146, so has done some of the work before failing.  

  • Error when trying to build GExperts r3053
    on 2020-02-08 at 19:18

    I tried to build [r3053] in Delphi 10.3.3. Got this error message:   [Exec Error] The command "call ..\..\buildtools\prebuild.cmd "\\Mac\Home\Documents\DELPHI\___ADDINS\gexperts-code-r3053-trunk\Projects\DelphiXx103\GExpertsRS103.dproj"&&call ..\..\buildtools\movedll.cmd "\\Mac\Home\Documents\DELPHI\___ADDINS\gexperts-code-r3053-trunk\Binaries\GExpertsRS103.dll"" exited with code 9009.   How can this be resolved?

  • Created a very-easy tiny request request
    on 2020-02-02 at 13:01

    Auto-trim input string in the "Goto Line Number" box

 Posted by on 2018-10-27 at 13:57