Reference · Record · lib.rs
FormWidget Record
No description yet.
struct FormWidget {
var page: UInt32
var index: UInt32
var name: String
var kind: FormFieldKind
var value: String
var checked: Bool
var options: [FormOption]
var readOnly: Bool
var rect: DisplayRect
var label: String
var required: Bool
var dateFormat: String?
var exportValue: String?
}public record FormWidget(
uint page,
uint index,
string name,
FormFieldKind kind,
string value,
bool checked,
FormOption[] options,
bool readOnly,
DisplayRect rect,
string label,
bool required,
string? dateFormat,
string? exportValue
)pub struct FormWidget {
pub page: u32,
pub index: u32,
pub name: String,
pub kind: FormFieldKind,
pub value: String,
pub checked: bool,
pub options: Vec<FormOption>,
pub read_only: bool,
pub rect: DisplayRect,
pub label: String,
pub required: bool,
pub date_format: Option<String>,
pub export_value: Option<String>,
}Fields
| Field | Type | Description |
|---|---|---|
page | u32 | No description yet. |
index | u32 | No description yet. |
name | String | No description yet. |
kind | FormFieldKind | No description yet. |
value | String | No description yet. |
checked | bool | No description yet. |
options | Vec<FormOption> | a choice field's options: the value written and the label shown |
read_only | bool | No description yet. |
rect | DisplayRect | No description yet. |
label | String | what the file calls the field for a person (/TU), else its name |
required | bool | No description yet. |
date_format | Option<String> | a date field's pattern from its own scripts ("mm/dd/yyyy") |
export_value | Option<String> | the value a checkbox or radio writes when on |
Used by
Signatures are generated from the engine’s code. Swift is checked against the generated bindings; C# follows the bindings generator’s naming rules.