Jump to content

Lajos Juhász

Members
  • Content Count

    1078
  • Joined

  • Last visited

  • Days Won

    15

Posts posted by Lajos Juhász


  1. You cannot hook up DB controls to an unidirectional query but that should not stop you from inspecting and saving it. 

     

    I am using FireDAC with ODBC driver from the first version (to connect to Informix database). The data is never corrupted. The only problem I am aware is when writing to database FireDAC ignores the database locale and uses the default Windows locale for non-unicode language to write data. 

    • Like 1

  2. I believe you would have to do that in Word:

     

    (WINDOWS) Microsoft Word 2010, 2013, 2016:
    1. Go to “File”
    2. Select “Info”
    3. Click on “Check for issues”
    4. Click on “Inspect document”
    5. In the “Document Inspector” dialog box, select the check boxes to choose the types of hidden content that you want to be inspected.
    6. Click “Remove All”
    7. Click “Close”
    8. Save the document.

     


  3. 24 minutes ago, omnibrain said:

    Doesn't matter in this case, because it's just an example, but definitily something to consider if it plays a role.

     

    Today it's an example. Tomorrow you or somebody else sees the code and use it in a real application. Copy paste errors are always a fun thing to search for or debug.

    • Like 1

  4. 29 minutes ago, dummzeuch said:

    (apart from reporting this bug to Embarcadero, of course).

    If it's Embarcaderos fault it's tough to report it. I have had a situation when the IDE gave me the dialog to report a bug, it generates everything including the call stack. Even after submiting it I was asked for a test case (in my case it is impossible to give) while the call stack should help a developer to locate the error. 

    In this case the first step should be to generate a call stack to see where to search for the bug.


  5. 1 hour ago, MichaelPrice said:

    ot sure how to use WhichFailedToLoad 

    The easiest way to use it:

    ShowMessage(WhichFailedToLoad()); 

     

    I am not sure that those dlls are shipped with Delphi. There are some old threads about this error like 

     

     

    • Like 1

  6. When the user moves outside the rect you want to move the rectangle to the first position thus the AnimateFloat should be corrected:

     

    procedure TForm2.Rectangle2MouseLeave(Sender: TObject);
    begin
       Rectangle2.AnimateFloat('Position.y', 222.0, 5, TAnimationType.InOut,
        TInterpolationType.Linear);
    //  Rectangle2.Position.y := (Rectangle1.Position.Y + 200);
    end;

    Now you can easily see the real problem. As the rectangle is moved the mouse will get outside the rectangle and that will trigger the mouse leave event. To solve this you can change the height of the rectangle to 300.

    • Like 1
×