Jump to content

Uwe Raabe

Members
  • Content Count

    2919
  • Joined

  • Last visited

  • Days Won

    170

Everything posted by Uwe Raabe

  1. Uwe Raabe

    Function with 2 return values ?

    You can return a TArray<Double>: function GetBomCosts(const ItemCode : String) : TArray<Double>; begin { Retrieve values } ... { Return values as array } SetLength(Result, 2); Result[0] := value1; Reuslt[1] := value2; end;
  2. Uwe Raabe

    Compiling a component for Win64

    IIRC, that separation has been suggested since Delphi 6.
  3. Uwe Raabe

    Converting a very long text to concatenated strings?

    Not quite. The MultiPaste expects some text containing multiple lines.
  4. Uwe Raabe

    Compiling a component for Win64

    You need separate packages for runtime and design.
  5. Uwe Raabe

    MultiDisplay : choose specific display on boot

    It works as expected when I place the following code in FormCreate: var displayIndex := Screen.DisplayCount - 1; var display := Screen.Displays[displayIndex]; SetBoundsF(display.Workarea.Left, display.Workarea.Top, Width, Height);
  6. Uwe Raabe

    MultiDisplay : choose specific display on boot

    You cannot directly set a specific display. Instead you position the form so that it is shown on the desired display.
  7. Uwe Raabe

    Debug / Release config has no effect

    I would rather like to know which magic makes your system behave different than most others.
  8. Uwe Raabe

    How do I update the sqlite dll in RAD Studio?

    You know that there is a place for such wishes?
  9. https://quality.embarcadero.com/browse/RSP-16511
  10. Uwe Raabe

    How do I update the sqlite dll in RAD Studio?

    The Client info mentions <sqlite3_x86.obj statically linked> That means the SQLite engine is part of the exe or bpl. You cannot change that for the IDE.
  11. Uwe Raabe

    IDE Syntax Highlighter using Tree-sitter

    If such an API would wrap things like "provide LSP with all necessary code for the current project" and "notify this interface with the requested results" that would make things easier. Even not trivial, though.
  12. Uwe Raabe

    IDE Syntax Highlighter using Tree-sitter

    The LSP protocol is documented, but one has to implement the complete client code from the ground up and that is a pretty complex task. Currently there is no ready to use API provided by the IDE.
  13. That is a scenario known not to work. Especially it is the driver behind RSP-35301
  14. Uwe Raabe

    Cannot compile FMX app for window 32 bits platform

    Under Tools - Options - Language - Delphi - Library check if the Library path contains c:\program files (x86)\embarcadero\studio\22.0\lib\Win32\release (or wherever you installed Delphi to). If that holds true, then check that FMX.FontGlyphs.dcu is available there.
  15. Uwe Raabe

    Flash when showing form with VCL Styles

    My advice is related to styles that have a TPanel with a solid color. This rules out scenarios where a form wide image or pattern is visible as a (semi-)transparent background. If a TPanel is drawn in a solid color anyway, there is no benefit from drawing its parent background first. Thus setting ParentBackground to false omits some of teh drawing completely. It also helps when the form gets a full client TPanel containing all other controls to omit drawing that form client area on each paint event. With these simple steps we reduced flicker from highly annoying to no more perceptible.
  16. Uwe Raabe

    No uses clause at cursor position.

    The new release V15.1.3 is available now.
  17. Uwe Raabe

    No uses clause at cursor position.

    The release is scheduled for later this day.
  18. I know and that is already planned. For the moment MMX provides an action Insert Attributes... which allows to select an attribute from a configurable list. If you customize the MMX toolbar to contain this action, you get a simple way to add attributes to existing fields, properties and methods.
  19. Uwe Raabe

    FireDac ParamByName Exception

    ResourceOptions.ParamCreate is True?
  20. Uwe Raabe

    Welcome Page - Edit Layout not working

    No, you probably misunderstood. The Edit Layout offers an Options button, which takes you to the Welcome Page options page. There you can select a background image for each theme. You only have to make sure that when you change the image for one theme, you need to save this change before you start the process again to change the background for another theme. This has been reported already and closed as Works as expected: https://quality.embarcadero.com/browse/RSP-37883
  21. Uwe Raabe

    Welcome Page - Edit Layout not working

    After you change the background image, you need to save the dialog before selecting another theme.
  22. Uwe Raabe

    class operator TRectF.Add

    https://quality.embarcadero.com/browse/RSP-38757
  23. Currently this is not possible, but it is already in the feature requests. You can add attributes to existing fields or properties, though.
  24. Uwe Raabe

    class operator TRectF.Add

    That is not the case here. Negative numbers are allowed. In both cases the non-zero borders are ordered correctly. The check for IsEmpty on both rectangles is a logical flaw. A Union of two empty rectangles can result in a non-empty rectangle. @Gustav Schubert Please file a bug report in QP.
  25. Uwe Raabe

    Your experience with custom styles - do they work well?

    That doesn't hold for applications that have to conform to some external guide lines like Corporate Identity or security considerations. Imagine a control software for a machine or automat that looks different depending on the OS used for the current hardware. What if the software on the stationary PC looks different to that used on an iPad for remote access. There are plenty of use cases where the look and feel of a software has to be independent from the underlying operating system - and be it just independent of its current version.
×