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 14 in printed book and digital formats -- plus a one-year subscription 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!

Article Preview

Buy Now


From Scratch


Build a clipboard manager

Issue: 8.2 (January/February 2010)
Author: Brad Rhine
Article Description: No description available.
Article Length (in bytes): 13,879
Starting Page Number: 54
RBD Number: 8214
Resource File(s):

Download Icon 8214.zip Updated: Monday, January 4, 2010 at 1:36 PM

Related Link(s): None
Known Limitations: None

Excerpt of article text...

The last time we were together, we began building ClipSaver, a clipboard manager that would keep track of our copied text so that we could save our clipboard history.

We got to the point that our project was able to monitor the clipboard and track its contents in a ListBox. But we had not yet reached the point where we were able to maintain that data between runs of our application (or restarts of the computer itself, for that matter).

That's where we begin today.

Now, I know that I promised that we would be building a multi-user application, but as the old saying goes, you have to walk before you can run. So first, we're going to build the single user version, which we'll be able to extend later to support multiple users.

Saving The Data

The simplest way, and one of the most efficient ways, to store our data is the REAL SQL Database. Built on SQLite, it's fast, free, and reliable. Normally, you only get to pick two of those attributes, so having all three is really rather amazing. Now, this project isn't intended to be a database lesson, so I'm not going to explain all the nitty gritty details. However, if there's something I gloss over that you'd like to have explained more in depth, by all means contact me. My wife will be glad that I have someone else with whom I can discuss databases.

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

Article copyrighted by REALbasic Developer magazine. All rights reserved.




Weblog Commenting and Trackback by HaloScan.com