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 17 in printed book and digital formats -- plus a one-year subscription (beginning with 18.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 3.6

COLUMN

Control Panel Library

Indicator Class

Issue: 3.6 (July/August 2005)
Author: Joe Nastasi
Author Bio: Joe Nastasi is the president of Pyramid Design, a software development firm and the developers of A-OK! Spacecraft Simulation System and FTP Suite.
Article Description: No description available.
Article Length (in bytes): 8,400
Starting Page Number: 38
Article Number: 3618
Related Link(s): None

Excerpt of article text...

Having discussed the Panel Class last session, we will now focus on the individual panel entity classes: IndicatorClass, AnalogGaugeClass, and SwitchClass. All of these classes are based on the PanelEntityClass discussed in issue 3.4.

IndicatorClass

This class is the simplest of our controls. It just switches 2D pictures, stored as a shapes, by changing the Shape property to reflect the current indicator state.

Properties

Height as Integer -- A local property that contains the height of the indicator.

Width as Integer -- A local property that contains the width of the indicator.

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