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


combit.ListLabel24 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 Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also