Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

There is a method in the QuikFormsEngine class called SetCustomFieldEditor that enables/disables the feature. By default, it is off. This method takes an object of class CustomFieldEditorSettings as parameter. Its properties are described in the table below:

Property

Type

Default Value

Description

ShowButtonboolfalseShows/Hide the button
ButtonTooltipTextstringCreate and manage custom annotations for this form.The tooltip text of the button
ButtonNamestringAnnotationsThe name of the button that is displayed in the form's header


Sample Code

VB.NET

Code Block
languagevb
titleSample Code
Dim customFieldSettings = New CustomFieldEditorSettings()
customFieldSettings.ShowButton = True
customFieldSettings.ButtonName = "Edit Form"
'No Tooltip specified. Let's leave the default value.
objQFE.SetCustomFieldEditor(customFieldSettings)

C#

Code Block
languagec#
titleSample Code
var customFieldSettings = new CustomFieldEditorSettings();
customFieldSettings.ShowButton = true;
customFieldSettings.ButtonName = "Edit Form";
//No Tooltip specified. Let's leave the default value.
objQFE.SetCustomFieldEditor(customFieldSettings);