There is a way to disable it though, programmatically.
There's the delAutoCompleteString method on the FormRun class. The name is pretty straight-forward.
We must override the control's textChange method to call it:
public void textChange()
{
super();
// Since we're overriding a control's method, "this" means the instance of the control.
// We could also reference it by its name, if the AutoDeclaration property is Yes.
element.delAutoCompleteString(this);
}
With that single line of code, we can disable the auto complete feature.
No comments:
Post a Comment