How to allow dates to be empty?

How to allow dates to be empty?

tmssoftwareTV

1 год назад

542 Просмотров

In this episode, Holger addresses a common Delphi programming challenge—handling empty dates. He introduces nullable values using the Spring Framework for Delphi, demonstrating how to represent dates that may or may not have values. Holger highlights the simplicity of using nullable, making Delphi programming more flexible.

SOURCE CODE:
https://github.com/holgerflick/examples/tree/03_nulldate

CONNECT:
Facebook: https://www.facebook.com/tmssoftware/
Twitter: https://twitter.com/TMSsoftwareNews
LinkedIn: https://www.linkedin.com/company/tmss...
Instagram: https://www.instagram.com/tmssoftware/

ABOUT:
TMS software, established in 1995, is a software development company specialized in:
VCL, FMX, LCL, FNC, .NET, component development
Windows, Web, Android, iOS, macOS, Linux, Raspberry Pi development projects
Training, consulting & custom project development

Тэги:

#delphi #dates #tms #tmssoftware
Ссылки и html тэги не поддерживаются


Комментарии:

@hindermath
@hindermath - 18.11.2022 14:43

Thank you Holger for another HIWWH video about this interesting topic. This answers my questions about nullability in DELPHI. Thank you Holger for this video.

Ответить
@JulioRFerrari
@JulioRFerrari - 19.11.2022 00:48

That's really helpful!
But it was focusing the code. Focusing user interaction, what would you suggest to clear the control when the user nulls a date (by deleting the full text or unchecking the native checkbox)? What should de a practical workaround?

Ответить