From 95eae21c1968cb3be2248004ee5364361cebe02d Mon Sep 17 00:00:00 2001 From: David Date: Tue, 10 Mar 2015 21:14:33 +0100 Subject: TJuiDialog --- .../pages/JuiControls/Samples/TJuiDialog/Home.page | 67 ++++++++++++++++++++++ .../pages/JuiControls/Samples/TJuiDialog/Home.php | 33 +++++++++++ 2 files changed, 100 insertions(+) create mode 100644 demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.page create mode 100644 demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.php (limited to 'demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog') diff --git a/demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.page b/demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.page new file mode 100644 index 00000000..6a9df446 --- /dev/null +++ b/demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.page @@ -0,0 +1,67 @@ + +

TJuiDialog Samples

+ + + + + + + + + + + +
+Simple Dialog: + + + + This is a simple Dialog + +
+Modal dialog: + + + + This is a modal dialog + + +
+Dialog with buttons: + + + + This is a dialog with buttons. + + + + + +
+ +
diff --git a/demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.php b/demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.php new file mode 100644 index 00000000..f9d1e3a9 --- /dev/null +++ b/demos/quickstart/protected/pages/JuiControls/Samples/TJuiDialog/Home.php @@ -0,0 +1,33 @@ +dlg1->open(); + } + + public function bt2Click($sender, $param) + { + $this->dlg2->open(); + } + + public function bt3Click($sender, $param) + { + $this->dlg3->open(); + } + + public function dlg3Ok($sender, $param) + { + $this->lbl3->Text="Button Ok clicked"; + $this->dlg3->close(); + } + + public function dlg3Cancel($sender, $param) + { + $this->lbl3->Text="Button Cancel clicked"; + $this->dlg3->close(); + } + +} \ No newline at end of file -- cgit v1.2.3