Sydney Meeting – September 2015

Wednesday 30th September 2015 at 6 for 6:15pm start


Wednesday 30th September 2015 at 12pm (finish at 1pm)

Important changes

We’re experimenting with holding two meetings, one at lunchtime the other at the usual 6pm. For catering purposes please register your attendance in advance for either the lunchtime meeting or the evening meeting. Registration is free.
Eventbrite - Australian Delphi User Group - Sydney September Lunch Meeting Eventbrite - Australian Delphi User Group - Sydney September Meeting

Automating mass code modifications – Lachlan Gemmell

Quite often you’ll find yourself in a situation where you’d like to modify all the units in your project in a particular way. If a search and replace won’t do the job either you roll up your sleeves and spend a mind-numbing afternoon changing each unit individually or you put it in the too hard basket. Perhaps you think about writing a custom utility to modify the units directly but usually you can’t justify the time that would take.

The good news is that there are open source libraries available that will do most of the heavy lifting for you when it comes to parsing both PAS and DFM files. With these libraries making large scale modifications to your code base is achievable within a short enough time frame to justify the effort.

As example of how large scale modifications can be done to both PAS and DFM files we’ll write a custom utility that will add an event handler to every instance of a particular component within an application. You can then take these techniques and apply them to transform PAS and DFM files in any way you’d like.

More Details

Posted in Sydney