Jump to content

Cristian Peța

Members
  • Content Count

    416
  • Joined

  • Last visited

  • Days Won

    5

Cristian Peța last won the day on August 15 2024

Cristian Peța had the most liked content!

Community Reputation

112 Excellent

2 Followers

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. Cristian Peța

    Fast report For Delphi 12.2

    https://www.fast-report.com/products/reporting-fmx
  2. Cristian Peța

    tDBGrid: how to color selected row?

    First in pas then in dfm
  3. Cristian Peța

    tDBGrid: how to color selected row?

    Right-click on the form and in contextual menu select "View as text" EDIT: or Alt-F12 to switch between.
  4. Cristian Peța

    tDBGrid: how to color selected row?

    Have you replaced in both sources? .pas and .dfm?
  5. Cristian Peța

    Applications for Linux

    What links dynamically?
  6. Cristian Peța

    IBX is Crashing Application on Windows XP / Server 2003

    Have you tried to debug or to have a call stack using a toll like madExcept?
  7. To have effect you should call Application.ProcessMessages from the main thread while the work is done. This will open a can of worms but at least will work somehow. Otherwise you need to move the work in a thread.
  8. Cristian Peța

    What does [ref] attribute actually dows

    With const, if the variable is small enough to pass into a register, it will not be passed always as reference. You need to use [ref] to be sure it is passed as reference. This is the reason to use [ref] for FreeAndNil.
  9. Cristian Peța

    filenames with unicode chars

    In 12.2 function FindFirstFile; external kernelbase name 'FindFirstFileW'; ... function FindFirstFileW; external kernelbase name 'FindFirstFileW';
  10. Cristian Peța

    Check If File is what he claim to be

    If you open the file with TPNGImage it will raise an exception if the content is not PNG. Not so hard to detect it is not a PNG content.
  11. Cristian Peța

    how to assign 2 paths

    I think it should work with #if. Not tested. But you really want to install in that path? [Setup] #if FileExists('C:\mygame\TEST\install.exe') DefaultDirName=C:\mygame\TEST #else DefaultDirName=D:\mygame\TEST #endif
  12. Cristian Peța

    how to assign 2 paths

    This is about Inno Setup? And you pascal code is not about Delphi but Inno Setup script? BTW here we are in: Home\Delphi Questions and Answers\General Help\
  13. Cristian Peța

    Disable all controls on panel

    The panel should be enabled after the message is received and not in TfrmPanel.btnWriteASCII_ShrtClick() And disabling the panel should be done right before fTCPClient.IOHandler.WaitFor() when you know that WaitFor() is executed.
  14. Cristian Peța

    Disable all controls on panel

    The OP is disabling only the panel and that will not disable the button. Angus solution will solve the problem because the function will disable the button that will not pump the windows messages.
  15. Cristian Peța

    SQLite and calculated columns

    Are you storing float in string fields? I create fields as REAL in SQLite and I can change the decimal separator without issues. I see period or comma and all is working. I can update a REAL column using period in sqlite3 tool, because the tool uses only period, and I can see values with comma in my app.
×