Game Development Reference
In-Depth Information
Figure 5.1
Project with a complete basic user interface.
7. Set the ReadOnly property to True and the ScrollBars property to
8. Set the BackColor property to White. White is available on the Web Colors
tab when you click the drop-down for BackColor.
9. Save all.
This completes the basics of the user interface. Your screen should resemble
Figure 5.1.
The name ThoughtsTextBox may be familiar from Chapter 3, ''Finite State
Machines.'' We will reuse some of the same code in this chapter. Switch to the
code for MainForm and add the following:
'The Output side of the interface:
Public Sub Say(ByVal someThought As String)
'Everything we thought before, a new thought, and a newline.
Search Nedrilad ::

Custom Search