Jump to content

Lajos Juhász

Members
  • Content Count

    1078
  • Joined

  • Last visited

  • Days Won

    15

Posts posted by Lajos Juhász


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

    • Like 1
    • Thanks 1

  2. 2 minutes ago, JonRobertson said:

    Are there scenarios where designing in HighDPI would be beneficial? Just to improve the development experience or to improve the user's experience when using the produced app?

     

    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.


  3. 12 minutes ago, Lars Fosdal said:

    As for AI and privacy - keep your secret credentials separated from your code.  Other than that, I don't think that many of us write code that truly needs to be hidden for secrecy reasons, although it is obvious that it will be necessary to ensure that privacy permeates the use of AI.

     

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

    • Like 1

  4. 15 minutes ago, DelphiUdIT said:

    I don't think you can use the XE5 if you have bought XE3. You must discharge it but probably the license will not be activated during installation.

     

    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.


  5. 9 hours ago, PeterPanettone said:

    You don't believe in AI?

    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. 

    • Like 2

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

     


  7. 16 minutes ago, Cristian Peța said:

    I understand from the link above that who installed with old online installer GetIt will not work.

     

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

     


  8. 9 minutes ago, Cristian Peța said:

    For D12 there is a new installer because GetIt server changed.

    I suppose you need to install with the new installer in order to work Welcome page or Tools menu.

    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.


  9. 43 minutes ago, Cristian Peța said:

    You have not posted a link and probably it's a stupid question but how to find a RSP by number?

    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

     

     

    • Thanks 1

  10. 7 hours ago, Ian Branch said:

    Nothing else has changed.  It is repeatable.

    Is it me or is there a bug un the Patch/update?

    It didn't happen before the Patch/Update.

     

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


  11. 6 hours ago, mark.m said:

    I'd like to ask here if D12 can be installed (with Android dev platform) on Windows 7 machine ? If yes, then 2nd part of my story is below.

     

    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.


  12. 5 hours ago, robertjohns said:

    How to Solve if any of the ListBox Items does not contain even first char of EditBox , ListBox items should not get clear , ListBox items must remain as it is because search criteria does not match any of the ListBox item.

    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;

  13. 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;
×