Jump to content

FredS

Members
  • Content Count

    430
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by FredS


  1. 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..

     


  2. 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. 7 minutes ago, aehimself said:

    Any help is greatly appreciated

    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?

    • Like 1

  4. 8 hours ago, Fr0sT.Brutal said:

    Usually there's a list of all running threads in process

    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:

     


  5. 29 minutes ago, John Kouraklis said:

    global var to indicate that the app is shutting down

    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.

     

    • Like 1

  6. 7 hours ago, Dalija Prasnikar said:

    Many people are here and that is all that matters

    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..

     

    • Like 1

  7. 10 hours ago, Jacek Laskowski said:

    entire Firebird database from win-1250 to UTF-8 encoding?

    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 ;

     


  8. 13 hours ago, FPiette said:

    The external sources where much much more used

     

    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.

     


  9. 7 hours ago, Davide Angeli said:

    I'm not able to reproduce in a small case

    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.

     

    • Thanks 1

  10. 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. 

     

     

×