Class: cWebSuggestionForm

Properties  Events  Methods    Index of Classes

Web framework form used to create search fields. While typing, suggestions are shown below the form in a list

Hierarchy

cObject
---cWebObject
------cWebBaseUIObject
---------cWebBaseDEOServer
------------cWebBaseControl
---------------cWebBaseDEO
------------------cWebBaseForm
---------------------cWebForm
------------------------cWebSuggestionForm
---------------------------cWebColumnSuggestion

Library: Web Application Class Library

Package: cWebSuggestionForm.pkg

Description

Web framework form used to create search fields. While typing, suggestions are shown below the form in a list.



The suggestion list will pop up as the user types once the number of characters definedby piStartAtChar have been reached. Pressing Ctrl + Space can be used to force the suggestions to display, depending on the setting of pbAllowForce.



The cWebSuggestionForm is a subclass of the regular cWebForm, which means that it also inherits all of that class' features. The suggestion form is highly customizable, supporting multiple columns and, incremental and full text search and multiple sources.

The logic for determining the suggestions shown in the list can be configured by setting the peSuggestionMode property.

You can fully customize suggestions in the OnFindSuggestions event.

If pbFullText is set to True, it will perform a full text search, which is optimized for SQL databases using the DataDictionary SQL filtering API.


Drag and Drop Support

This control can be used as a valid drop target by registering it as such in a cWebDragDropHelper object.

The supported actions for this control are:
- C_WebDropOnControl

This allows the control to accept data dragged from elsewhere in the control (if configured that way) and can also be used to accept files when registered within a cWebDragDropFileHelper.