Special

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

PDF:

From Scratch

TabEditor

Create your own customized graph paper

Issue: 7.5 (July/August 2009)
Author: Brad Rhine
Article Description: No description available.
Article Length (in bytes): 10,043
Starting Page Number: 50
RBD Number: 7516
Resource File(s): None
Related Link(s): None
Known Limitations: None

Excerpt of article text...

I have a confession to make. Please don't judge me too harshly, but I have a very unhealthy relationship in my life that I just can't seem to get out of. That relationship is with Microsoft Excel. In my job as a school district data manager, I spend a lot of time working with spreadsheets and, even more commonly, tabbed text files. The problem is that tabbed text files with more than two or three columns can be inscrutably difficult to edit by hand, and using Excel... well, that's why my relationship with it is unhealthy. Excel is very powerful but if you bring in a tabbed text file with anything other than numbers or strings, such as ISO dates, numbers with leading zeroes, or anything that Excel might interpret as a formula or function, Excel will quite happily destroy your formatting and sometimes modify your data with nary a warning. This, as the kids would say, is a problem. So I did whatever I do when I have a technology problem. I wrote a REALbasic application!

The Goals

Our tabbed text editor has several goals. First and foremost, is to never change any of our users' data unless the user edits it. Second, we want to make editing tabular data easier by presenting the data in columns. For that, we'll use a ListBox control. In fact, the ListBox will be the focus of this project, since we'll use it not just for displaying our data but also for editing it.

...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