Jump to content

dwrbudr

Members
  • Content Count

    72
  • Joined

  • Last visited

Community Reputation

8 Neutral

About dwrbudr

Technical Information

  • Delphi-Version
    Delphi 11 Alexandria

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. dwrbudr

    How I fixed LSP (sorta) and a question

    Do not use search paths. Add the modified VCL units first in the .dpr file like: Vcl.Dialogs in '..\Delphi Fixes\Vcl.Dialogs.pas',
  2. dwrbudr

    About the compiler (not) finding the DFM files

    Could you please share your PostBuild script and the entire sequence copying those files to the sub-folders. I've done something similar, but on many libraries msbuild fails under 64-bit mode while compiling the .dproj files under command-line using a bat file. In Delphi IDE all is OK, but msbuild fails building some 64-bit libraries. build.bat: call "C:\Program Files (x86)\Embarcadero\Studio\23.0\bin\rsvars.bat" msbuild /t:rebuild /p:Config=Release /p:platform=Win32 MyPackage.dproj msbuild /t:rebuild /p:Config=Debug /p:platform=Win32 MyPackage.dproj 64bit build.bat: call "C:\Program Files (x86)\Embarcadero\Studio\23.0\bin64\rsvars64.bat" msbuild /t:rebuild /p:Config=Release /p:platform=Win64 MyPackage.dproj msbuild /t:rebuild /p:Config=Debug /p:platform=Win64 MyPackage.dproj This is my postbuild event: .\..\copyres.bat "$(PROJECTDIR)\..\" "$(PROJECTDIR)\$(Platform)\$(Config)" copyres.bat: @echo off for /r %1 %%x in (*.res) do @copy "%%x" %2 /Y > NUL for /r %1 %%x in (*.dfm) do @copy "%%x" %2 /Y > NUL for /r %1 %%x in (*.dcr) do @copy "%%x" %2 /Y > NUL The bigger problem I have is that I need to set some component packages Library path to point to their \Source\ folder (instead of to the precompiled Win32\ and Win64\ .dcu folders) if my program overrides some of the Delphi files like Vcl.Forms.pas/Vcl.Controls.pas, etc. So my question is: Is there anyway to recompile a component package using custom Vcl.Forms, Vcl.Controls?
  3. dwrbudr

    VCL spinner

    TActivityIndicator maybe?
  4. dwrbudr

    Delphi 12.3 is available

    "Sync Prototypes" broken a year ago in the IDE is still not fixed. What a lame dev team.
  5. dwrbudr

    How do I synchronize two TMemo scrolling? [Solved]

    If still not working, I have a solution for synchronizing two tree views that I could post. The difference is that I override the tree WndProc and process those messages: WM_VSCROLL, WM_NCLBUTTONUP, WM_KEYDOWN, WM_LBUTTONUP, WM_MOUSEWHEEL
  6. dwrbudr

    Modern StandBy

    Try using RegisterPowerSettingNotification in combination with GUID_MONITOR_POWER_ON power setting GUID
  7. dwrbudr

    Vcl.Themes different in debug vs release

    Check your project options for all kind of configurations, Debug, Release, etc.
  8. dwrbudr

    Delphi 12.2 Toolbars strange behavior

    Yes, EMB screwed up again. I have not found a way to fix that. To they test before release at all?! Sync prototypes still not working, lamers.
  9. dwrbudr

    FindFirst : with network files it fails

    Adding \\?\ does not automatically bypas MAX_PATH, unless some other extra steps are being made, e.g. modifing the manifest file and a setting in the registry. https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry#enable-long-paths-in-windows-10-version-1607-and-later
  10. dwrbudr

    Grid or ListView with checkbox and combobox

    TMS AdvStringGrid and NextGrid both have support for checkboxes and comboboxes
  11. dwrbudr

    Looking for some guidance on WM_NCCALCSIZE

    You could try DwmGetWindowAttribute along with DWMWA_CAPTION_BUTTON_BOUNDS to get the title bar height
  12. dwrbudr

    TColorBox bad performance, if style differs from default

    If all or most of the comboboxes need to be populated with the same items, then cache the Items of one combobox to a TStringList. Then use ColorBox1.Items := CachedColorItems instead of setting its Style. On my side it increases the performance from 20ms to 15ms
  13. dwrbudr

    RAD Studio 12.1 Athens Patch 1 Available

    Announced yesterday and still not available in my.embarcadero.com
  14. dwrbudr

    RAD Studio 12.1 Athens Patch 1 Available

    Why they've annouced the patch on their blog while it is still not available to download is beyond my imagination.
  15. dwrbudr

    Real time desktop colors change like filters

    You could try https://www.imageen.com/
×