Article Preview
Buy Now
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):
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.