From feedback from our ESBPCS for VCL customers, we realise that some prefer to have Classes that allows them to have full control of the creation, settings, manipulation and destruction via code – as they then end up with more compact code, that is nice and easy to trace/debug and refactor.
Others prefer the more RAD approach that Non-visual Components offer, where so much can be done at Design Time and thus reduce the amount of coding.
One of our aims in ESBDevLib is to offer both approaches by having our Engines available via specialised Classes that are then encapsulated into often more generalised Non-visual Components.
So we decided to better show this we would offer demos that showed both approaches – so that these can be good ways to learn the use and features being offered.
For example, TEDLYear is our Year Class (part of the Calendar Engine) that allows a Date Formatter Class to be attached so that display of the Date Related Fields can be handled. TEDLYearInfo is our Non-Visual Component that encapsulates this Class and allows our generalised Formatter Component to be attached.
Below are two Screen Shots – first of the Class being used, then of the Component being used – along with the associated Formatter Class / Component:
All the fields are populated from the Class / Component, and thus from the source you can easily see how to utilise either approach. The Demos also allow examples of using our Components and other Tools.
The above are both VCL Win32 (though both work well in VCL Win64) and we are now doing similar demos under FireMonkey.
We want to get a nice pile of new demos down for ESBDevLib along with an accompanying PDF that will give some general discussion and notes about each, so then we can get the long overdue Beta out to ESBPCS for VCL “Full Version” owners.