How can I use the collection FormFieldsCollection in VB6?
You need to declare a variable as variant and then assign editor1.FormFieldsCollection to it. Please see the code sample below:
Private Sub LoadPDF_Click() Dim FieldCollection As Variant Call editor1.open_PDF("c:\RightsEnabled.pdf") FieldCollection = editor1.FormFieldsCollection End Sub
How can I enable or disable the borders of form fields?
To enable the form field borders please call the function enable_borders(True). To disable them call enable_borders(False). For example:
If locktborder = False Then locktborder = True If tborders.Checked = True Then Call editor.enable_borders(False) tborders.Checked = False Else Call editor.enable_borders(True) tborders.Checked = True End If locktborder = False End If