From 78d82290a076ea1da6da7f8a5bd0297eb7584db5 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Wed, 1 Jun 2011 20:35:06 +0000 Subject: added documentation for TActiveImage class --- .../protected/pages/ActiveControls/ActiveImage.page | 16 ++++++++++++++++ .../protected/pages/ActiveControls/Home.page | 2 +- .../Samples/TActiveImage/HelloWorld.html | 8 ++++++++ .../ActiveControls/Samples/TActiveImage/Home.page | 20 ++++++++++++++++++++ .../ActiveControls/Samples/TActiveImage/Home.php | 17 +++++++++++++++++ .../Samples/TActiveImage/hello_world.gif | Bin 0 -> 1602 bytes .../Samples/TActiveImage/hello_world2.gif | Bin 0 -> 662 bytes 7 files changed, 62 insertions(+), 1 deletion(-) create mode 100644 demos/quickstart/protected/pages/ActiveControls/ActiveImage.page create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/HelloWorld.html create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/Home.page create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/Home.php create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/hello_world.gif create mode 100644 demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/hello_world2.gif (limited to 'demos/quickstart') diff --git a/demos/quickstart/protected/pages/ActiveControls/ActiveImage.page b/demos/quickstart/protected/pages/ActiveControls/ActiveImage.page new file mode 100644 index 00000000..8cce8c9e --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/ActiveImage.page @@ -0,0 +1,16 @@ + + +

TActiveImage

+ + +

+TActiveImage is the active control counter part to TImage. TActiveImage displays an image on a page. The image is specified via the ImageUrl property which takes a relative or absolute URL to the image file. The alignment of the image displayed is set by the ImageAlign property. To set alternate text or long description of the image, use AlternateText or DescriptionUrl, respectively. +

+ +

+TActiveImage allows the AlternateText, ImageAlign, ImageUrl +and DescriptionUrl to be updated during a callback request. +

+ + +
$Id$
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/ActiveControls/Home.page b/demos/quickstart/protected/pages/ActiveControls/Home.page index 62d79cb8..2b6fdac2 100644 --- a/demos/quickstart/protected/pages/ActiveControls/Home.page +++ b/demos/quickstart/protected/pages/ActiveControls/Home.page @@ -43,7 +43,7 @@ TActiveButton control. See also the later part of the TActiveImage + TActiveImage represents an image on a Web page. diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/HelloWorld.html b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/HelloWorld.html new file mode 100644 index 00000000..3a319a1b --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/HelloWorld.html @@ -0,0 +1,8 @@ + + +Hello World! + + +This is Hello World long description file! + + \ No newline at end of file diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/Home.page b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/Home.page new file mode 100644 index 00000000..02cc3446 --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/Home.page @@ -0,0 +1,20 @@ + + +

TActiveImage Samples

+ + + + + +
+ImageUrl being changed on callback request: + + + AlternateText="Hello World!"/> + + +
+ +
$Id$
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/Home.php b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/Home.php new file mode 100644 index 00000000..3628ad0a --- /dev/null +++ b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/Home.php @@ -0,0 +1,17 @@ +imageTest->ImageUrl=$this->publishAsset("hello_world.gif"); + } + + public function buttonClicked2($sender, $param) + { + $this->imageTest->ImageUrl=$this->publishAsset("hello_world2.gif"); + } +} + +?> \ No newline at end of file diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/hello_world.gif b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/hello_world.gif new file mode 100644 index 00000000..bc81443c Binary files /dev/null and b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/hello_world.gif differ diff --git a/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/hello_world2.gif b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/hello_world2.gif new file mode 100644 index 00000000..a8c73cf6 Binary files /dev/null and b/demos/quickstart/protected/pages/ActiveControls/Samples/TActiveImage/hello_world2.gif differ -- cgit v1.2.3