Skip to content

Class: cWebColumnHighlight

Properties | Events | Methods | Index of Classes

Web Framework grid column control for showing search results

Hierarchy

cObject > cWebBaseObject > cWebObject > cWebBaseUIObject > cWebBaseDEOServer > cWebBaseControl > cWebBaseDEO > cWebBaseForm > cWebForm > cWebColumn > cWebColumnHighlight

Show full hierarchy and direct subclasses

Library: Web Application Class Library

Package: cWebColumnHighlight.pkg

Description

Special column type for showing search results. It will highlight search values on the data displayed inside the column. The psHighlight property can be set to one or more keywords to highlight search results.

Several properties are available to configure how search values are highlighted like pbCaseSensitive, pbFullText and pbSeparateWords.

Object oWebList1 is a cWebList
    Object oCustomer_Customer_Number is a cWebColumn
        Entry_Item Customer.Customer_Number
        Set psCaption to "Number"
        Set piWidth to 173
    End_Object

    Object oCustomer_Name is a cWebColumnHighlight
        Entry_Item Customer.Name
        Set psCaption to "Customer Name"
        Set piWidth to 826
        Set psHighlight to "Access"

    End_Object
End_Object

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.