-
Content Count
1977 -
Joined
-
Last visited
-
Days Won
26
Everything posted by Attila Kovacs
-
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 🙂 -
MMX forms are not HDPI conform, they are only ok if you are using the IDE in "blurry" mode.
-
Ctrl+Shift+F (Find in Files) Crashes Delphi IDE 10.4.2
Attila Kovacs replied to c0d3r's topic in Delphi IDE and APIs
What do you mean with "disabling Refactor menu"? -
Why is TArray.BinarySearch slower than normal binary search function?
Attila Kovacs replied to Mike Torrettinni's topic in Algorithms, Data Structures and Class Design
@Mike Torrettinni folding code is a bit tricky. You have to add the spoiler tag first, then post the message, then edit it again and post the code into the folding area. At least this was my workaround, to get it work. If anybody knows a better way to do it, please share.