Recent

Author Topic: TDateTimePicker - How to access options?  (Read 2613 times)

Milsa

  • Sr. Member
  • ****
  • Posts: 309
TDateTimePicker - How to access options?
« on: July 07, 2017, 07:31:22 pm »
I have DateTimePicker on Form.

How can I access Option property?

I need to set dtpoEnabledIfUnchecked and dtpoAutoCheck option.

Property with name "Option" doesn't exists.
I work with Lazarus 2.2.2, FPC 3.2.2, date 2022-05-15
This information is actual to: 28st Dec 2022

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus

Milsa

  • Sr. Member
  • ****
  • Posts: 309
Re: TDateTimePicker - How to access options?
« Reply #2 on: July 07, 2017, 09:19:24 pm »
Yes, I found it but I do't find Options property in TDateTimePicker. I searched in source codes too.
I work with Lazarus 2.2.2, FPC 3.2.2, date 2022-05-15
This information is actual to: 28st Dec 2022

Handoko

  • Hero Member
  • *****
  • Posts: 5131
  • My goal: build my own game engine using Lazarus
Re: TDateTimePicker - How to access options?
« Reply #3 on: July 07, 2017, 09:28:19 pm »
They are listed as fixes/improvements on Lazarus 1.8RC3 r55272:
http://wiki.lazarus.freepascal.org/Lazarus_1.8_fixes_branch

Milsa

  • Sr. Member
  • ****
  • Posts: 309
Re: TDateTimePicker - How to access options?
« Reply #4 on: July 07, 2017, 09:43:18 pm »
Thank you. My version of Lazarus is 1.6.4. I am going to update it to 1.8.
I work with Lazarus 2.2.2, FPC 3.2.2, date 2022-05-15
This information is actual to: 28st Dec 2022

 

TinyPortal © 2005-2018