diff options
Diffstat (limited to 'demos/quickstart/protected/pages/Fundamentals/HelloWorld.page')
-rw-r--r-- | demos/quickstart/protected/pages/Fundamentals/HelloWorld.page | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/demos/quickstart/protected/pages/Fundamentals/HelloWorld.page b/demos/quickstart/protected/pages/Fundamentals/HelloWorld.page index d6d497c1..572c6766 100644 --- a/demos/quickstart/protected/pages/Fundamentals/HelloWorld.page +++ b/demos/quickstart/protected/pages/Fundamentals/HelloWorld.page @@ -18,8 +18,14 @@ public function buttonClicked($sender,$param) $sender->Text = "Hello World";
}
</com:TTextHighlighter>
+</p>
+<p>
+The following line in the page template attaches the <tt>buttonClicked()</tt> method to the <tt>OnClick</tt> event of the button,
+</p>
+<com:TTextHighlighter Language="prado" CssClass="source">
+<com:TButton Text="Click Me" OnClick="buttonClicked" />
+</com:TTextHighlighter>
<com:RunBar PagePath="Fundamentals.Samples.HelloWorld.Home" />
-</p>
</com:TContent>
\ No newline at end of file |