Lazarus

Programming => Packages and Libraries => Topic started by: eldonfsr on August 11, 2020, 03:20:41 am

Title: zvdatecontrols error compile UTF8UpperCase
Post by: eldonfsr 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
Title: Re: zvdatecontrols error compile UTF8UpperCase
Post by: dbannon on August 11, 2020, 06:41:56 am

please try adding lazutf8 to your uses clause.

Davo
Title: Re: zvdatecontrols error compile UTF8UpperCase
Post by: Zoran on August 26, 2020, 07:36:48 pm
As you can read in the wiki,  (https://wiki.freepascal.org/ZVDateTimeControls_Package)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