combit List & Label 25 - .NET Online Web Help
ParameterAutoComplete Event


combit.ListLabel25 Namespace > DesignerFunction Class : ParameterAutoComplete Event

Via ParameterAutoComplete, it is possible to give different recommended values to the AutoComplete feature of the formula assistant.

Syntax
'Declaration
 
Public Event ParameterAutoComplete As ParameterAutoCompleteHandler
public event ParameterAutoCompleteHandler ParameterAutoComplete
public:
event ParameterAutoCompleteHandler^ ParameterAutoComplete
Event Data

The event handler receives an argument of type ParameterAutoCompleteEventArgs containing data related to this event. The following ParameterAutoCompleteEventArgs properties provide information specific to this event.

PropertyDescription

The index of the respective parameter.

 
Use Values.Add to define a new auto complete value.  
Example
private void designerFunction1_ParameterAutoComplete(object sender, ParameterAutoCompleteEventArgs e)

{

     for(int i = 1; i<=20; i++)

          e.Values.Add(i.ToString());

}
Requirements

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also