Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » Elevate Web Builder Technical Support » Support Forums » Elevate Web Builder General » View Thread |
Messages 1 to 4 of 4 total |
using Cracker classes in EWB - blog entry |
Tue, Apr 11 2023 6:54 PM | Permanent Link |
erickengelke | I've started an EWB programming blog covering somewhat advanced topics that are too long to be posted in this forum.
See: https://www.erickengelke.com Of interest, it's possible to use "cracker" classes to extend EWB classes without a lot of work. See: https://www.erickengelke.com/blog/4.html The sample project is included for download at the end of the article so you don't need to retype it. I hope it will be helpful to some. Let me know if there is a topic you'd like covered. Erick EWB Programming Books and Nice Component Library See my EWB BLOG posts, at: http://www.erickengelke.com |
Wed, Apr 12 2023 7:47 AM | Permanent Link |
Ralf Mimoun | Thanks for sharing. I use that approach to set DataSet.DateTimeFormat to ISO 8601.
Btw, I just wrote a TPersistent descendant with a AsJSON property (read/write), with some additional properties to optionally write specific values as "null". It helps to generate pretty JSON with null values eg. for dates like 01.01.1970, integers like -1 or strings like "". I'd love to post it after some cleanup if anyone is interested. |
Wed, Apr 12 2023 8:24 AM | Permanent Link |
erickengelke | Ralf Mimoun wrote:
>Thanks for sharing. I use that approach to set DataSet.DateTimeFormat to ISO 8601. Please share. > Btw, I just wrote a TPersistent descendant with a AsJSON property (read/write), with some additional properties to optionally write specific values as "null". It helps to generate pretty JSON with null values eg. for dates like 01.01.1970, integers like -1 or strings like "". I'd love to post it after some cleanup if anyone is interested. That's be great. Erick EWB Programming Books and Nice Component Library See my EWB BLOG posts, at: http://www.erickengelke.com |
Wed, Apr 12 2023 11:47 AM | Permanent Link |
Ralf Mimoun | A no brainer
TDataSetHelper = class(TDataSet) end; [...] TDataSetHelper(MyDataSet).DateTimeFormat := dtfISO8601; @Tim: Maybe that property could become public or published in one of the next versions? I'll try to brush up the TPersistentJSON class in the next days. |
This web page was last updated on Tuesday, December 10, 2024 at 04:57 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |