FieldCompletionFunction
is an option for InputField that specifies a function to apply to the input field's contents to generate a list of completions.
Details
- The default value of FieldCompletionFunction->Automatic indicates that there will be no completion menu for the input field.
- When a field completion function is specified, the front end will call the function with the current contents of the InputField. If the result of calling the function is a List, then the front end will display the elements of the list in a completion popup menu, which is typically positioned immediately below the input field.
- If the completion function returns an empty list, no menu will be displayed.
- The completion function will be called after every keystroke, even if ContinuousAction->False has been set.
Examples
open allclose allBasic Examples (2)
Applications (2)
Wolfram Research (2017), FieldCompletionFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/FieldCompletionFunction.html.
Text
Wolfram Research (2017), FieldCompletionFunction, Wolfram Language function, https://reference.wolfram.com/language/ref/FieldCompletionFunction.html.
CMS
Wolfram Language. 2017. "FieldCompletionFunction." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FieldCompletionFunction.html.
APA
Wolfram Language. (2017). FieldCompletionFunction. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FieldCompletionFunction.html