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:

Beginner's Corner

Basic RB Controls, Part 1

Exploring the RectControl class

Issue: 8.1 (November/December 2009)
Author: Marc Zeedar editor-at-rbdeveloper.com
Article Description: No description available.
Article Length (in bytes): 15,540
Starting Page Number: 41
RBD Number: 8111
Resource File(s):

Download Icon project8112.zip Updated: Monday, November 2, 2009 at 11:57 AM

Related Link(s): None
Known Limitations: None

Excerpt of article text...

Lately I've been covering some fairly advanced beginner topics, so I've decided to take a moment to cover the obvious. Often the most simple things are not well documented or publicly explained and present awkward obstacles for those just starting out.

As one simple example, I remember when I first used REALbasic being puzzled about how to group radio buttons together. If I just had one group on a window it worked fine, but two or more groups didn't as they still acted like one group. It was a while before I realized I had to group the radio buttons inside a GroupBox for them to work in sync.

So today we're going to begin an exploration of some of the most basic of REALbasic controls. Much of this may be obvious to you, but hopefully you'll find at least one or two nuggets of new information.

Shared Basics

We'll begin by covering the most basic aspects of basic controls. In the past we've talked about the object-oriented principle of inheritance -- that's how you're able to create custom subclasses of existing controls, for instance. If you look through most controls you'll see they're all based on a generic object called RectControl.

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