visual representation of a function, button, edit field or something else Note: in the rare case of the stringButton, bClick items is used above the items defined here

interface OperViewEl {
    _hint?: string;
    _tooltip?: string;
    _translation?: string;
    bElement?: HTMLElement;
    down?: boolean;
    enabled?: boolean;
    icon?: string;
    label?: string | boolean;
    location?: fitemLocType;
    menuItems?: OperViewEl[];
    name: string;
    obj?: object;
    order?: string;
    primary?: boolean;
    shortcut?: string;
    style?: string | object;
    type?: "" | "stringButton" | "fileUpload";
    visible?: boolean;
}

Hierarchy (view full)

Properties

_hint?: string
_tooltip?: string
_translation?: string
bElement?: HTMLElement

Link to the element that represents object, HTMLButtonElement or HTMLInputElement (for fulltext search)

down?: boolean
enabled?: boolean
icon?: string
label?: string | boolean

Optinonal commands about label false - no label is printed string - string to translate (used instead of fieldname) true - does not affects functionality (useless) evaluaated - (=obj.enumVal('x')) --- should return translated value, result is not translated. Remember that obj is empty (nevertheless defined) for new object

location?: fitemLocType
menuItems?: OperViewEl[]

Optional menu items under the button

name: string
obj?: object

Optional object linked with button

order?: string

optional element order

primary?: boolean

Buttons marked as primary buttons ... se the button description for detail. Should be used directly in the button description, not in the mehtod

shortcut?: string

Optional shortcut

style?: string | object

Optional link to the style objet with more precise visual definition

type?: "" | "stringButton" | "fileUpload"

Optional type that should be accepted by the drawing routine. Currently only supports stringButton that allow acompany button on the filterLine with the string field

  • stringButtons - used for string filters
  • fileUpload - used for command button that upload a file - supported by buttonLine that setup the style from fileUpload command name
visible?: boolean