More Issues With sDBNavigator v9.17

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #52759
    Support
    Keymaster

      Hello!

      Try this patched file, please.

      #52779
      tmorris
      Participant
        'Support' wrote:

        Hello!

        Try this patched file, please.

        Sorry. Does not fix the problem. Did you try the example project I uploaded?

        #52777
        Support
        Keymaster

          I have tried it and does not have the error now.

          The AlphaDB package has been rebuilt with patched file?

          #52781
          tmorris
          Participant

            This is the source of the problem. It is related to hints. The other array for which you moved the initialization code:

            procedure TsDBNavigator.SetHints(Value: TStrings);

            begin

            if Value.Text = FDefHints.Text then

            FHints.Clear

            else

            FHints.Assign(Value);

            end;

            There are situations where a nil pointer is being passed as “Value” at design time. The modification below fixed it for me.

            procedure TsDBNavigator.SetHints(Value: TStrings);

            begin

            if value <> nil then

            begin

            if Value.Text = FDefHints.Text then

            FHints.Clear

            else

            FHints.Assign(Value);

            end;

            end;

            I am using XE6.

            #52783
            Support
            Keymaster

              Thank you, these changes will be added in the nearest release.

            Viewing 5 posts - 1 through 5 (of 5 total)
            • You must be logged in to reply to this topic.