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 21 in printed book and digital formats -- plus a one-year subscription (beginning with 22.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!

Article Preview


Buy Now

Issue 1.6

COLUMN

Adding to the User Interface

Issue: 1.6 (June/July 2003)
Author: Paul Lefebvre
Author Bio: Paul Lefebvre is President and Chief Software Architect of LogicalVue Software, producers of SQLVue Professional and many other products.
Article Description: No description available.
Article Length (in bytes): 6,889
Starting Page Number: 27
Article Number: 1613
Resource File(s):

Download Icon 1613.zip Updated: 2013-03-11 19:07:56

Related Link(s): None

Excerpt of article text...

This month we'll build the user interface needed to enter and change game information. The User Interface (UI) for this is a little different than the one we built for teams since only a single game at a time will be displayed. Starting with this issue I'll be using REALbasic 5 for all these examples.

To get started, open the softball.rb project (available from the REALbasic Developer Web Site).

Menus

First we will enhance our menu to allow access to our windows. To do this, add a menu header called "Database" with menu items "Teams" and "Games". Open the app object and add menu handlers for these two menu items. In the Teams menu handler, type wTeam.Show. In the Games menu handler, enter wGame.Show.

Game Window

Now, create a new window, wGame, and title it "Games". Drag over six StaticText controls, six EditField controls, three PopupMenu controls, four PushButton controls and one DataControl. Arrange and name them to look like figure 1.

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