Jump to content

Lajos Juhász

Members
  • Content Count

    796
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Lajos Juhász

  1. Lajos Juhász

    Using Regex for file name matching?

    If you want to compare against file mask you should use https://docwiki.embarcadero.com/Libraries/Alexandria/en/System.Masks.MatchesMask. For example: uses System.Masks; procedure TMainForm.TestClick(Sender: TObject); begin if MatchesMask(edText.Text, EdPattern.Text) then lbData.Insert( 0, 'True' ) Else lbData.Insert( 0, 'False' ); end;
  2. Lajos Juhász

    Using Regex for file name matching?

    A short answer is that *.pas is not a regular expression. In this case: * The asterisk indicates zero or more occurrences of the preceding element. For example, ab*c matches "ac", "abc", "abbc", "abbbc", and so on.
  3. Lajos Juhász

    Can not install Delphi Community Edition 11.2

    You can expect Delphi CE 12 in 2024 or 2025.
  4. The bad news with this change is that the sk4d.dll is not compatible with the dll used by earlier version of delphi. This new version is by default on the path and can cause access violation with older versions of Delphi (for example if SVGIconImageList is installed).
  5. Lajos Juhász

    Delphi 11.3 : FORSAKEN

    In my case I've renamed the folder "C:\Program Files (x86)\Embarcadero\Studio\23.0" to "C:\Program Files (x86)\Embarcadero\Studio\!23.0" started Delphi 11.2 Closed it, renamed back the folder since then I can start both versions.
  6. Lajos Juhász

    Delphi 11.3 : FORSAKEN

    I have had something similair. The solution was to rename the D12 folder started Delphi 11.2 and after that I can start both of them.
  7. Lajos Juhász

    [FMX beginner] Key Handling

    This is off topic but you can try https://appuals.com/how-to-disable-beeping-on-errors-on-windows-7-8-and-10/. Maybe you did: sc stop beep && sc config beep start= disabled
  8. Lajos Juhász

    Email from Delphi using Thunderbird

    If you really have to you can use SMAPI. You can find a code from @Attila Kovacs here:
  9. Lajos Juhász

    Keyboard commad for paste with text controls [not working]

    You should give more details. I've tested a new Delphi 11.2 application with an edit and a memo. Works perfectly when compiled as 32 and 64 bit Windows application.
  10. In my opinion this is the wrong place to report the error. Delphi compiles the code correctly, your environment is giving the wrong result eg. it's not a compiler bug.
  11. You should try to debug the code. On an Intel Windows laptop I get the correct result '3'.
  12. It should be enough to use IdOpenSSLSetLibPath.
  13. Lajos Juhász

    RCS Chats - Rich Communication Services

    I refuse to use RCS at the moment
  14. TNT is compatible with the new VCL components. To replace them you can simply use the refind utility - https://docwiki.embarcadero.com/RADStudio/Alexandria/en/ReFind.exe,_the_Search_and_Replace_Utility_Using_Perl_RegEx_Expressions. The rules are simply for example: #unuse TntExtCtrls #unuse tntButtons TTntEdit -> TEdit TTntStringGrid -> TStringGrid
  15. Lajos Juhász

    How do I execute code after FormShow ?

    In order to do that you have to move your calculation into a background thread. Otherwise your calculation will block the main thread.
  16. For me there was only two cases of false positive. The last time it was this year MS Defender flagged application to be infected. MS solved it within 2-3 days.
  17. Lajos Juhász

    How can I get this code formatting ?

    Delphi version this requires Delphi 10.3 or newer version (https://docwiki.embarcadero.com/RADStudio/Sydney/en/Inline_Variable_Declaration)
  18. Lajos Juhász

    What Python4Delphi version to use

    Embarcadero made a form from pyscripter (Embarcadero/python4delphiPublic forked from pyscripter/python4delphi) making the pyscripter to be the "main" repository. In theory all changes makde by Embarcadero should sooner or later be added to the PyScripter repository. According to the webinars I watched they work together to improove the library.
  19. No that's the limitation of the Delphi. It doesn't support exceptions during initialization of the application. The same problem has Skia if the dll is missing (of course in case of skia there is an easy fix replace the exception with showmessage).
  20. You should open a bug ticket at Embarcadero Quality portal - https://quality.embarcadero.com/
  21. Lajos Juhász

    When will we have a 64-bit IDE version ?

    I cannot reproduce, you must use some memory hungry components.
  22. Lajos Juhász

    Unit dependency viwer

    dpk of course.
  23. Lajos Juhász

    Unit dependency viwer

    Great work, you should also consider to support packages (dpr files).
  24. Lajos Juhász

    Connection to registration server

    You can only hope. I watched the C++ webinar to get an idea what we can expect from D12. The C++ part was far from finished.
  25. Lajos Juhász

    When will we have a 64-bit IDE version ?

    It's not the case using Delphi 11.2. Tried to open some forms and the used GDI handles (according to the task manager) keeps growing and doesn't goes back.
×