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

  • 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

  • Filter Checkboxes for the Messages list?
    on 2020-01-29 at 12:57

    Does GExperts have Filter Checkboxes for the Compiler Messages log-list?     This would allow to TEMPORARILY hide any of the message types [Hints, Warnings,  Errors], without having to change the corresponding setting in the Options dialog and then repeat the compilation process:     This would particularly useful if there is a long messages list.

  • Hide Show non-visual issue
    on 2020-01-27 at 21:14

    D10.3.3, GExperts revision 3040. Not sure what has happened here.  I think I saved the project with the non-visual hidden. When I re-opened the project later the non-visual weren't showing.  I toggled the function and the component showed but not their names. No amount of toggling restores the component names. Is this a GExperts thing?  If so, where/how can I rectify this? Regards & TIA, Ian

  • [Bug] Line breaks - Local procedures
    on 2020-01-25 at 21:04

    When selected option is on than two spaces before local procedure/function are missing. Tested on GExperts 1.3.15 build 84 version.

  • Download issues
    on 2020-01-25 at 16:40

    On The links now resemble:   Nasty stuff.

  • r3040 build error
    on 2020-01-14 at 19:12

    When trying to build r3040 in Delphi 10.3.3 I got this warnings/errors:   [Exec Error] Warning(1): File not found: [...]\gexperts-code-r3040-trunk\Projects\DelphiXx103\   [Exec Error] Der Befehl "call ..\..\buildtools\prebuild.cmd "C:\COMP\_Addons\GExperts\GExperts Sourcecode\gexperts-code-r3040-trunk\Projects\DelphiXx103\GExpertsRS103.dproj"&&call ..\..\buildtools\movedll.cmd "C:\COMP\_Addons\GExperts\GExperts Sourcecode\gexperts-code-r3040-trunk\Binaries\GExpertsRS103.dll"" wurde mit dem Code 9009 beendet.  

  • [Improvement] Align lines - offer to add new Token when no Token found
    on 2020-01-06 at 23:59

    I use this feature a lot! So, thank you for maintaining it.   It would be nice to have an option to add/configure new token when none is found. Right now, if it doesn't find any configured tokens, it just shows error message:       But, to configure new Token, you need to get out of the way to do it... it would be nice if error message would have a 'Configure' option/button right there to add new Tokens:     Let me know if you need more info.   Thank you for considering it!    

  • GExperts sources currently broken
    on 2019-12-29 at 18:36

    I'm in the process of restructuring the GExperts sources. Currently the trunk is broken. If you want to compile your own DLL, use the   tag.

  • Error quitting Delphi 10.3.3 with GExperts 1.3.15 build 84
    on 2019-12-27 at 09:36

    I finally got around to installing 10.3.3 and now I get this message every time I quit Delphi: --------------------------- Anwendungsfehler --------------------------- Exception EAssertionFailed in Modul GExpertsRS103.dll bei 00055131. Call DeactivateFontsInfo before calling this. (D:\source\_sourceforge\GExperts\externalsource\UniSynEdit\SynTextDrawer.pas, Zeile 475). --------------------------- OK    --------------------------- I have been getting a more generic error ever since 10.2 but kind of got used to it. This now is more specific and I'll report it to the GExperts bug tracker as well.

  • Revision 2957 build issue.
    on 2019-12-25 at 20:12

    D2007 builds without issue. D10.3.3 build errors per the attached.  This was a clean svn download just now. Regards, Ian

  • [Suggestion]Allow start new GREP search session/window
    on 2019-12-12 at 07:29

    Suggestion === Allow start a new GREP search session with a new window.   A use case === Assuming I'm in the middle of reviewing/checking/changing references to a specific function where the amount is not small, and now I need to do another global search for another identifier.    A current workaround  === Combine the using of the IDE's Find In Files menu. PS, Sorry, I came up with this workaround after finishing writing the above, but FWIW, I still post this suggestion.

  • [Suggestion] right click on a hyperlink in the source code to give a popup menu item for "Visit Link"
    on 2019-12-12 at 04:12

    Perfectly, like the attached screenshot of the "Follow Link" feature of visual Studio code (provided by Warreñ Postma on Facebook)   Thanks.  

  • Uses Clause Manager improved: Search Identifier information on the Web
    on 2019-12-06 at 16:19

    Added a context menu item to search for Identifier information on the Web:     This starts a google query in your default browser using both the selected Identifier name and Unit name. In most cases, this retrieves useful information about the selected identifier.   For example, with the Identifier selected in the above screenshot, your browser would open this Google search results page URL: Winapi.WinInet   Additionally, I have optimized the controls on the bottom of the Identifiers tab to better fit with a high DPI display.   Here are the sources (based on release r2907) :

  • Uses Clause Manager improved: Filtering Identifiers with multiple words!
    on 2019-12-06 at 14:12

    Now it is possible to filter Identifiers with multiple words (separated by spaces):     Added hourglass cursor during the filtering of Identifiers to give better user feedback.   Here are the sources (based on release r2907) :

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