Friday, July 30, 2021

Delphi: Inheriting Parent Properties

The ability to inherit Parent properties is very convenient. Let's say you have a form with several controls on that form. If you wanted to change the default font from "Tahoma" to "Segoe UI" wouldn't it be nice to only have to make that change in one spot and voila, the change happens everywhere?

Well that is what inheriting the Parent properties is all about.

Unfortunately, not all the Parent properties get inherited. The font color is one of those properties that gets inherited by some controls but not all controls. I created this short video to show what happens to some of the most used VCL controls when you change the forms Font Color and Font Family.



https://youtu.be/M3VWsqPodJM

So, be careful and don't assume that one single change to the forms properties will get propagated throughout your entire application.

Enjoy!
Semper Fi,
Gunny Mike
https:\\zilchworks.com

Saturday, July 17, 2021

CodeRage 3 Replays - Oldies but Goodies

This morning I was looking for a video on how to debug an application with the Delphi IDE. I came across a two-minute video on YouTube by Francois Gaillard. It was a teaser video intended to pique your interest for the segment he did at Code Rage 3. Unfortunately, there was not a link to the full blown presentation.

I found a link to the Code Rage 3 replays on the way back machine. You can find the original webpage using this link. https://web.archive.org/web/20090815150549/http://conferences.embarcadero.com/coderage/article/38874

There are a lot of really interesting replays from Code Rage 3. Unfortunately, the recordings are done using Adobe Flash which has been discontinued. However all is not lost. You can download a stand-alone Flash Player from the Adobe website using this link 

https://www.adobe.com/support/flashplayer/debug_downloads.html


Delphi Debugging for Dummies by Francois Gaillard


After you download and unzip the replays you will see two ".swf" files. one called Session.swf and one called Session_controller.swf. Make sure to open the Session_controller.swf using the Flash Player program downloaded from the Adobe site. This will give you the the status bar with play and pause buttons along with the thumbtack progress bar.

Below is the list of Code Rage 3 presentation with download links.

Delphi / RAD Studio

C++ Builder

Delphi Prism

JBuilder

Delphi for PHP

InterBase

3rdRail/TurboRuby

Database Tools

General Topics

Sessions Presented in Spanish

Sessions Presented in Portuguese

Enjoy
Semper Fi
Gunny Mike
https://zilchworks.com

The link to the stand-alone Adobe Flash Player came from an article called "How to Play Adobe Flash SWF Files Outside Your Web Browser" on howtogeek.com. https://www.howtogeek.com/438141/how-to-play-adobe-flash-swf-files-outside-your-web-browser/