Recent

Author Topic: zvdatecontrols error compile UTF8UpperCase  (Read 1124 times)

eldonfsr

  • Sr. Member
  • ****
  • Posts: 447
zvdatecontrols error compile UTF8UpperCase
« on: August 11, 2020, 03:20:41 am »
Error installing this packages send me this error

   S := UTF8UpperCase(UTF8Copy(S, 1, 1));

zvdatetimepicker.pas(1336,14) Error: Identifier not found "UTF8UpperCase"

any help are welcome

thanks
Fernando

dbannon

  • Hero Member
  • *****
  • Posts: 2791
    • tomboy-ng, a rewrite of the classic Tomboy
Re: zvdatecontrols error compile UTF8UpperCase
« Reply #1 on: August 11, 2020, 06:41:56 am »

please try adding lazutf8 to your uses clause.

Davo
Lazarus 3, Linux (and reluctantly Win10/11, OSX Monterey)
My Project - https://github.com/tomboy-notes/tomboy-ng and my github - https://github.com/davidbannon

Zoran

  • Hero Member
  • *****
  • Posts: 1830
    • http://wiki.lazarus.freepascal.org/User:Zoran
Re: zvdatecontrols error compile UTF8UpperCase
« Reply #2 on: August 26, 2020, 07:36:48 pm »
As you can read in the wiki, ZVDateTimePicker is an obsolete control. It was replaced with DateTimePicker, which is regularly maintained.

ZVDateTimePicker has not been updated for years.
If you have an old project which uses ZVDateTimeControls, you can try the tool mentioned in wiki (page linked above) to convert the project to use DateTimeControls.

 

TinyPortal © 2005-2018