PeterPanettone
Members-
Content Count
1318 -
Joined
-
Last visited
-
Days Won
5
Everything posted by PeterPanettone
-
Move current entity to another unit?
PeterPanettone replied to PeterPanettone's topic in MMX Code Explorer
That's a rational point. Thanks for the information. -
Move current entity to another unit?
PeterPanettone replied to PeterPanettone's topic in MMX Code Explorer
This is a real object: object shpColorHover: TShape Left = 26 Top = 313 Width = 41 Height = 41 Hint = 'Previews the color under the mouse pointer.' Brush.Color = clBtnFace Pen.Color = clSilver Pen.Width = 0 Shape = stRoundSquare end -
Move current entity to another unit?
PeterPanettone replied to PeterPanettone's topic in MMX Code Explorer
The benefits are clear, and I agree with them. But introducing additional complexity always increases the cost of a project in terms of handling and maintenance effort. -
Move current entity to another unit?
PeterPanettone replied to PeterPanettone's topic in MMX Code Explorer
Interesting approach, nice code. But why introduce unnecessary complexity into something which is intrinsically simple? -
Move current entity to another unit?
PeterPanettone replied to PeterPanettone's topic in MMX Code Explorer
Did you read and understand what I wrote? -
Move current entity to another unit?
PeterPanettone replied to PeterPanettone's topic in MMX Code Explorer
Is MMX open source? I believe not. I would be happy to help. But I doubt Uwe would allow me. Is this a Kindergarten? I hope not. -
Move current entity to another unit?
PeterPanettone replied to PeterPanettone's topic in MMX Code Explorer
"Code is clean if it can be understood easily – by everyone on the team." procedure ResetHoverColor; begin Form1.shpColorHover.Brush.Color := Form1.FHoverColor; end; I doubt that @Uwe (or anyone else) did not understand this code. I rather assume that Uwe called my code "unclean" for specific "emotional" reasons... -
Move current entity to another unit?
PeterPanettone replied to PeterPanettone's topic in MMX Code Explorer
Using: Form1.shpColorHover.Brush.Color := Form1.FHoverColor; instead of: shpColorHover.Brush.Color := FHoverColor; is MANDATORY in this context! So this is not a question to "encourage" something which is SYNTACTICALLY NECESSARY! It is strange that you define my code as "UNCLEAN". Has this any religious connotations? -
Move current entity to another unit?
PeterPanettone replied to PeterPanettone's topic in MMX Code Explorer
Why not? Are you in a bad mood? Don't you want to make MMX smarter and make doing things with MMX more comfortable? -
Move current entity to another unit?
PeterPanettone replied to PeterPanettone's topic in MMX Code Explorer
An example: I have this method entity implemented in Unit1: procedure TForm1.ResetHoverColor; begin shpColorHover.Brush.Color := FHoverColor; end; I CUT this method entity and PASTE it into unit uTransparencyManager (which is part of the same project), and it becomes: uses Unit1; procedure ResetHoverColor; implementation procedure ResetHoverColor; begin shpColorHover.Brush.Color := FHoverColor; end; However, to make it work without errors, I had to MANUALLY add the "Form1." prefixes: procedure ResetHoverColor; begin Form1.shpColorHover.Brush.Color := Form1.FHoverColor; end; 1. Adding these prefixes should be done automatically by MMX! PLUS: The FHoverColor variable is declared in the private section of the Unit1.TForm1 class. To make it usable in the uTransparencyManager unit, I had to MANUALLY move the declaration into the public section of the Unit1.TForm1 class. 2. This too should be automatically done by MMX! Can you please implement this? Thank you! -
I have added a Search Filter to the GExperts ToDoList: It is VERY FAST! It searches in all columns of the ToDoList! Usage: Type the search text into the Search Box and then press the Return/Enter key. To reset/cancel the search filter, just delete the search text in the Search Box and then press the Return/Enter key again. This Search Filter feature is very useful when you have many ToDo items in your project. Here is the source (based on r3686) : GX_ToDo.zip Changed the visibility of the FilterTodoList method from public to private: GX_ToDo v2.zip Slightly increased the height of the Search Box to show the whole search text instead of this: : GX_ToDo v3.zip Showing the number of unfiltered and filtered ToDo items: : GX_ToDo v4.zip Improved the height setting for the Search Box: GX_ToDo v5.zip I donate this source code (i.e. my changes to the existing source code) to the GExperts project maintained by Thomas. Added the issue to the source code website: https://sourceforge.net/p/gexperts/feature-requests/150/
-
Search Filter for GExperts ToDoList added
PeterPanettone replied to PeterPanettone's topic in GExperts
It should be: "Use the current editor identifier or the current designer control name as the default search string". This text conforms to the current English grammar rules. -
Search Filter for GExperts ToDoList added
PeterPanettone replied to PeterPanettone's topic in GExperts
"The Grep search expert now takes the name of the currently selected control on the form designer if it is opened while the form designer is active." I am not sure what you mean by "if it is opened": The Grep search dialog is modal, so no control can be selected while it is opened. And when I choose a control from the IDE Designer and then call the Grep Search dialog, the name of the control is not being inserted in the Grep dialog. -
Search Filter for GExperts ToDoList added
PeterPanettone replied to PeterPanettone's topic in GExperts
I compiled it in the IDE without problems as RELEASE version. I assume that makes GExperts slightly faster than the DEBUG version? -
Search Filter for GExperts ToDoList added
PeterPanettone replied to PeterPanettone's topic in GExperts
Thomas, thank you very much! But why the __Build_Project.cmd still cannot cope with "long" paths?: The last time I got such an error was over 30 years ago, in times of Windows 95. (Also my good old "Atari TT" tormented me with such error messages, until I wrote an Atari extension for allowing long file names; then I sold that extension source code for $10 to a guy with a funny nickname of "Bill G."...). -
Move current entity to another unit?
PeterPanettone replied to PeterPanettone's topic in MMX Code Explorer
1. Optionally create a new target unit or select the target unit from a list. 2. Automatically add uses statements to the target unit where needed. (Uses statements pointing to the source unit or the units required by the entity present in the source unit). -
Hot Reload is a feature in the upcoming .NET 6 that allows developers to modify source code while an app is running and immediately see the results: Microsoft reverses controversial .NET change after open-source community outcry Just pipe-dreaming: Wouldn't that be a wonderful feature for Delphi?
-
I downloaded the Delphi 11 NovemberPatch from https://my.embarcadero.com and executed patch.R110.hotfix.november_install.bat. This time there were no error messages. (The previous first patch about a month ago produced error messages when installed from GetIt). I made sure to execute the patch not from a network drive and from a path with no spaces in the path. I also made sure the Delphi 11 IDE was not running while installing the patch (as it is the case when installing the patch from GetIt). As seen from the console window, a lot of files were replaced/added. IMO, there should be a list of applied patches in the About dialog. https://blogs.embarcadero.com/rad-studio-11-alexandria-november-patch-available
-
Delphi IDE Insight (F6) in Delphi 11 Alexandria
PeterPanettone posted a topic in Delphi IDE and APIs
As an example, these are the search results when I search for "TPanel" in the F6 Search Box: Please note the LIGHT BLUE selection (highlighting) color: This very light selection color makes it almost impossible to detect which item is selected! Is it possible to change this selection color and replace it with a more contrasting selection color? -
Delphi compatibility with Windows 11?
PeterPanettone replied to PeterPanettone's topic in General Help
That is an interesting question. -
Delphi compatibility with Windows 11?
PeterPanettone replied to PeterPanettone's topic in General Help
Windows 11 bug could reduce Ryzen CPU performance by up to 15%, AMD says: https://arstechnica.com/gadgets/2021/10/windows-11-bug-could-reduce-ryzen-cpu-performance-by-up-to-15-amd-says/ -
Delphi compatibility with Windows 11?
PeterPanettone replied to PeterPanettone's topic in General Help
What Virtual Machinery brand do you use? -
What is ProDellInterface27 in the Delphi IDE???
PeterPanettone posted a topic in Delphi IDE and APIs
Each time I start Delphi 11 Alexandria, there is an INVISIBLE window with the window title "ProDellInterface27": (This is a row screenshot from my System Explorer 7.1.0.5359 app). 398192 is the window handle. 12468 is the Process ID of BDS.exe obviously owning this window. Does anybody know what functionality does this window have? (BTW, I don't have any Dell device in my system). -
What is ProDellInterface27 in the Delphi IDE???
PeterPanettone replied to PeterPanettone's topic in Delphi IDE and APIs
You are right. This is the BPL which integrates it into the IDE: C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\22.0\Bin\PDIFac27.bpl -
What is ProDellInterface27 in the Delphi IDE???
PeterPanettone replied to PeterPanettone's topic in Delphi IDE and APIs
You are right - my eyesight is not the best. Maybe "Del" is an abbreviation for Delphi? But who on earth wants to save 3 letters in a 17-letter word?