-
Content Count
2023 -
Joined
-
Last visited
-
Days Won
26
Everything posted by Attila Kovacs
-
Delphi ignores path to unit in .dpr
Attila Kovacs replied to Vandrovnik's topic in RTL and Delphi Object Pascal
yeah we know that, is that new? try to make it relative to the project root, but I would explicitly define it in the search path from a dedicated directory like myrtlpatches/xyz the order is project root, library path, search path, so either comes into the project dir or with relative path into the dpr. -
Delphi ignores path to unit in .dpr
Attila Kovacs replied to Vandrovnik's topic in RTL and Delphi Object Pascal
@Vandrovnik there is the global library path, then there is a search path in the project options, and there is the project root dir where the IDE looks for the files. In reversed order as I wrote them. So either copy it to your project root or into a separate dir and add it to the project search path. -
Am I the only one annoyed that these are in System.Math?
-
VCL Handling of dpi changes - poor performance
Attila Kovacs replied to Vincent Parrett's topic in VCL
@Vincent Parrett Could you check if this superfluous invalidate in Vcl.Controls has an impact on it? I forgot the details on it. if Message.Msg = WM_UPDATEUISTATE then Invalidate; // Ensure control is repainted -
@Vandrovnik Brutal. Voted too. But I don't think they touch the compiler in the near future, however, I've noticed that reports regarding to the IDE are opened in a couple of workdays at the time and also being fixed. I'm surprisingly satisfied with that.
-
_exactly_ Because if someone sees it, he could think I can do math 🙂
-
I have no idea what you are talking about. Those were MinValue and MaxValue. I'm really struggling to find any sense in any of your comments.
-
@Bill Meyer well, then get some rest 😄
-
@Bill Meyer are you using explorer? known extensions are hidden?
-
Multiple string replace - avoid calling StringReplace multiple times
Attila Kovacs replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
and what sorting function would you use fot this? Replace('ABA', ['BA','XX'], ['AB','XX']); -
Multiple string replace - avoid calling StringReplace multiple times
Attila Kovacs replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
This would be a brand new exotic routine with unpredictable results. -
Multiple string replace - avoid calling StringReplace multiple times
Attila Kovacs replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
@A.M. Hoornweg The MultiStringReplace has to consider this, right. I did not follow the whole thread and the codes, but if it's not the case, then yes, you are right, the routine is useless. Btw. your example does not reflects this. -
Multiple string replace - avoid calling StringReplace multiple times
Attila Kovacs replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
? I don't understand the question. The input has a natural order. There is nothing to decide. -
Multiple string replace - avoid calling StringReplace multiple times
Attila Kovacs replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
@balabuev does this respect the order of the substrings? -
Multiple string replace - avoid calling StringReplace multiple times
Attila Kovacs replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
-
Multiple string replace - avoid calling StringReplace multiple times
Attila Kovacs replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
What is that? Can you omit the for-to index in 10.4 or is there a StringReplace which accepts arrays? for i := Low(aOldPatterns) to High(aOldPatterns) do Result := StringReplace(Result, aOldPatterns, aNewPatterns, [rfReplaceAll]); -
@Geoorge So you want to hide the screen from the client meanwhile you are changing some settings?
-
then you would end up like the dialog in your other thread
-
I can scale the docked form designer as I want, the tricky part is that half+ of the VCL components are don't like negative zoom, then, for a pixel perfect design the designer should be scaled to a multiplication of a whole number and the components should snap into place. The rest is just a projection.
-
Theming was more important, and screwing the ide, looking unusable if the the drawing bpls are removed, thx to xy. I can't wait how slow it will be if it has to draw on 4K.
-
I'm glad if it works. I don't know every implementation but I could not find any which supports unicode for example, so I made my own. Also, you can have multiple attachments.
-
Use it as you want if it works. I'd be happy if fixes/enhancements would come back to me! 😉 forsix.MapiMail.pas
-
do you want to try my mapi unit?
-
What is the error you encounter?
-
Ctrl+Shift+F (Find in Files) Crashes Delphi IDE 10.4.2
Attila Kovacs replied to c0d3r's topic in Delphi IDE and APIs
okay, didn't know that you can disable it 🙂