Recent

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

bobonwhidbey

  • Hero Member
  • *****
  • Posts: 590
    • 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 »
Lazarus 3.0RC2, FPC 3.2.2 x86_64-win64-win32/win64

wp

  • Hero Member
  • *****
  • Posts: 11853
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.

bobonwhidbey

  • Hero Member
  • *****
  • Posts: 590
    • 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.
Lazarus 3.0RC2, FPC 3.2.2 x86_64-win64-win32/win64

bobonwhidbey

  • Hero Member
  • *****
  • Posts: 590
    • 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.
Lazarus 3.0RC2, FPC 3.2.2 x86_64-win64-win32/win64

dsiders

  • Hero Member
  • *****
  • Posts: 1052
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?
Preview Lazarus 3.99 documentation at: https://dsiders.gitlab.io/lazdocsnext

bobonwhidbey

  • Hero Member
  • *****
  • Posts: 590
    • Double Dummy Solver - free download
Lazarus 3.0RC2, FPC 3.2.2 x86_64-win64-win32/win64

wp

  • Hero Member
  • *****
  • Posts: 11853
Re: [Solved] Using TVpClock
« Reply #6 on: March 03, 2021, 09:43:49 pm »
Or Online-Package-Manager: TvPlanIt.

 

TinyPortal © 2005-2018