Recent

Author Topic: [Solved] Using TVpClock  (Read 414 times)

bobonwhidbey

  • Sr. Member
  • ****
  • Posts: 478
    • Double Dummy Solver - free download
[Solved] Using TVpClock
« on: March 03, 2021, 07:27:37 pm »
This seems like a great component, but I haven't figured out how to get the clock, with second hand, moving. Every time I compile the app the clock's hands move appropriately to the time when I compiled. I've set the clock's Active property to true. What else is necessary?
« Last Edit: March 03, 2021, 08:44:54 pm by bobonwhidbey »
Win10 64-bit / Lazarus 64-bit 2.0.12 / FPC 3.2.0

wp

  • Hero Member
  • *****
  • Posts: 8371
Re: Using TVpClock
« Reply #1 on: March 03, 2021, 08:06:41 pm »
Just checked it again: I dropped a TVpClock on the form - there is an issue with the Color property which defaults to clDefault, but this is not handled correctly. So, change the Color to something like clBtnFace or clForm, and you'll see the hands. Then I switch Active to true, and the clock starts.

You can also study the "gadgets" demo in the "examples" folder of the TvPlanIt installation.
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

bobonwhidbey

  • Sr. Member
  • ****
  • Posts: 478
    • Double Dummy Solver - free download
Re: Using TVpClock
« Reply #2 on: March 03, 2021, 08:30:13 pm »
I must have a different version. There are no examples in mine. Where can I download the version you are using.
Win10 64-bit / Lazarus 64-bit 2.0.12 / FPC 3.2.0

bobonwhidbey

  • Sr. Member
  • ****
  • Posts: 478
    • Double Dummy Solver - free download
Re: Using TVpClock
« Reply #3 on: March 03, 2021, 08:44:40 pm »
Sorry to bother.  I found a a much better version of the component, including examples, on GitHub.
Win10 64-bit / Lazarus 64-bit 2.0.12 / FPC 3.2.0

dsiders

  • Sr. Member
  • ****
  • Posts: 448
Re: Using TVpClock
« Reply #4 on: March 03, 2021, 08:46:13 pm »
Sorry to bother.  I found a a much better version of the component, including examples, on GitHub.

Link?
Lazarus 2.0.12 / 2.1 (SVN) / FPC 3.0.4 / FPC 3.2.0 / x86-win64 / Windows 8.1

bobonwhidbey

  • Sr. Member
  • ****
  • Posts: 478
    • Double Dummy Solver - free download
Win10 64-bit / Lazarus 64-bit 2.0.12 / FPC 3.2.0

wp

  • Hero Member
  • *****
  • Posts: 8371
Re: [Solved] Using TVpClock
« Reply #6 on: March 03, 2021, 09:43:49 pm »
Or Online-Package-Manager: TvPlanIt.
Mainly Lazarus trunk / fpc 3.2.0 / all 32-bit on Win-10, but many more...

 

TinyPortal © 2005-2018