List Number Column - ShowPrompter Property

Show or hide the prompter

Member of List Number Column (PRIM_LIST.Number)

Data Type - Boolean

Details

The ShowPrompter property controls the appearance of the prompter button for the field.
 
The prompters button can be used in 2 ways.
 
The first is to define a Prompter Visualization within the repository field definition. This links a user defined prompter form to the field definition making it available whenever the field is used on a component.
 
The second is to show the prompter button and then respond to the the PrompterXxx events as required. This is a more flexible alternative allowing the prompt button to be used as en embedded button.

Example

In this example, the prompter button in a Search field is used as the trigger to filter the contents of a list.
Define_Com Class(#Search.Visual) Name(#Search) ... ShowPrompter(True) ComponentVersion(1) ...
 
Evtroutine Handling(#Search.PrompterActivate)
 
   Selectlist Named(#List)
 
      #List.CurrentItem.Visible := (#CustomerName.Contains(#Search) *or (#Search = ""))
 
   Endselect
 
Endroutine

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2