Jump to content

Lajos Juhász

Members
  • Content Count

    1112
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by Lajos Juhász

  1. Lajos Juhász

    New Type ambiguity in Delphi 11?

    Should not be a problem, maybe I am just lucky and the uses in my project was "correct" already in 10.4.2 for me only change was the breaking changes in the interfaces that were incorrect prior to Delphi 11.
  2. Lajos Juhász

    Where is the Welcomepage directory in Delphi 11 Alexandria?

    So far I have spent only a couple of days using Delphi 11 and the project I am rewriting using it is a very small one. A couple of times LSP have had trouble to catch up with changes, I almost made a test case for Embarcadero, however magically after five minutes the LSP managed to process the code.
  3. Lajos Juhász

    Where is the Welcomepage directory in Delphi 11 Alexandria?

    I experienced that the mouse stopped responding after compile. In those cases after that I was able to compile using keyboard shortcuts but it did required to restart the IDE.
  4. Lajos Juhász

    LSP - Alexandria

    Maybe they removed this option. For me it doesn't work even in Delphi 10.4.2 (worked in earlier versions of 10.4).
  5. Lajos Juhász

    Client Dataset Grouping

    You can check: if VarIsNull(DBGrid1.Columns[1].Field.Value) then .... Usually it's null not empty string or: if DBGrid1.Columns[0].Field.AsString='' then
  6. Lajos Juhász

    Are you using Delphi 11 with mainstream projects?

    I've spent a day using the new IDE. The Access Violations while building the project group still there. What's new for me is that once I got an error that some component already exists and compiling stopped working. The plus side is that I was able to move some code base from D10.4.2 to D11 very easily. There was only a few data type changes in the methods in the RTL that required changes in my code.
  7. Come on what about the way they've changed the high dpi support (it's almost working.).
  8. Lajos Juhász

    TFDQuery Async execution aborts with out of memory

    You're reaching the memory limit of the 32 bit applications. You can choose between to switch to 64 bit or to limit the query.
  9. They left the function names to make the codebase compatible with pre D2009 versions. Some libraries unfortunately still support those versions.
  10. Lajos Juhász

    TFDConnection.ExecSQL with ResultSet

    That's correct the ExecSQL will create the TFDQuery object without an owner and you've to free (no matter if there was an exception or not).
  11. type TTwenty: string [20]; This is a shortstring and should not be used in programs as it is only for backward compatibility.
  12. Lajos Juhász

    Google Charts in uniGUI

    You should use a web search engine (like google): http://www.unigui.com/
  13. Lajos Juhász

    Change Scroll bar color

    I doubt anyone took the time to add Delphi styles to Synedit.
  14. Lajos Juhász

    Delphi compatibility with Windows 11?

    If you don't upgrade your computer to Windows 11 how do you test if your application works correctly or not? Please don't tell me that you force all of your users not to upgrade and not to buy a new computer with Windows 11 OS.
  15. Lajos Juhász

    C++ Code Insight in 10.4.2

    It was a FB announcement that I've pasted here.
  16. Lajos Juhász

    C++ Code Insight in 10.4.2

    That's not the complete product preview only contains information about user interface. The full preview is going to be tomorrow: Have you registered yet? RAD Studio 11, Delphi 11, and C++Builder 11 are just around the corner! Join Marco, David, and Jim for this sneak peek at this huge leap forward in your favorite development tools. September 9th at 9 AM / 1 PM / 6 PM CDT. Register here: https://embt.co/SneakPeek-RAD11
  17. Before that open a ticket at Embarcadero.
  18. Lajos Juhász

    C++ Code Insight in 10.4.2

    What's done for version 11 is secret only for the next two days. I believe after that @David Millington or @Marco Cantu can give you more details here or you can ask on the webinar. Unfortunately I will have to skip this product preview.
  19. Lajos Juhász

    Re-Index a PageControl.PageIndex

    If you have invisible tabsheets you cannot write anymore: XTabSheet:=PC1.Pages[TabIndex]; You've to find in a pages the index that contains the TabSheet with Tabindex. Something like this: procedure TMainForm.PC1DrawTab(Control: TCustomTabControl; TabIndex: Integer; const Rect: TRect; Active: Boolean); var XTabSheet: TTabSheet; XRect: TRect; FormColor: String; lpc: TPageControl; i: integer; begin if Active then begin Control.Canvas.Brush.Color:=$006ED7FC; Control.Canvas.Font.Color:=clBlack; end else begin FormColor :=dm.SettingsFormColor.AsString; if MatchText(FormColor,['Windows','Gray']) then Control.Canvas.Brush.Color:=$003C3838 else if MatchText(FormColor,['Brown','Light Brown']) then Control.Canvas.Brush.Color:=$0034527E; ...... end; XRect:=Rect; Control.Canvas.FillRect(XRect); //XTabSheet:=PC1.Pages[TabIndex]; lpc:=Control as Tpagecontrol; XTabSheet:=nil; i:=0; while (XTabSheet=nil) and (i<lpc.PageCount) do begin if lpc.pages[i].TabIndex=TabIndex then XTabSheet:=lpc.pages[i]; inc(i); end; DrawText(Control.Canvas.Handle, PChar(XTabSheet.Caption), length(XTabSheet.Caption), XRect, DT_VCENTER + DT_SINGLELINE + DT_CENTER); end;
  20. Lajos Juhász

    Splitting component suite = strange internal error

    I fought a similar problem couple of years ago. In that case for reason that the package contained too much "something" that Windows or Delphi was unable to handle after moving to newer version of Delphi. The solution was to break the package into two.
  21. Lajos Juhász

    How are you handling SVG images?

    You can also try https://github.com/EtheaDev/SVGIconImageList
  22. Lajos Juhász

    Locate

    This is a bad idea for two reasons: 1.) What will happen when the value is null? It will fail with message that Delphi cannot convert the null to string. 2.) Why would you like to find the field for every record. You should find it before wile and store it in a local variable and use that instead.
  23. Lajos Juhász

    About TGUID type...

    Why is it annoying? TGUID is not a string. You can write your function as: function GenerateAppGUID: TGuid; begin Result := StringToGUID('{481E85E5-3874-4FCB-BEA1-B65D640AE6D3}'); end;
  24. Lajos Juhász

    Splitting component suite = strange internal error

    Instead of adding the units from the runtime package into the design time you should add the runtime package as required. (The 32 bit version of the runtime package must inside the path).
×