Jump to content

FredS

Members
  • Content Count

    310
  • Joined

  • Last visited

  • Days Won

    3

FredS last won the day on September 29 2020

FredS had the most liked content!

Community Reputation

100 Excellent

Technical Information

  • Delphi-Version
    Delphi 10.1 Berlin

Recent Profile Visitors

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

  1. FredS

    I will be less active for a few weeks

    Thinking of donating that when/if it becomes available 🙂
  2. FredS

    How to "dim" a TabSheet?

    Last time I had a similar issue I simply used a DX Adorner.. perhaps you can use a panel that changes parent, visibility and is re positioned and be done with it.. This works because those would cover a disabled/dimmed tab but be accessible since they aren't parented by the tab..
  3. FredS

    How to "dim" a TabSheet?

    Last time I had a similar issue I simply used a DX Adorner.. perhaps you can use a panel that changes parent, visibility and is re positioned and be done with it.. This works because those would cover a disabled/dimmed tab but be accessible since they aren't parented by the tab..
  4. FredS

    How to "dim" a TabSheet?

    I'm confused, what's the reason for wanting your controls to look Un-Dimmed? ..and if that is the case why not custom draw just your Tabsheet/Panel background dimmed?
  5. FredS

    Several F2084 Internal Error on Delphi 10.4.2

    That's cheap, there is most likely a lot more in those double secret fixes..
  6. FredS

    Delete a Registry Key...

    Declaration: {$IF NOT DECLARED(RegDeleteTree)} function RegDeleteTree(hKey: HKEY; lpSubKey: LPCTSTR):LONG ; stdcall; external advapi32 name 'RegDeleteTreeW' delayed; {$IFEND DECLARED(RegDeleteTree)}
  7. FredS

    Waiting for multiple threads

    Where is that? As for GlobalStopEvent, I simply use a TThread Helper with a private class FShutdownEvent. Every thread uses TWait.For<whatnot> which allows multiple handles and always adds the ShutdownEvent, within the Thread's Execution one can call TWait.IsShutdown without waiting.. Very close to:
  8. FredS

    Waiting for multiple threads

    I use a global TEvent that is set at shutdown, all my wait functions check that and all threads check it either through wait or in their execute methods.
  9. FredS

    community.embarcadero.com's forums

    Not really, that searchable data had huge value. Most weird issues/errors had many iterations of fixes and additional information. Certainly while stuck with several of those over the years a quick search was all that was needed.. its the difference between a few minutes and an extended pause..
  10. FredS

    [firebird] Converting DB from one charset to other

    Assuming you have no 'explicit COLLATE ' in your tables you can use ALTER CHARACTER SET on an empty DB and batch move data into that. Or add this to your creation statement, keep in mind there where speed issues with UNICODE_CI_AI until v3.07: CREATE DATABASE :FileName USER :UserName PASSWORD :Pwd PAGE_SIZE 16384 default character set UTF8 collation UNICODE_CI_AI ;
  11. FredS

    community.embarcadero.com's forums

    You mean while they repeatedly shut down and wipe historic info from the newsgroups and the forum for extended periods? Because I thought it was a perfect split, SO for code stuff and those Newsgroups and Forums for hard to figure out errors and missing documentation.
  12. FredS

    Several F2084 Internal Error on Delphi 10.4.2

    This has been an issue on and off for a while now. Projects don't even need to be very large for it to happen and its better in one release then comes back with an update. Steps that helped, depending on Release version: Remove all source but your project's from accessible paths, GetIt does the opposite.. This means pre-compile Components in both Release and Debug Use a Clean.bat which removes all DCUs that may have been compiled using different directives. For me this was key, switching configuration outputs DCUs to a different subdir but for some reason Delphi failed to comprehend that. Eliminate all circular references, MMX works well for that.. Not something that would happen if Delphi was still built with Delphi.
  13. FredS

    Several F2084 Internal Error on Delphi 10.4.2

    Try deleting your entire DCU Output directory before compiling. Note from a clean.cmd I execute via Build Tools: After using Gexperts clean a lot of compile issues went away, I have always guessed that this IDE bug that breaks 'Build Groups' and all compiling with linking errors is a folder salad created by the IDE.
  14. FredS

    Annoying IDE behavior changes in 10.4.2

    Only because the CE version isn't out yet, those guys still have hope in issues being solved in real time 🙂
  15. FredS

    Possible D10.4.2 issue..

    Aren't you freeing the form twice? caFree calls Release, Release posts a CM_Release message and that calls Free..
×