From 95eae21c1968cb3be2248004ee5364361cebe02d Mon Sep 17 00:00:00 2001 From: David Date: Tue, 10 Mar 2015 21:14:33 +0100 Subject: TJuiDialog --- .../protected/pages/JuiControls/Home.page | 4 ++ .../pages/JuiControls/Samples/TJuiDialog/Home.page | 67 ++++++++++++++++++++++ .../pages/JuiControls/Samples/TJuiDialog/Home.php | 33 +++++++++++ .../protected/pages/JuiControls/Widgets.page | 22 +++++++ 4 files changed, 126 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') diff --git a/demos/quickstart/protected/pages/JuiControls/Home.page b/demos/quickstart/protected/pages/JuiControls/Home.page index 68765faa..3dc81417 100644 --- a/demos/quickstart/protected/pages/JuiControls/Home.page +++ b/demos/quickstart/protected/pages/JuiControls/Home.page @@ -84,6 +84,10 @@ For informations of the specific options of each interaction, follow jQuery-UI I TJuiProgressbar provides a list of suggestions on the current partial word typed in the textbox +
  • + TJuiDialog + displays an movable dialog control +
  • 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 diff --git a/demos/quickstart/protected/pages/JuiControls/Widgets.page b/demos/quickstart/protected/pages/JuiControls/Widgets.page index cedec675..4c74c491 100644 --- a/demos/quickstart/protected/pages/JuiControls/Widgets.page +++ b/demos/quickstart/protected/pages/JuiControls/Widgets.page @@ -48,4 +48,26 @@ When a suggestion is selected the OnSuggestionSelected event is raised,
    + + +

    TJuiDialog

    + -
    jQuery UI API + +

    +TJuiDialog is an extension to TActivePanel based on jQuery-UI's dialog widget. +

    + +

    +TJuiDialog is an extended TActivePanel that shows an dialog. The dialog may contain buttons that can fire callback events. +

    + +

    +The dialog may contain one or more TJuiDialogButton Controls. +The buttons may contain a callback that will be fired when they are clicked. +

    + + + +
    + -- cgit v1.2.3