summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Fundamentals/Samples/Hangman/Home.page
diff options
context:
space:
mode:
authorxue <>2006-01-21 06:13:46 +0000
committerxue <>2006-01-21 06:13:46 +0000
commitc5e3052cdab7d0d8d86ddd272a906e850e0bc90a (patch)
tree203ec7f8017e9893cf4078ec4c4e98cce04f5f8c /demos/quickstart/protected/pages/Fundamentals/Samples/Hangman/Home.page
parentdc4c82056f3c600267e75e1bb84869124870988f (diff)
Replaced TRadioButton's with TRadioButtonList in hangman demo.
Diffstat (limited to 'demos/quickstart/protected/pages/Fundamentals/Samples/Hangman/Home.page')
-rw-r--r--demos/quickstart/protected/pages/Fundamentals/Samples/Hangman/Home.page8
1 files changed, 5 insertions, 3 deletions
diff --git a/demos/quickstart/protected/pages/Fundamentals/Samples/Hangman/Home.page b/demos/quickstart/protected/pages/Fundamentals/Samples/Hangman/Home.page
index 31058fa5..bae7b308 100644
--- a/demos/quickstart/protected/pages/Fundamentals/Samples/Hangman/Home.page
+++ b/demos/quickstart/protected/pages/Fundamentals/Samples/Hangman/Home.page
@@ -6,9 +6,11 @@
<com:TPanel ID="IntroPanel">
<p>This is the game of Hangman. You must guess a word, a letter at a time.
If you make too many mistakes, you lose the game!</p>
-<com:TRadioButton ID="EasyLevel" GroupName="level" Text="Easy game; you are allowed 10 misses." /><br/>
-<com:TRadioButton ID="MediumLevel" GroupName="level" Text="Medium game; you are allowed 5 misses." /><br/>
-<com:TRadioButton ID="HardLevel" GroupName="level" Text="Hard game; you are only allowed 3 misses." /><br/>
+<com:TRadioButtonList ID="LevelSelection">
+ <com:TListItem Value="10" Text="Easy game; you are allowed 10 misses."/>
+ <com:TListItem Value="5" Text="Medium game; you are allowed 5 misses."/>
+ <com:TListItem Value="3" Text="Hard game; you are allowed 3 misses."/>
+</com:TRadioButtonList>
<com:TButton Text="Play!" Click="selectLevel" />
<com:TLabel ID="LevelError" Text="You must choose a difficulty level!" ForeColor="red" Visible="false" />
</com:TPanel>