Jump to content

PaPaNi

Members
  • Content Count

    32
  • Joined

  • Last visited

  • Days Won

    1

Everything posted by PaPaNi

  1. PaPaNi

    KUSS - screnshot program with open source

    one of the archives with 2024 in the name contains some code that could be a program. But it doesn't look professional.
  2. I don't know if other IDEs have such functions. But I often need a "Undo"-function for working with the form. For example, you changed the width of one component with the mouse and want to return the previous value. ( Or I just didn't see this function in Delphi).
  3. I use that.. I don't subscribe to any streaming services too. I download the songs on my phone per USB at home. And I listen my songs in the car using one android app.
  4. PaPaNi

    pdfDoc

    if you have FastReport then i would try to create a file with it.
  5. ... and used TForm1, ComboBox1 ..hmmm.. Sure!
  6. Maybe a little offtopic, but ...
  7. PaPaNi

    Warnings after Build/Compile

    Hey, Community! Given: - Delphi 2007 - One Unit, where should be showed one warning, because one variable is deprecated - Project options -> Compiler messages: Show warnings and show hints is ON - All warnings in the list except platform symbol, platform unit, unsafe type, unsafe code and unsafe typecast is ON Problem: 1. I do Build and get no warnings. DCU file date/time is changed. Then I do Compile - no warnings again. 2. I change this unit (one space symbol is added). I do Build again - no warnings. Date/time of DCU file is changed. 3. I change this unit again and now Compile (without Build). This changes the DCU file date/time again, but in this case I see one warning! I figured, that Build does exactly the same as Compile, but with all units regardless of whether they have changed. I.e. I expect to see the same warning after Build too. Im wrong/its a bug/its a future/one option must be changed? I want to see this warning after Build too. Any ideas are welcom! Thanks!
  8. PaPaNi

    Replace TCheckBox with TDBCheckBox

    If you have GExpert installed, than use GExperts ->Replace Components
  9. PaPaNi

    Problem with Gauge component.

    maybe this can be helpful? https://stackoverflow.com/questions/26539403/position-of-label-caption-inside-progressbar
  10. PaPaNi

    Deleting string wich does include number

    The simplest solution that came to my mind. procedure Tf_TesterMain.DeleteStringsWithoutDigits; var List: TStringList; begin List := TStringList.Create; try List.Add('abc'); List.Add('def23'); List.Add('fgr65'); List.Add('kbt'); List.Add('idopt87'); doWithList(List); finally FreeAndNil(List); end; end; ... procedure doWithList(_List: TStringList); var i: Integer; begin for i := _List.Count - 1 downto 0 do begin if not ContainsDigit(_List[i]) then begin _List.Delete(i); end; end; end; ... function ContainsDigit(const _Text: string): Boolean; var i: Integer; begin Result := False; for i := 1 to Length(_Text) do begin if _Text[i] in ['0'..'9'] then begin Result := True; Break; end; end; end;
  11. PaPaNi

    check if string date

    The second argument is missing... should be like: if TryStrToDate(edtFrom.Text, DateVariable) then where DateVariable has a type TDateTime.
  12. PaPaNi

    check if string date

    I had exactly the same guess.
  13. PaPaNi

    check if string date

    Can we see the code?
  14. PaPaNi

    need help to change the hex in binary file

    Looks like this.... https://www.hovatek.com/forum/thread-31664.html
  15. 1. I totally agree. In addition, in Germany "13" salary is often paid. The question is whether this was properly taken into account. Only 12 months are used in the methodology. 2. It would be interesting to know which countries the developers interviewed. And also what the numbers look like by region (e.g. Asia, Europe, etc.). E.g. in USA the developer gets 80000 USD a year and in Kyrgyzstan only 10000. "The valuess indicate the average fever values of patients in the hospital".
  16. PaPaNi

    TEdit Text cannot align vertical centered

    Maybe this link can be helpful? http://www.delphigroups.info/2/4f/85824.html
  17. PaPaNi

    Survey of Delphi Versions in use??

    It would be a good platform for this if there was an automatic ability to remove duplicates. You can accidentally enter yourself more than 1 time.
  18. Perhaps "terse" can be understood as rudeness. But for me personally, the words "keep your advice to yourself" mean unambiguously rudeness. I don't know, maybe I was brought up wrong.
  19. PaPaNi

    Delphi Icons with Version Info

    Its works. But there is one thing what i don't like - all Explorer-windows will be closed. So i took the solution from @0x8000FFFF and modified for me - I created one Link on the desktop: C:\Windows\System32\cmd.exe /k ie4uinit.exe -show and im almost happy. Almost becose the cmd-Window will be not automatic closed after work. I must find, how i can make that. Thank you!
  20. PaPaNi

    Delphi Icons with Version Info

    Thank you for the answer! I did not have time to restart the computer and after a couple of days the icon updated itself. But it was educational because I learned a little about the icon cache.
  21. PaPaNi

    Delphi Icons with Version Info

    Should this have an effect immediately or after restarting the computer? I just tried for one of our tool. But unfortunately that doesn't work for me. The icon in the taskbar looks the same, but when I open the form of Settings-Shortcuts again, I see the new icon at the top. Even if I click the button Change Icon again, I see the new icon here and the path to the ico file is correct. I have 64-bit Win 10 Pro (21H1) and i work via RDP (in case it should have important).
  22. I'm so used to using a prefix "_", that I need many time now to read code with other prefixes (for example "a"). In this situation, i don't need to analyze whether the "a" prefix is part of the variable, i.e. I recognize the variables faster. IMHO. I find the "_" prefix to be an excellent solution! 👍
  23. PaPaNi

    Virus? How odd.

    I tried right now to put Exe into Zip and to send with gmail. Its dont work on me. How i understood, its a not allowed to send zip files with password-protect. I cant to show screenshot, becose text of hint is not on english language.
  24. PaPaNi

    Virus? How odd.

    I just tried a few options right now. As an example, i tried to send the file ss.exe ( this is a installation file of one program CodeStuff Starter, but it is not important. Important here is filename and extention) 1. sending ss.exe - dont work. Its not allowed to send: ADE, ADP, .APK, APPX, APPXBUNDLE, BAT, CAB, CHM, CMD, COM, CPL, DLL, DMG, EX, EX_, EXE, HTA, INS, ISP, ISO, JAR, JS, JSE, LIB, LNK, MDE, MSC, MSI, MSIX, MSIXBUNDLE, MSP, MST, NSH, PIF, PS1, SCR, SCT, SHB, SYS, VB, VBE, VBS, VXD, WSC, WSF, WSH. 2. renaming executable into ss.dat - dont work 3. "zipping" executable - ss.zip - dont work 4. renaming into ss.dat and "zipping" - dont work 5. "zipping" and splitting executable - we have 4 files now: ss.z01, ss.z02, ss.z03 and ss.zip - dont work 6. renaming into ss.dat, "zipping" and splitting - again 4 files: ss.z01, ss.z02, ss.z03 and ss.zip - dont work 6.1. i tried also using format RAR for archiving (with all modifications like before - renaming, splitting etc.) - dont work 6.2 i tried to set archiv into archiv - dont work - "nested" archives are not allowed 7. open StarterSetup.exe with HxD and replace first "M" => "N" - dont work 8. open StarterSetup.exe with HxD and replace first "M" => "N" and now rename file into ss.dat - ITS WORKS!!! later received file again open and replace "N" => "M" => we have our executable again.
×