StaticLink Control
December 6th, 2007, by Paul Lefebvre in Controls, Source Code
This is a subclass of the StaticText control that gives you the functionality of a hyperlink in your applications. To use it, simply drag the StaticLink control to your Window (you can find it in the Project Controls section of the control list). You can then set its behavior directly in the IDE Properties...
Zing with CapacityString
October 15th, 2007, by Paul Lefebvre in ResExcellence, Source Code, Strings
by Seth Willits In this tutorial we’re going to write a CapacityString class which will vastly improve string performance in certain situations. Now, I admit this tutorial isn’t exactly going to be eye catching, but I think for some of you it will be quite an eye opener. The Problem Let’s...
Splitter Control
October 15th, 2007, by Paul Lefebvre in Controls, ResExcellence, Source Code
by Seth Willits After much hard work and perspiration (not really)…….. it’s done. As I originally thought, this code will take forever to explain and I don’t think many of you will want to read it anyway. It works and that’s all you need to know, right? If you have any...
Quartz Gradients
September 15th, 2007, by Paul Lefebvre in Controls, ResExcellence, Source Code, User Interface
by Seth Willits Continuing the article about drawing a simple rectangle with a Quartz shadow, in this article we take a look at axial gradients. The code for this is actually a major pain to explain (I admit I don’t know everything there is to know about it as well), so, sorry, but I’m going...
Wiggle Window
September 13th, 2007, by Paul Lefebvre in ResExcellence, Source Code, User Interface
by Erick Tejkowski Should you accidentally enter the wrong password while logging onto an OS X machine, you’ll notice that the login window wiggles back and forth a few times. In fact, it looks like the login window is shaking its head “NO!” at you. This week we’ll look at how...
Singleton Design Pattern
March 7th, 2007, by Paul Lefebvre in General, Source Code
The Singleton design pattern is probably the simplest of all the common design patterns. Its purpose is also simple: to ensure that only once instance of a class is ever instantiated. You might be thinking that you could just use a module for this purpose. A module is close to a singleton, but since...

Next Entries »