-
Content Count
1245 -
Joined
-
Last visited
-
Days Won
28
Everything posted by Sherlock
-
Ah, Delphinus. I remember that. Awesome project! But alas, all free projects collide with some restrictions of other "free" projects (note the different frees here). The following part just made it to much of a hassle for me (I am really lazy): That ended my brief foray into this great project. But it seems really well thought through and implements many of the ideas posted in this thread. Only downside is the Github monoculture.
-
Every single line of code you need is in your example...just remix it to do what you want. Edit: Or just take @Lajos Juhász code. But I strongly suggest trying to understand, what is being done there.
-
Isn't it up to you which items you put in the list? "Any way" could also imply to just filter yourself.
-
RadStudio 12,: IDE F1 key, The context sensitive help doesn't show up
Sherlock replied to HaSo4's topic in Delphi IDE and APIs
When this happens again try following what files are sought via ProcMon. -
Delphi 12 Welcome Page: Open Recent
Sherlock replied to PeterPanettone's topic in Delphi IDE and APIs
I too consider this to be a valid question for this forum. Alas I am unaware of any ways to change the behavior of this. Perhaps the Wuppdi welcome Page has something to offer? -
FYI - Several Embarcadero services are currently unavailable
Sherlock replied to Keesver's topic in General Help
Oh, goody! -
DUnitX passed in params are confusing
Sherlock replied to JamieMi's topic in RTL and Delphi Object Pascal
Oh, goody! I was actually looking for that, when I was interrupted....and forgot about it -
DUnitX passed in params are confusing
Sherlock replied to JamieMi's topic in RTL and Delphi Object Pascal
Consider looking at other projects tests. For example the tests in DUnitX itself: https://github.com/VSoftTechnologies/DUnitX/tree/master/Tests or DWScript: https://bitbucket.org/egrange/dwscript/src/master/Test/ or SKIA4Delphi: https://github.com/skia4delphi/skia4delphi/tree/main/Tests and last but not least Synopses mORMot: https://github.com/synopse/mORMot2/tree/master/test and kinda out of competition there is this: https://github.com/NickHodges/DelphiUnitTests a noble initiative to create and collect unit tests for Delphi itself... sadly it did not take flight. -
DUnitX passed in params are confusing
Sherlock replied to JamieMi's topic in RTL and Delphi Object Pascal
@Roger Cigol Done -
Delphi 12 IDE, auto-formatter mutilates generics
Sherlock replied to A.M. Hoornweg's topic in Delphi IDE and APIs
Sorry about that, that was just my humorous side getting the better of me, I know there will be no Version 13 - but if there ever was, it would aptly be named after a town with a "witch problem". -
Delphi 12 IDE, cannot create regions
Sherlock replied to A.M. Hoornweg's topic in Delphi IDE and APIs
Unsure if anyone managed to create a report yet, so here is my take on it: https://quality.embarcadero.com/browse/RSP-43855 -
Delphi 12 IDE, auto-formatter mutilates generics
Sherlock replied to A.M. Hoornweg's topic in Delphi IDE and APIs
I'm sure they're working on it for Delphi 13 codename "Salem". (Edit: Please ignore this, if you are looking for facts!) But for now https://docwiki.embarcadero.com/RADStudio/Athens/en/What's_New#Moving_Deprecated_Features and because the formatter is not explicitly mentioned here, it's deprecated through the modeling support. -
Delphi 12 IDE, auto-formatter mutilates generics
Sherlock replied to A.M. Hoornweg's topic in Delphi IDE and APIs
Yeah, the formatter is no longer maintained, marked as deprecated and should be handled with caution. Aside from that, you may highlight a specific code section and format only that. Or you could go a different way and choose to use the GExperts code formatter. It knows source directives to prevent code formatting. -
Delphi 12 IDE, cannot create regions
Sherlock replied to A.M. Hoornweg's topic in Delphi IDE and APIs
Jupp, same here. The "Surround" command is always grayed, no matter which context. -
Ah, a loop: Feel free to branch out of the loop with new arguments or new questions.
-
D'uh! But we're talking about Delphi, aren't we?
-
That really depends on the individual use case. For learning OOP with a Pascal flavor, D7 can be useful. For writing private Windows applications, that look "OK", Delphi XE2 is useful. For making money with Apps on current iOS...then any CE will be useless for several reasons.
-
Someone who does not want to spend and does not want to make money with Delphi Community Edition, that is who. And that seems to be a surprisingly large number.
-
I love the possibility to create and sell a monolithic exe, that can be dropped in a folder and just be executed, no installer necessary. That is of course not a distinguishing feature of Delphi, you could compile a C# application into a monolithic exe as well, but how often is that really done?
-
Firemonkey form not included in "Also snap to screen"
Sherlock replied to Alexander Halser's topic in FMX
Not that I am aware of. -
Firemonkey form not included in "Also snap to screen"
Sherlock replied to Alexander Halser's topic in FMX
You should do this only for Windows environments. So be shure to wrap that in appropriate $IFDEFs in case you develop multi platform (what FMX is designed for). -
Try NativeInt for 32Bit and 64Bit compatibility...
-
Windows 10 not loading the Settings app after 22H2 upgrade/update
Sherlock replied to JohnLM's topic in General Help
Phew. Congrats on that. Now you'll have to figure out if that was a one time glitch. Some future patches might rely on 22H2 being installed, which might leave your otherwise new computer ...um, looking old. -
Well Google has no right to gloat..."Ice cream sandwich"? Stupid names. Numbers rule! Delphi 12.0 - Done. Pure. Simple. No room for mistakes or errors. Other than Debian: Bullseye, Buster or Bookworm...which one is oldest?
-
Skia4Delphi_VCL sample project raises an exception
Sherlock replied to Ralf7's topic in General Help
Aha, ok. Nope, still no error here. Using the demo sources selected at install time, everything works fine. Have you tried placing a break point in the pnlCreatePDFDrawingSVGClick method, to see when your crash occurs? Perhaps you don't have a PDF reader installed (very wild guess)?