summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages
diff options
context:
space:
mode:
Diffstat (limited to 'demos/quickstart/protected/pages')
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.page56
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TPanel/hello_world.gifbin0 -> 1602 bytes
-rw-r--r--demos/quickstart/protected/pages/Controls/Simple.page4
3 files changed, 60 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.page
new file mode 100644
index 00000000..7e5e8bcb
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.page
@@ -0,0 +1,56 @@
+<com:TContent ID="body">
+
+<h1>TPanel Samples</h1>
+
+<table class="sampletable">
+
+<tr><td class="samplenote">
+Panel with contents:
+</td><td class="sampleaction">
+<com:TPanel>
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+</com:TPanel>
+</td></tr>
+
+<tr><td class="samplenote">
+Panel with customized background color, font and horizontal alignment:
+</td><td class="sampleaction">
+<com:TPanel
+ BackColor="silver"
+ Font.Size="14pt"
+ HorizontalAlign="Center">
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+</com:TPanel>
+</td></tr>
+
+<tr><td class="samplenote">
+Panel with customized background image, width and scroll bars:
+</td><td class="sampleaction">
+<com:TPanel
+ BackImageUrl=<%~hello_world.gif%>
+ Width="400px"
+ Height="200px"
+ ScrollBars="Both"
+ Wrap="false">
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+</com:TPanel>
+</td></tr>
+
+<tr><td class="samplenote">
+Panel with grouping text:
+</td><td class="sampleaction">
+<com:TPanel GroupingText="grouping text" Width="400px">
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+</com:TPanel>
+</td></tr>
+
+</table>
+
+</com:TContent> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TPanel/hello_world.gif b/demos/quickstart/protected/pages/Controls/Samples/TPanel/hello_world.gif
new file mode 100644
index 00000000..bc81443c
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Samples/TPanel/hello_world.gif
Binary files differ
diff --git a/demos/quickstart/protected/pages/Controls/Simple.page b/demos/quickstart/protected/pages/Controls/Simple.page
index 5bce13aa..2f0dc2f9 100644
--- a/demos/quickstart/protected/pages/Controls/Simple.page
+++ b/demos/quickstart/protected/pages/Controls/Simple.page
@@ -13,6 +13,10 @@
<h2>TImage</h2>
<h2>TPanel</h2>
+<p>
+<tt>TPanel</tt>
+</p>
+<com:RunBar PagePath="Controls.Samples.TPanel.Home" />
<h2>TTextBox</h2>
<p>