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