Jump to content

Lajos Juhász

Members
  • Content Count

    1072
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by Lajos Juhász

  1. Lajos Juhász

    Delphi 11.2 in Debug opens source from Delphi XE5????

    Could be the environment variable in the browsing path - it's in both version BDS. Will have to investigate on this one. I have to use both XE5 (production environment) and 11.2 some future developement. (Now I have to figure out why sometimes TFDQuery.ResourceOptions.cmdExecMode is ignored)
  2. Lajos Juhász

    Delphi 11.2 in Debug opens source from Delphi XE5????

    Yes, the ide will jump to files from folder C:\Program Files (x86)\Embarcadero\RAD Studio\12.0\source\data.
  3. Lajos Juhász

    Saving ProjectGroups to a new folder

    Skip the IDE and copy files in Windows, then open the project group from the new location?
  4. Lajos Juhász

    2 errors that do not exist?

    Both are false positives as the original messages says (the project builds and runs ok):
  5. Lajos Juhász

    2 errors that do not exist?

    Delphi is known to have false positives in Error Insight.
  6. Lajos Juhász

    Load a PNG directly into the Speed Button Glyph ?

    You cannot assign png to glyph, but you can assign a TImageList or TVirtualImageList to the images property and using imageindex/imagename access the png picture. In order to support high dpi you should consider using TImageCollection and TVirtualImageList (where you can use the imagename property instead of imageindex). (I don't have Delphi 10.3 to test this.)
  7. Lajos Juhász

    Custom component on a VCL frame

    I have the same problem. The frame should be inline but I also have a frame that Delphi uses as object and then you cannot change the properties on the frame. I have no solution spent hours to research the problem. (You cannot just change the DFM).
  8. What happends when you change the SecureProtocols property on the request?
  9. Lajos Juhász

    Write image to database

    This cannot be correct my guess is Contact.Picture:=nil; ???
  10. Lajos Juhász

    Write image to database

    If everything fails read the manual: https://docwiki.embarcadero.com/Libraries/Sydney/en/FireDAC.Comp.DataSet.TFDDataSet.CreateBlobStream
  11. Lajos Juhász

    Issue in copy and past

    I get: 42 N N =DOLLAR(4967.32, 2) =DOLLAR(1515.61, 2) =DOLLAR(0, 2) =DOLLAR(58054.89, 2) =DOLLAR(4084.55, 2) I cannot spot the garbage.
  12. Rebuilding the source without oppening it should be fine. The IDE should save correctly after you edit the files, didn't tried I stay on 100% (bought a 2k monitor in order not to have to change scalling.). If you're the only developer you can test on a single form, if after saving it running the application shows correctly you should be fine.
  13. Debug your code and find out what is nil.
  14. Lajos Juhász

    Windows 11 22H2 lost batch file association

    Batch files should stay it's still mentioned at MS documentation for example: https://learn.microsoft.com/en-us/windows-server/administration/windows-commands/windows-commands The Command shell was the first shell built into Windows to automate routine tasks, like user account management or nightly backups, with batch (.bat) files.
  15. Lajos Juhász

    Replacing Apostrophe

    Also everyone failed to notice a small detail: function AnsiReplaceStr(const AText, AFromText, AToText: string): string; It's a function not a procedure. You can try: cLast:=AnsiReplaceStr( cLast, ''', '''' );
  16. Lajos Juhász

    Change of coding style/structure..

    David already said everything. With can cause that you access something that you doesn't think (new property, field, method). Calling FreeAndNil for a local object has no reason it's just a classic code smell. Your aim should be to write clean and maintanable code that cannot be achieved using with.
  17. Lajos Juhász

    Change of coding style/structure..

    The same from me, please d.... c.d. th.. w....
  18. Lajos Juhász

    XML validation

    There is no reason to verify the data after you generated the XML. It's always the best to verify in case the data is incorrect to change it and as a last step to generate the output.
  19. Lajos Juhász

    IDE it's not working anymore

    I have up to date Windows 10 and have no issues using Delphi 11.2. (I don't have office 365.)
  20. Lajos Juhász

    Replace TCheckBox with TDBCheckBox

    I did it in previous versions mostly XE5 and D2007 and always you have to change dfm then pas can be done by delphi.
  21. Lajos Juhász

    Replace TCheckBox with TDBCheckBox

    In which version of Delphi? For me the IDE want to keep the class from the dfm. What's working for me is to select View as text to show the dfm (alt+f12) change the class for components and then switch back to pas and save the file then will Delphi ask to change the pas. A bit faster solution is to use refind with rules #migrate. Of couse you have to add dataset, datafield, valuechecked and valueunchecked properties.
  22. Lajos Juhász

    Microsoft.ACE.OLEDB connection for excel ? 64 vs 32 bit.

    Another options is to use FireDAC, Ole Automation or library to read xlsx files directly for example TMS Flexcel.
  23. Lajos Juhász

    save probelm in ini file vcl with tlistbox

    Why are you using WrieString / ReadString. It would be better: Myinifile.WriteInteger('LastDiskSkin', SkinFile, lst1.ItemIndex.ToString); lst1.ItemIndex :=Myinifile.ReadInteger('LastDiskSkin',SkinFile, -1); // or some default index.
  24. Lajos Juhász

    The Delphi 11.2 release thread

    I got one when commenting on this forum open an RSP ticket. (Edit. My current bug that I am unable to create a test case is when frame is marked as object instead of inline in the DFM. )
  25. Lajos Juhász

    Several F2084 Internal Error on Delphi 10.4.2

    I got using Delphi 11.2 and build all: [dcc32 Fatal Error] F2084 Internal Error: AV7B7C4E22(7B730000)-R00000010-0
×