Quantcast
Channel: Delphi – The Wiert Corner – irregular stream of stuff
Browsing all 1445 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Settings Migration Tool – RAD Studio

I totally missed that this was introduced in Delphi XE8: [Archive.is] Settings Migration Tool – RAD Studio. It allows exporting/importing your Delphi settings and migrate them from older Delphi...

View Article


Image may be NSFW.
Clik here to view.

Stop Delphi generating .res files for unit test applications

By default, Delphi always generates .res resource files when compiling a project. There are two things you need to change to turn this off; the first is on by default, the second could be your own...

View Article


Delphi still doesn’t raise overflow exception on Int64 multiplication…

Thanks to Stefan Glienke for pointing me at the below patch for [WayBack] Why doesn’t raise overflow exception on multiplication example or how to detect in this case?{$RANGECHECKS ON} {$OVERFLOWCHECKS...

View Article

VM disk sizes

I forgot to schedule the post below. It is still relevant if you create a machine with lots of Delphi versions on it. Below are some VM disk sizes I have used. Note that for Windows 7+ you need to keep...

View Article

Image may be NSFW.
Clik here to view.

Delphi: formatting uses lists to each unit is on a separate line

Delphi formatter setting, so I can manually arrange uses lists: –jeroen Uwe Raabe commented in G+: Also available in MMX Code Explorer in the settings dialog: Pascal -Sorting – Format unit uses clauses...

View Article


Delphi – directives are not conditionals

Directives are commands to the compiler such as {$D+} or {$WARN xxxx OFF}. Compiler defined conditionals are not “directives”, rather they’re used for conditional directives {$IF Defined(xxxx)} or...

View Article

Delphi – ModelMaker Code Explorer history lists in the registry

ModelMaker Code Explorer does not allow you to edit the “most recently used” items in that you can use in various places, but luckily these history lists are all in the registry as keys under this base...

View Article

Delphi – Viewing an array in the Watch Windows starting from a non-zero index

via [WayBack] Is it possible to range an arrays in Watches view to specific index range? Sometimes I work with arrays that contain 100Ks lines, and Watches limit the view to index 131071… – Mike...

View Article


I totally forgot that Delphi has had a function to get the current executing...

While updating some old code fiddling with the[WayBack] GetThreadId function, I wanted to have some TThread wrapper around it. I had totally forgotten there has been already a means for this since...

View Article


You can use Linux API calls directly from Delphi 10.2 and up

Paul TOTH figured this out: you can use any Linux API but it’s not trivial. you have to install the “dev” library under Llinux, like “apt-get install xxx-dev” for the xxx API you have to update the...

View Article

listview – TListView detecting ESC or unchanged editing – Stack Overflow

Delphi translation by Thomas Mueller of a C++ Builder fix [WayBack] listview – TListView detecting ESC or unchanged editing – Stack Overflow Via [WayBack] TListView detecting ESC or unchanged editing –...

View Article

Image may be NSFW.
Clik here to view.

“Don’t access VCL from a background thread”– how to demo that?

When accessing the VCL from multiple threads at the same time: adopted from …\DEMOS\THREADS\THRDDEMO.DPR Great question a while ago: [WayBack] “Don’t access VCL from a background thread” – how to demo...

View Article

Delphi – pressing Ctrl-A on a TDBEdit was partially fixed in Delphi 10.2 Tokyo

[WayBack] QualityCentral 110308 – TDBEdit updates wrongly Datalink.Modified when Dataset being in Browse mode and [WayBack] QualityCentral 127300 – Closed Exception When Ctrl+A (select text) on TDBEdit...

View Article


Delphi TList.Grow and TStringList.Grow perform differently

Just as a reminder to self: the non-generic TStringList and TList grow way less aggressive than the generic TList: TList.Grow and TStringList.Grow: 4, 8, 12, 28, 44, 60, 76, 95, 118, 147, 183, 228,...

View Article

CodeRage 8 replays: REST stuff

It seems I forgot to schedule this post, as it was still in the drafts.. So here it is for historic purposes. Likely a few links have died by now. Last year I could not make it to CodeRage 8 as I was...

View Article


Image may be NSFW.
Clik here to view.

GExperts “Set Component Properties”

I totally forgot about [Archive.is] GExperts Help: Set Component Properties The main reason is that I hardly use any live connections in Delphi applications any more for mainly two reasons: timing...

View Article

From the bragging “Did you know the IDE starts almost twice as fast in 10.2.2...

An interesting discussion sprouted from the bragging [WayBack] Did you know the IDE starts almost twice as fast in 10.2.2 as it did in 10.1?...

View Article


ColorButton unit with TColorButton saved for posterity as...

Hopefully my blog will last longer than the original delphi.about.org articles. Last year, I noticed yet another path into bit rot: [WayBack] The title reads “Source Code for the TColorButton Delphi...

View Article

Delphi Community Edition available: good move for Embarcadero, but be careful...

On [WayBack] Delphi Community Edition available: – Uwe Raabe – Google+, the links to the [WayBack] EULA, [WayBack] FAQ and [WayBack] Feature Matrix were shared. In summary (read the G+ thread for...

View Article

Starting your Delphi VCL app meanwhile your mouse is moving, no accelerators...

Problem (D2007 and up) If you are starting your Delphi VCL app meanwhile your mouse is moving, no accelerators are shown (Menu, button, focus rect missing… etc.) Something similar happens when you...

View Article
Browsing all 1445 articles
Browse latest View live