Skip to content

Search - cDbCJGridPromptList

Sent to invoke the search dialog in a prompt list

Type: Procedure

Syntax

Procedure Search

Call Example

Send Search

Description

When Search is sent, a modal search dialog appears. You may use this dialog to type in a search target for the selected column. The user may type in text and jump to the first entry starting with that text in the list.

This message is usually bound to a button in your selection list panel.

Object oSearch_bn is a Button
    Set Label to "&Search..."
    Set Location to 116 183
    Set peAnchors to anBottomRight

    Procedure OnClick
        Send Search To oSelList
    End_Procedure

End_Object

When pbAutoSearch is set to True, a search can be invoked automatically simply by typing a character.