Error in sSpinnedit on double click

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #71283
    RJ
    Participant

      Can some one help me with a work arround or solution please.

      #71296
      Lasse
      Participant

        I can confirm this issue is happening with the latest version. I will try to fix it.

        #71299
        Lasse
        Participant

          If you have source codes (sSpinEdit.pas), you can fix this like:

          procedure TsBaseSpinEdit.WndProc(var Message: TMessage);
          ...
              CM_MOUSELEAVE: begin
                // ==> Fix starts
                if Assigned(FRepeatTimer) then 
                  FreeAndNil(FRepeatTimer);
          
                MousePressed := False; 
                // <== Fix ends
                if Btn1State > 0 then
                  Btn1State := 0;

          If you don’t have source code, you need to inherit TsSpinEdit and override WndProc.

          • This reply was modified 2 years, 7 months ago by Lasse.
          #71303
          RJ
          Participant

            Thanks this works perfect for me.

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