Jump to content

Lajos Juhász

Members
  • Content Count

    815
  • Joined

  • Last visited

  • Days Won

    11

Everything posted by Lajos Juhász

  1. Lajos Juhász

    TPngImage help needed for vague docs

    When the image format is registered the loadfromfile will create the class required to load the image. They are used the same way. Depending on the file type you have loaded the required object is created.
  2. Lajos Juhász

    FireDAC - how to change an FDQuery field type?

    I hope that this is going to work the same for C++ (I am doing it in Delphi): 1.) Open the file, select View as Text (Alt + F12) 2.) Do a search and replace 3.) go back to View as Form (alt + F12) 4,) save the file. During the saving process the IDE should ask to replace the definition. This the Delphi way Plan b. do the search & replace using refind.exe - https://docwiki.embarcadero.com/RADStudio/Alexandria/en/ReFind.exe,_the_Search_and_Replace_Utility_Using_Perl_RegEx_Expressions in case you have multiple forms.
  3. Lajos Juhász

    What new features would you like to see in Delphi 13?

    An example would be Quick Report. It was designed to work only with 96PPI. When HighDPI is not allowed for the application the generated preview would be wrongly scaled and would not fit the page.
  4. Lajos Juhász

    What new features would you like to see in Delphi 13?

    It is not about privacy. it is copyright. Anyone that has invested money into an algorithm and solution would not like to see it to appear inside an AI suggested code. That is one of the reasons why the source code for Microsoft Office is not open sourced.....
  5. Lajos Juhász

    Delphi Upgrade from 2007 / 2010 to XE5

    You can install XE5 only if you have had support for XE3 at the time when it was released otherwise no. You can try with your XE3 serial number to activate.
  6. Lajos Juhász

    What new features would you like to see in Delphi 13?

    I am with the idea that was presented in the Delphi's birthday webinar, I do not want the code from any of the projects I am working on to land in some AI database and pop up as a suggestion on a query. The code I am working on belongs to the company I am working for or a client. Nobody wants that code to go public. I am ok with the idea and did it a couple of times to ask Bing to write some simple code that I can review faster than to type in, have some fun.
  7. Lajos Juhász

    Delphi Virus warning

    First step is to exclude the folder for a project that antivirus program reports and upload the generated exe to VirusTotal. If it is a false positive the next step is to report it to your antivirus program as false positive. Edit. So far, I have done this twice. Last time, a couple of years ago Microsoft Defender started to mark the Delphi executables as virus infected. After I filled the report, the issue was gone in 5-7 days. The other time when I did it was more than a decade ago.
  8. Lajos Juhász

    Slow update of "Local variables" in the IDE

    Close the Local variables, it's that slow at least since Delphi XE5.
  9. You should backup the installation ISO for every Delphi you use before you let the subscription expire. Also it could be problem to bump up the registration limit if you don't have an active subscription - a solution could be to install Delphi to a virtual machine.
  10. This was changed in D12, in Delphi 11 it was declared as: const {$EXTERNALSYM CW_USEDEFAULT} CW_USEDEFAULT = DWORD($80000000); now it's: const {$EXTERNALSYM CW_USEDEFAULT} CW_USEDEFAULT = Integer($80000000);
  11. I don't read that way. The remark is: Note: To avoid ambiguity, conversions must be explicit, as the following code example illustrates. In the example MyList.delete(0) I don't see ambiguity. The examples on that page are reather bad.
  12. Lajos Juhász

    Current state of the Embarcadero services

    "Customers who have installed RAD Studio 12 using the online installation process won’t have the ability to add new platforms and core features to the product via the Manage Features dialog. In order to do this, they will need to uninstall and then reinstall using the new inline release." It's not about the GetIt or Welcome page.
  13. Lajos Juhász

    Current state of the Embarcadero services

    That's not possible. The Welcome page is working fine for me (installed from the ISO image). I doubt that the ISO and online installer has different setup for the GetIt.
  14. Lajos Juhász

    TForm Destroys are not called when target is macOS ARM 64-bit

    1.) Log into https://quality.embarcadero.com/ 2.) Enter RSP-26436 into search (you can find it at the upper right corner of the page) and you cannot copy paste it from the text above as it contains unicode characters. https://quality.embarcadero.com/browse/RSP-26436
  15. Unfortunately the parser that the IDE uses is not up to date. I also have some cases where the editor messes up my code I have to pay attention what I am doing. In one class I can add a property only if I paste it from the clipboard entering using the keyboard is not possible. Embarcadero might replace the IDE in near future (5-10 years from now).
  16. Lajos Juhász

    Delphi 12 Update 1 is not displayed in the IDE About dialog

    Interesting I've the patch installed but the IDE thinks it's not installed......
  17. Lajos Juhász

    Delphi 12 Update 1 is not displayed in the IDE About dialog

    This is a patch, not an update it should only change the Version.
  18. (In case of Delphi 12 patch 1 (it's not officially 12.1) a clean all was required before I could compile a project group. I have tried before to uninstall design time packages that was not enough to remove the Access Violation when I tried to compile. After clean all I was able to compile.)
  19. In that case you was lucky or you are not using packages often. This error can appear at no reason, you have to recompile the packages and everything should work fine.
  20. Since a long time Windows 10 is reuqired to install the Delphi IDE. You can compile applications for older versions of Windows but the dev. machine should be at least Windows 10. I am not aware if there a possibility to install it on Windows 7.
  21. Lajos Juhász

    64bit designtime firedac

    There should be 32 bit clients for every database server. I doubt that every application that is connecting to database has moved to 64 bit.
  22. Lajos Juhász

    64bit designtime firedac

    You should be able to do so. I've done for Informix. At design time I use the 32bit ODBC driver while when compiled as 64 bit application runtime the 64bit driver.
  23. Lajos Juhász

    Filtering ListBox Items

    procedure TForm1.Edit1Change(Sender: TObject); Var i: Integer; lFilteredList: TStringList; Begin lFilteredList:=TStringList.create; try if trim(Edit1.text)<>'' then begin for i := 0 to list_global.Count - 1 do if pos(Edit1.text, list_global[i]) > 0 then lFilteredList.Add(list_global[i]); end; if lFilteredList.count=0 then listbox1.items.assign(list_global) else listbox1.items.Assign(lFilteredList); finally lFilteredList.Free; end; End;
  24. Lajos Juhász

    Filtering ListBox Items

    procedure TForm1.Edit1Change(Sender: TObject); Var i: Integer; Begin listBox1.Clear; if trim(Edit1.text)='' then listbox1.items.Assign(list_global) else begin for i := 0 to list_global.Count - 1 do if pos(Edit1.text, list_global[i]) > 0 then listBox1.Items.Add(list_global[i]); end; End;
×