Documentation
¶
Index ¶
- type CheckBoxDataControl
- type ComboBoxDataControl
- type CommandButtonControl
- func (_bgg *CommandButtonControl) GetBackColor() uint32
- func (_gee *CommandButtonControl) GetCaption() string
- func (_be *CommandButtonControl) GetForeColor() uint32
- func (_aab *CommandButtonControl) GetHeight() uint32
- func (_cfb *CommandButtonControl) GetWidth() uint32
- func (_ace *CommandButtonControl) SetBackColor(backColor uint32)
- func (_ddb *CommandButtonControl) SetCaption(caption string)
- func (_ab *CommandButtonControl) SetForeColor(foreColor uint32)
- func (_feb *CommandButtonControl) SetHeight(height uint32)
- func (_ed *CommandButtonControl) SetWidth(width uint32)
- type Control
- type ControlChoice
- type FmPictureAlignment
- type FmPictureSizeMode
- type ImageControl
- type LabelControl
- func (_daff *LabelControl) GetBackColor() uint32
- func (_gbe *LabelControl) GetCaption() string
- func (_eaf *LabelControl) GetForeColor() uint32
- func (_afa *LabelControl) GetHeight() uint32
- func (_gcbf *LabelControl) GetWidth() uint32
- func (_dccd *LabelControl) SetBackColor(backColor uint32)
- func (_gbd *LabelControl) SetCaption(caption string)
- func (_ebe *LabelControl) SetForeColor(foreColor uint32)
- func (_dgde *LabelControl) SetHeight(height uint32)
- func (_debd *LabelControl) SetWidth(width uint32)
- type ListBoxDataControl
- type OptionButtonDataControl
- type ScrollBarControl
- func (_dedc *ScrollBarControl) GetBackColor() uint32
- func (_fcbb *ScrollBarControl) GetForeColor() uint32
- func (_eeag *ScrollBarControl) GetHeight() uint32
- func (_cfef *ScrollBarControl) GetMax() int32
- func (_bbbg *ScrollBarControl) GetMin() int32
- func (_bfcb *ScrollBarControl) GetPosition() int32
- func (_gabd *ScrollBarControl) GetWidth() uint32
- func (_fcbd *ScrollBarControl) SetBackColor(backColor uint32)
- func (_bggg *ScrollBarControl) SetForeColor(foreColor uint32)
- func (_agggf *ScrollBarControl) SetHeight(height uint32)
- func (_agff *ScrollBarControl) SetMax(max int32)
- func (_cced *ScrollBarControl) SetMin(min int32)
- func (_dabb *ScrollBarControl) SetPosition(position int32)
- func (_ddc *ScrollBarControl) SetWidth(width uint32)
- type SpinButtonControl
- func (_aaga *SpinButtonControl) GetBackColor() uint32
- func (_egfd *SpinButtonControl) GetForeColor() uint32
- func (_daadf *SpinButtonControl) GetHeight() uint32
- func (_cgdeg *SpinButtonControl) GetMax() int32
- func (_edcf *SpinButtonControl) GetMin() int32
- func (_fgga *SpinButtonControl) GetPosition() int32
- func (_cdbf *SpinButtonControl) GetWidth() uint32
- func (_agfa *SpinButtonControl) SetBackColor(backColor uint32)
- func (_ffga *SpinButtonControl) SetForeColor(foreColor uint32)
- func (_feae *SpinButtonControl) SetHeight(height uint32)
- func (_abaf *SpinButtonControl) SetMax(max int32)
- func (_bacf *SpinButtonControl) SetMin(min int32)
- func (_accge *SpinButtonControl) SetPosition(position int32)
- func (_dbaa *SpinButtonControl) SetWidth(width uint32)
- type TextBoxDataControl
- type ToggleButtonDataControl
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CheckBoxDataControl ¶
type CheckBoxDataControl struct {
// contains filtered or unexported fields
}
CheckBoxDataControl is a representation of a check box ActiveX form.
type ComboBoxDataControl ¶
type ComboBoxDataControl struct {
// contains filtered or unexported fields
}
ComboBoxDataControl is a representation of a combo box ActiveX form.
type CommandButtonControl ¶
type CommandButtonControl struct {
// contains filtered or unexported fields
}
CommandButtonControl is a representation of a commandButton ActiveX form.
func (*CommandButtonControl) GetBackColor ¶
func (_bgg *CommandButtonControl) GetBackColor() uint32
GetBackColor gets a button text color value for a system palette from a commandButton control.
func (*CommandButtonControl) GetCaption ¶
func (_gee *CommandButtonControl) GetCaption() string
GetCaption gets a caption string from a commandButton control.
func (*CommandButtonControl) GetForeColor ¶
func (_be *CommandButtonControl) GetForeColor() uint32
GetForeColor gets a button text color value for a system palette from a commandButton control.
func (*CommandButtonControl) GetHeight ¶
func (_aab *CommandButtonControl) GetHeight() uint32
GetHeight returns height of the CommandButton in HIMETRIC (0.01mm)
func (*CommandButtonControl) GetWidth ¶
func (_cfb *CommandButtonControl) GetWidth() uint32
GetWidth returns width of the CommandButton in HIMETRIC (0.01mm)
func (*CommandButtonControl) SetBackColor ¶
func (_ace *CommandButtonControl) SetBackColor(backColor uint32)
SetBackColor sets a button text color value from a system palette for a commandButton control.
func (*CommandButtonControl) SetCaption ¶
func (_ddb *CommandButtonControl) SetCaption(caption string)
SetCaption sets a caption string for a commandButton control.
func (*CommandButtonControl) SetForeColor ¶
func (_ab *CommandButtonControl) SetForeColor(foreColor uint32)
SetForeColor sets a button text color value from a system palette for a commandButton control.
func (*CommandButtonControl) SetHeight ¶
func (_feb *CommandButtonControl) SetHeight(height uint32)
SetHeight sets height of the CommandButton in HIMETRIC (0.01mm)
func (*CommandButtonControl) SetWidth ¶
func (_ed *CommandButtonControl) SetWidth(width uint32)
SetWidth sets width of the CommandButton in HIMETRIC (0.01mm)
type Control ¶
type Control struct {
TargetAttr string
Ocx *_gd.Ocx
Choice *ControlChoice
// contains filtered or unexported fields
}
Control represents an ActiveX control wrapper.
func ImportFromFile ¶
ImportFromFile makes a Control from a file in a storage.
func (*Control) ExportToByteArray ¶
ExportToByteArray makes a byte array from a control as it is stored in .bin files.
type ControlChoice ¶
type ControlChoice struct {
CheckBox *CheckBoxDataControl
TextBox *TextBoxDataControl
ListBox *ListBoxDataControl
ComboBox *ComboBoxDataControl
OptionButton *OptionButtonDataControl
ToggleButton *ToggleButtonDataControl
Label *LabelControl
Image *ImageControl
SpinButton *SpinButtonControl
CommandButton *CommandButtonControl
ScrollBar *ScrollBarControl
// contains filtered or unexported fields
}
ControlChoice represents an ActiveX control inside a wrapper.
type FmPictureAlignment ¶
type FmPictureAlignment byte
FmPictureAlignment represents one of the five picture aignments according to MS-OFORMS document.
const ( FmPictureAlignmentTopLeft FmPictureAlignment = iota FmPictureAlignmentTopRight FmPictureAlignmentCenter FmPictureAlignmentBottomLeft FmPictureAlignmentBottomRight )
type FmPictureSizeMode ¶
type FmPictureSizeMode byte
FmPictureSizeMode represents one of the three picture size modes according to MS-OFORMS document.
const ( FmPictureSizeModeClip FmPictureSizeMode = iota FmPictureSizeModeStretch FmPictureSizeModeZoom )
type ImageControl ¶
type ImageControl struct {
// contains filtered or unexported fields
}
ImageControl is a representation of an image ActiveX form.
type LabelControl ¶
type LabelControl struct {
// contains filtered or unexported fields
}
LabelControl is a representation of a label ActiveX form.
func (*LabelControl) GetBackColor ¶
func (_daff *LabelControl) GetBackColor() uint32
GetBackColor gets a button text color value for a system palette from a label control.
func (*LabelControl) GetCaption ¶
func (_gbe *LabelControl) GetCaption() string
GetCaption gets a caption string from a label control.
func (*LabelControl) GetForeColor ¶
func (_eaf *LabelControl) GetForeColor() uint32
GetForeColor gets a button text color value for a system palette from a label control.
func (*LabelControl) GetHeight ¶
func (_afa *LabelControl) GetHeight() uint32
GetHeight returns height of the Label in HIMETRIC (0.01mm)
func (*LabelControl) GetWidth ¶
func (_gcbf *LabelControl) GetWidth() uint32
GetWidth returns width of the Label in HIMETRIC (0.01mm)
func (*LabelControl) SetBackColor ¶
func (_dccd *LabelControl) SetBackColor(backColor uint32)
SetBackColor sets a button text color value from a system palette for a label control.
func (*LabelControl) SetCaption ¶
func (_gbd *LabelControl) SetCaption(caption string)
SetCaption sets a caption string for a label control.
func (*LabelControl) SetForeColor ¶
func (_ebe *LabelControl) SetForeColor(foreColor uint32)
SetForeColor sets a button text color value from a system palette for a label control.
func (*LabelControl) SetHeight ¶
func (_dgde *LabelControl) SetHeight(height uint32)
SetHeight sets height of the Label in HIMETRIC (0.01mm)
func (*LabelControl) SetWidth ¶
func (_debd *LabelControl) SetWidth(width uint32)
SetWidth sets width of the Label in HIMETRIC (0.01mm)
type ListBoxDataControl ¶
type ListBoxDataControl struct {
// contains filtered or unexported fields
}
ListBoxDataControl is a representation of a list box ActiveX form.
type OptionButtonDataControl ¶
type OptionButtonDataControl struct {
// contains filtered or unexported fields
}
OptionButtonDataControl is a representation of an option button ActiveX form.
type ScrollBarControl ¶
type ScrollBarControl struct {
// contains filtered or unexported fields
}
ScrollBarControl is a representation of a scrollBar ActiveX form.
func (*ScrollBarControl) GetBackColor ¶
func (_dedc *ScrollBarControl) GetBackColor() uint32
GetBackColor gets a button text color value for a system palette from a scrollBar control.
func (*ScrollBarControl) GetForeColor ¶
func (_fcbb *ScrollBarControl) GetForeColor() uint32
GetForeColor gets a button text color value for a system palette from a scrollBar control.
func (*ScrollBarControl) GetHeight ¶
func (_eeag *ScrollBarControl) GetHeight() uint32
GetHeight returns height of the ScrollBar in HIMETRIC (0.01mm)
func (*ScrollBarControl) GetMax ¶
func (_cfef *ScrollBarControl) GetMax() int32
GetMax gets a button max value.
func (*ScrollBarControl) GetMin ¶
func (_bbbg *ScrollBarControl) GetMin() int32
GetMin gets a button min value.
func (*ScrollBarControl) GetPosition ¶
func (_bfcb *ScrollBarControl) GetPosition() int32
GetPosition gets a button position value.
func (*ScrollBarControl) GetWidth ¶
func (_gabd *ScrollBarControl) GetWidth() uint32
GetWidth returns width of the ScrollBar in HIMETRIC (0.01mm)
func (*ScrollBarControl) SetBackColor ¶
func (_fcbd *ScrollBarControl) SetBackColor(backColor uint32)
SetBackColor sets a button text color value from a system palette for a scrollBar control.
func (*ScrollBarControl) SetForeColor ¶
func (_bggg *ScrollBarControl) SetForeColor(foreColor uint32)
SetForeColor sets a button text color value from a system palette for a scrollBar control.
func (*ScrollBarControl) SetHeight ¶
func (_agggf *ScrollBarControl) SetHeight(height uint32)
SetHeight sets height of the ScrollBar in HIMETRIC (0.01mm)
func (*ScrollBarControl) SetMax ¶
func (_agff *ScrollBarControl) SetMax(max int32)
SetMax sets a button max value.
func (*ScrollBarControl) SetMin ¶
func (_cced *ScrollBarControl) SetMin(min int32)
SetMin sets a button min value.
func (*ScrollBarControl) SetPosition ¶
func (_dabb *ScrollBarControl) SetPosition(position int32)
SetPosition sets a button position value.
func (*ScrollBarControl) SetWidth ¶
func (_ddc *ScrollBarControl) SetWidth(width uint32)
SetWidth sets width of the ScrollBar in HIMETRIC (0.01mm)
type SpinButtonControl ¶
type SpinButtonControl struct {
// contains filtered or unexported fields
}
SpinButtonControl is a representation of a spinButton ActiveX form.
func (*SpinButtonControl) GetBackColor ¶
func (_aaga *SpinButtonControl) GetBackColor() uint32
GetBackColor gets a button text color value for a system palette from a spinButton control.
func (*SpinButtonControl) GetForeColor ¶
func (_egfd *SpinButtonControl) GetForeColor() uint32
GetForeColor gets a button text color value for a system palette from a spinButton control.
func (*SpinButtonControl) GetHeight ¶
func (_daadf *SpinButtonControl) GetHeight() uint32
GetHeight returns height of the SpinButton in HIMETRIC (0.01mm)
func (*SpinButtonControl) GetMax ¶
func (_cgdeg *SpinButtonControl) GetMax() int32
GetMax gets a button max value.
func (*SpinButtonControl) GetMin ¶
func (_edcf *SpinButtonControl) GetMin() int32
GetMin gets a button min value.
func (*SpinButtonControl) GetPosition ¶
func (_fgga *SpinButtonControl) GetPosition() int32
GetPosition gets a button position value.
func (*SpinButtonControl) GetWidth ¶
func (_cdbf *SpinButtonControl) GetWidth() uint32
GetWidth returns width of the SpinButton in HIMETRIC (0.01mm)
func (*SpinButtonControl) SetBackColor ¶
func (_agfa *SpinButtonControl) SetBackColor(backColor uint32)
SetBackColor sets a button text color value from a system palette for a spinButton control.
func (*SpinButtonControl) SetForeColor ¶
func (_ffga *SpinButtonControl) SetForeColor(foreColor uint32)
SetForeColor sets a button text color value from a system palette for a spinButton control.
func (*SpinButtonControl) SetHeight ¶
func (_feae *SpinButtonControl) SetHeight(height uint32)
SetHeight sets height of the SpinButton in HIMETRIC (0.01mm)
func (*SpinButtonControl) SetMax ¶
func (_abaf *SpinButtonControl) SetMax(max int32)
SetMax sets a button max value.
func (*SpinButtonControl) SetMin ¶
func (_bacf *SpinButtonControl) SetMin(min int32)
SetMin sets a button min value.
func (*SpinButtonControl) SetPosition ¶
func (_accge *SpinButtonControl) SetPosition(position int32)
SetPosition sets a button position value.
func (*SpinButtonControl) SetWidth ¶
func (_dbaa *SpinButtonControl) SetWidth(width uint32)
SetWidth sets width of the SpinButton in HIMETRIC (0.01mm)
type TextBoxDataControl ¶
type TextBoxDataControl struct {
// contains filtered or unexported fields
}
TextBoxDataControl is a representation of a text box ActiveX form.
type ToggleButtonDataControl ¶
type ToggleButtonDataControl struct {
// contains filtered or unexported fields
}
ToggleButtonDataControl is a representation of a toggle button ActiveX form.