summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page')
-rw-r--r--tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page48
1 files changed, 48 insertions, 0 deletions
diff --git a/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page
new file mode 100644
index 00000000..93658bd7
--- /dev/null
+++ b/tests/FunctionalTests/active-controls/protected/pages/AutoCompleteTest.page
@@ -0,0 +1,48 @@
+<com:TForm ID="form1">
+
+ <style>
+ .autocomplete
+ {
+ border:1px solid #919EA9;
+ background-color:white;
+ }
+ .autocomplete ul, .autocomplete li
+ {
+ margin: 0;
+ padding: 0;
+ list-style: none;
+ font-size: 12px;
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ color: #333;
+ }
+
+ .autocomplete li
+ {
+ padding: 4px;
+ border-top: 1px solid #ccc;
+ }
+ .autocomplete .selected
+ {
+ background-color: #ffc;
+ }
+ </style>
+
+ <h1>TAutoComplete Test</h1>
+
+ <com:TAutoComplete Style="width: 20em"
+ OnCallback="suggestCountries"
+ Separator=", "
+ ResultPanel.CssClass="autocomplete" />
+
+ <p><br /></p>
+ <p><br /></p>
+ <p><br /></p>
+ <p><br /></p>
+ <p><br /></p>
+ <p><br /></p>
+ <p><br /></p>
+ <p><br /></p>
+ <p><br /></p>
+ <p><br /></p>
+ <com:TJavascriptLogger />
+</com:TForm> \ No newline at end of file