Recent

Author Topic: TCalendar patch  (Read 4414 times)

Zoran

  • Hero Member
  • *****
  • Posts: 1949
    • http://wiki.lazarus.freepascal.org/User:Zoran
TCalendar patch
« on: February 25, 2016, 08:19:06 am »
Hello,

I would ask someone to test and apply the patch provided in bug report 0029646. It adds the method GetCurrentView to TCalendar.

This patch should then make possible to correct the behaviour of TDateTimePicker, TDateEdit and TCalendarDialog on Windows (Vista+) OS, as described in bug reports 29617 and 29696.

Regards,
Zoran
Swan, ZX Spectrum emulator https://github.com/zoran-vucenovic/swan

balazsszekely

  • Guest
Re: TCalendar patch
« Reply #1 on: February 25, 2016, 09:33:56 am »
@Zoran

Yes, this should be definitely applied!

JanRoza

  • Hero Member
  • *****
  • Posts: 724
    • http://www.silentwings.nl
Re: TCalendar patch
« Reply #2 on: February 25, 2016, 11:47:44 am »
Is there a svn url to download the fix?
I'll gladly test it.
OS: Windows 11 / Linux Mint 22.1
       Lazarus 4.0 RC FPC 3.2.2
       CodeTyphon 8.70 FPC 3.3.1

balazsszekely

  • Guest
Re: TCalendar patch
« Reply #3 on: February 25, 2016, 11:58:14 am »
@JanRoza
It's attached to the bugreport, but won't fix the issue you reported, this is just a prepatch, nevertheless is still important and should be applied.

@Juha, @Bart Can you please apply it?

Zoran

  • Hero Member
  • *****
  • Posts: 1949
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: TCalendar patch
« Reply #4 on: February 25, 2016, 12:17:25 pm »
Bart applied the patch. Thanks, Bart.
I am now going to fix the TDateTimePicker behaviour.
Swan, ZX Spectrum emulator https://github.com/zoran-vucenovic/swan

JanRoza

  • Hero Member
  • *****
  • Posts: 724
    • http://www.silentwings.nl
Re: TCalendar patch
« Reply #5 on: February 25, 2016, 12:19:38 pm »
Okay, I'll wait my turn.  :D
Take your time.
OS: Windows 11 / Linux Mint 22.1
       Lazarus 4.0 RC FPC 3.2.2
       CodeTyphon 8.70 FPC 3.3.1

Zoran

  • Hero Member
  • *****
  • Posts: 1949
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: TCalendar patch
« Reply #6 on: February 25, 2016, 02:01:58 pm »
Okay, I'll wait my turn.  :D
Take your time.

The time has come. :D
I applied the fix for TDateTimePicker in revision 51696. Please test.
Swan, ZX Spectrum emulator https://github.com/zoran-vucenovic/swan

balazsszekely

  • Guest
Re: TCalendar patch
« Reply #7 on: February 25, 2016, 02:08:51 pm »
Tested under win32! Works fine. Thanks Zoran!

JanRoza

  • Hero Member
  • *****
  • Posts: 724
    • http://www.silentwings.nl
Re: TCalendar patch
« Reply #8 on: February 26, 2016, 12:10:14 am »
And tested under Windows 10 (64-bit).
Works as wished.
Good job Zoran!
OS: Windows 11 / Linux Mint 22.1
       Lazarus 4.0 RC FPC 3.2.2
       CodeTyphon 8.70 FPC 3.3.1

 

TinyPortal © 2005-2018