Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 8 of 8 total
Thread TDateEditComboBox component issue
Tue, Jan 10 2017 4:31 PMPermanent Link

Trinione

Tim:
Several users have reported and shown my that the calendar suddenly 'comes alive' and starts an animation of descending days. 8(

I have captured a video and shall forward to you when I receive it.

I witnessed it once two weeks ago, but brushed it aside thinking it was just a weird anomaly. However, in the past few days several users have reported it, and the last being a minute ago and I had her video record it and also show that the keyboard was not being touched.
Wed, Jan 11 2017 2:22 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

<< Several users have reported and shown my that the calendar suddenly 'comes alive' and starts an animation of descending days. 8( >>

Please explain further what you mean by "descending days".  Is the selected date changing, or is the display of the month/year changing ?

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Jan 12 2017 1:35 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Okay, I've managed to reproduce the issue, which is that the base TRepeatControl isn't making sure to turn off the repeat clicking when the mouse leaves the control.  Therefore, if you click on the left/right arrows in the calendar control but don't release the mouse button, and then move the mouse outside of the bounds of the arrow/calendar, then the repeating will occur forever.

The fix is in the WebCtrls unit:

Add this in the TRepeatControl interface:

  TRepeatControl = class(TControl)
....
        function DoMouseUp(Button: Integer; ShiftKey, CtrlKey, AltKey: Boolean; X,Y: Integer): Boolean; override;
        function DoMouseLeave: Boolean; override; <<<<<<<<<<<<<<<<<<<< Add !!
....

Add this in the TRepeatControl implementation:

function TRepeatControl.DoMouseLeave: Boolean;
begin
  UpdateRepeatTimer(False);
  Result:=inherited DoMouseLeave;
end;

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Jan 12 2017 1:46 PMPermanent Link

Matthew Jones

Tim Young [Elevate Software] wrote:

>  if you click on the left/right arrows in the calendar control but don't release the mouse button, and then move the mouse outside of the bounds of the arrow/calendar, then the repeating will occur forever.

That's so cool! Worth having a quick go to see it before the fix is put in. 8-)

--

Matthew Jones
Thu, Jan 12 2017 1:47 PMPermanent Link

Matthew Jones

Matthew Jones wrote:

> That's so cool! Worth having a quick go to see it before the fix is put in. 8-)

Indeed, you can get it to go back and forth by starting it one way, then the other.


--

Matthew Jones
Thu, Jan 12 2017 1:47 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Matthew,

<< That's so cool! Worth having a quick go to see it before the fix is put in. 8-) >>

I imagine something will eventually blow up, but you may wait a while... Smile

Tim Young
Elevate Software
www.elevatesoft.com
Thu, Jan 12 2017 8:57 PMPermanent Link

Raul

Team Elevate Team Elevate

On 1/12/2017 1:35 PM, Tim Young [Elevate Software] wrote:
> Okay, I've managed to reproduce the issue, which is that the base TRepeatControl isn't making sure to turn off the repeat clicking when the mouse leaves the control.  Therefore, if you click on the left/right arrows in the calendar control but don't release the mouse button, and then move the mouse outside of the bounds of the arrow/calendar, then the repeating will occur forever.
> The fix is in the WebCtrls unit:

I tried this out and i'm not really sure if it's a feature or a bug -
once you know about it definitely makes scrolling whole lot easier Smile

Raul
Wed, Jan 18 2017 2:30 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Raul,

<< I tried this out and i'm not really sure if it's a feature or a bug - once you know about it definitely makes scrolling whole lot easier Smile>>

Yes, that is for certain... Smile

Tim Young
Elevate Software
www.elevatesoft.com
Image