Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 20 in printed book and digital formats -- plus a one-year subscription (beginning with 21.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Recent issues

Article Preview

Buy Now

Issue 3.6


Implementing a MessageCenter Module

Decoupling The Observer Pattern

Issue: 3.6 (July/August 2005)
Author: Charles Yeomans
Author Bio: Charles Yeomans is a software developer in Lexington, Kentucky.
Article Description: No description available.
Article Length (in bytes): 5,350
Starting Page Number: 35
Article Number: 3616
Related Link(s): None

Excerpt of article text...

Your application allows users to customize its user interface and other behavior. A user can change the font, change colors, load different skins, and so forth. This means that many controls and objects need to know when settings are changed.

A standard solution to such a problem is described by the Observer pattern. In this pattern, objects that wish to be notified of some change to an object's state register their interest with the object. This object then notifies observers when a change occurs.

...End of Excerpt. Please purchase the magazine to read the full article.