-
Content Count
2561 -
Joined
-
Last visited
-
Days Won
133
Everything posted by Anders Melander
-
Project in Seismic Field
Anders Melander replied to nm1978's topic in Job Opportunities / Coder for Hire
Can't be much: AFAIK the LCL canvas doesn't support anti-aliasing. -
Cross-platform Application Help for FMX and VCL
Anders Melander replied to Alexander Halser's topic in Cross-platform
It's just a file format. There's nothing it that limits it to Windows. https://en.wikipedia.org/wiki/Microsoft_Compiled_HTML_Help#Use_in_non-Windows_applications -
I can't tell if this was an attempt at humor because that's exactly the syntax I want to avoid.
-
Sounds like a bug to me. Have you checked the application for resource leaks?
-
By Ignore newline I meant from this: Lorem ipsum dolor produce this: lorem ipsum dolor
-
What docs?
-
Nice! And about bloody time too! But surely there's more to the CoffeeScript-like syntax than this: Like, how does one differentiate between preserve or trim leading white space and preserve or ignore newline?
-
RTC Realthinclient - Didn't they have a remote control/support example
Anders Melander replied to Jasonjac2's topic in Delphi Third-Party
https://github.com/CloudDelphi/RTC-Portal-VCL -
You might want to link to the source when you copy/paste some text verbatim: http://hunspell.github.io/ In addition to the Hunspell library itself, the Hunspell dictionary format is also supported by many proprietary 3rd party spell check libraries such as the DevExpress spell checker. See also:
-
Win32, Win64, WinRT and now... WinARM ?????
Anders Melander replied to Juan C.Cilleruelo's topic in Windows API
Yikes. Nobody touches my screen! Not even myself. Besides touch screens add cost and complexity. -
It's a bug in FMX. Probably related to this one: https://quality.embarcadero.com/browse/RSP-39520 It's visible for Stroke.Thickness>1
-
Call for Delphi 12 Support in OpenSource projects.
Anders Melander replied to Tommi Prami's topic in Delphi Third-Party
As far as I remember it had something to do with some pre-Delphi 6 version attempting to parse the {$if ...} even though it was protected by a {$ifdef CONDITIONALEXPRESSIONS}. It could also just have been the fact that {$if CompilerVersion...} doesn't work above the first uses clause... Anyway, it doesn't really matter anymore. It just struck me that there was a reason why the feature didn't gain more use - from me at least. -
Call for Delphi 12 Support in OpenSource projects.
Anders Melander replied to Tommi Prami's topic in Delphi Third-Party
So, can anyone remember which version of Delphi broke that scheme? It's not broken now, but I'm certain that there was a version after Delphi 6 that somehow broke {$IF} so it couldn't be used if backward and forward compatibility was needed. -
Call for Delphi 12 Support in OpenSource projects.
Anders Melander replied to Tommi Prami's topic in Delphi Third-Party
For the same reason they have ridiculous NDAs and don't have public betas; They are so stuck in the 90s that they think anyone still gives a damn.n They never understood how to build a community. -
Call for Delphi 12 Support in OpenSource projects.
Anders Melander replied to Tommi Prami's topic in Delphi Third-Party
Works for me: -
Call for Delphi 12 Support in OpenSource projects.
Anders Melander replied to Tommi Prami's topic in Delphi Third-Party
Please stop using VERxxx. It's been possible to do {$if CompilerVersion >= XX} since Delphi 6 or 7. It's so annoying having to edit the .inc files of various 3rd party libraries with each new version of Delphi because they're designed as if the latest version = the last version. Graphics.32 uses {$LIBSUFFIX AUTO} for the D11+ packages. The earlier packages are manually maintained by using a diff tool to keep them synchronized with a master. The master usually comes from the latest supported Delphi version. There's no way I'm wasting disk space on old versions of Delphi just to maintain the package files. I have the latest version, and the few versions required by my job, and that's it. -
Class function vs constructor for object creation
Anders Melander replied to Michael Taylor's topic in Algorithms, Data Structures and Class Design
Strange... It's like there's an echo in here. -
Class function vs constructor for object creation
Anders Melander replied to Michael Taylor's topic in Algorithms, Data Structures and Class Design
Naming the constructor "Create" is just a convention. You can name it anything you like. Thus naming the constructor "From" will not make a difference. Here's your problem: Pascal isn't case sensitive so that code does nothing. Prefix your parameter names with "A" (i.e. name them AItem and AColor in this case) to avoid problems like that. FWIW, if you want to avoid memory allocation (i.e. allocate your object on the stack instead of the heap), make it a record instead. -
There is no default 256 color palette. Old version of Windows "reserved" 16 fixed colors while new versions reserve 20 fixed colors. https://en.wikipedia.org/wiki/List_of_software_palettes#Microsoft_Windows_default_20-color_palette Changing the pixelformat to pf8bit forces the bitmap to use a color palette. I.e. instead of each pixel explicitly specifying the RGB color values, the pixels will contain an index into a palette of 256 colors. The colors in a palette generated by Windows will partially depend on the system palette which again depends on the Windows theme. https://learn.microsoft.com/en-us/windows/win32/gdi/system-palette-and-static-colors https://learn.microsoft.com/en-us/windows/win32/gdi/default-palette If you want a predictable result then you need to generate the palette using a predictable method: Either use a static palette or generate one using color quantization. There are methods in the GifImg unit for both solutions. https://docwiki.embarcadero.com/Libraries/Sydney/en/Vcl.Imaging.GIFImg.ReduceColors
-
Not necessarily. An emphasis on a specific library is most likely caused by existing use and thus an investment in that library. Regardless of "bestness".
-
Why is that interesting?
-
Ann: Celebrating 20 Years of NexusDB: Get 50% Off!
Anders Melander replied to eivindbakkestuen's topic in Delphi Third-Party
Support for FireDAC, one could hope -
I can confirm that it doesn't work in NCSA Mosaic 2.0 I also tried Netscape Navigator 3.0
-
VCL Styles and WM_SETCURSOR problem with scrollbars
Anders Melander replied to luebbe's topic in VCL
"Irrelevant" is the word you're looking for 🙂 If it works for you with 11.x then there is no problem.