代码拉取完成,页面将自动刷新
//----------------------------------------
// 代码由GenlibVcl工具自动生成。
// Copyright © ying32. All Rights Reserved.
//
//----------------------------------------
package vcl
import (
. "github.com/ying32/govcl/vcl/api"
. "github.com/ying32/govcl/vcl/types"
)
type TPrinterSetupDialog struct {
IComponent
instance uintptr
}
func NewPrinterSetupDialog(owner IComponent) *TPrinterSetupDialog {
p := new(TPrinterSetupDialog)
p.instance = PrinterSetupDialog_Create(CheckPtr(owner))
return p
}
func PrinterSetupDialogFromInst(inst uintptr) *TPrinterSetupDialog {
p := new(TPrinterSetupDialog)
p.instance = inst
return p
}
func PrinterSetupDialogFromObj(obj IObject) *TPrinterSetupDialog {
p := new(TPrinterSetupDialog)
p.instance = CheckPtr(obj)
return p
}
func (p *TPrinterSetupDialog) Free() {
if p.instance != 0 {
PrinterSetupDialog_Free(p.instance)
p.instance = 0
}
}
func (p *TPrinterSetupDialog) Instance() uintptr {
return p.instance
}
func (p *TPrinterSetupDialog) IsValid() bool {
return p.instance != 0
}
func TPrinterSetupDialogClass() TClass {
return PrinterSetupDialog_StaticClassType()
}
func (p *TPrinterSetupDialog) Execute() bool {
return PrinterSetupDialog_Execute(p.instance)
}
func (p *TPrinterSetupDialog) FindComponent(AName string) *TComponent {
return ComponentFromInst(PrinterSetupDialog_FindComponent(p.instance, AName))
}
func (p *TPrinterSetupDialog) GetNamePath() string {
return PrinterSetupDialog_GetNamePath(p.instance)
}
func (p *TPrinterSetupDialog) HasParent() bool {
return PrinterSetupDialog_HasParent(p.instance)
}
func (p *TPrinterSetupDialog) Assign(Source IObject) {
PrinterSetupDialog_Assign(p.instance, CheckPtr(Source))
}
func (p *TPrinterSetupDialog) DisposeOf() {
PrinterSetupDialog_DisposeOf(p.instance)
}
func (p *TPrinterSetupDialog) ClassType() TClass {
return PrinterSetupDialog_ClassType(p.instance)
}
func (p *TPrinterSetupDialog) ClassName() string {
return PrinterSetupDialog_ClassName(p.instance)
}
func (p *TPrinterSetupDialog) InstanceSize() int32 {
return PrinterSetupDialog_InstanceSize(p.instance)
}
func (p *TPrinterSetupDialog) InheritsFrom(AClass TClass) bool {
return PrinterSetupDialog_InheritsFrom(p.instance, AClass)
}
func (p *TPrinterSetupDialog) Equals(Obj IObject) bool {
return PrinterSetupDialog_Equals(p.instance, CheckPtr(Obj))
}
func (p *TPrinterSetupDialog) GetHashCode() int32 {
return PrinterSetupDialog_GetHashCode(p.instance)
}
func (p *TPrinterSetupDialog) ToString() string {
return PrinterSetupDialog_ToString(p.instance)
}
func (p *TPrinterSetupDialog) Handle() HWND {
return PrinterSetupDialog_GetHandle(p.instance)
}
func (p *TPrinterSetupDialog) SetOnClose(fn TNotifyEvent) {
PrinterSetupDialog_SetOnClose(p.instance, fn)
}
func (p *TPrinterSetupDialog) SetOnShow(fn TNotifyEvent) {
PrinterSetupDialog_SetOnShow(p.instance, fn)
}
func (p *TPrinterSetupDialog) ComponentCount() int32 {
return PrinterSetupDialog_GetComponentCount(p.instance)
}
func (p *TPrinterSetupDialog) ComponentIndex() int32 {
return PrinterSetupDialog_GetComponentIndex(p.instance)
}
func (p *TPrinterSetupDialog) SetComponentIndex(value int32) {
PrinterSetupDialog_SetComponentIndex(p.instance, value)
}
func (p *TPrinterSetupDialog) Owner() *TComponent {
return ComponentFromInst(PrinterSetupDialog_GetOwner(p.instance))
}
func (p *TPrinterSetupDialog) Name() string {
return PrinterSetupDialog_GetName(p.instance)
}
func (p *TPrinterSetupDialog) SetName(value string) {
PrinterSetupDialog_SetName(p.instance, value)
}
func (p *TPrinterSetupDialog) Tag() int {
return PrinterSetupDialog_GetTag(p.instance)
}
func (p *TPrinterSetupDialog) SetTag(value int) {
PrinterSetupDialog_SetTag(p.instance, value)
}
func (p *TPrinterSetupDialog) Components(AIndex int32) *TComponent {
return ComponentFromInst(PrinterSetupDialog_GetComponents(p.instance, AIndex))
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。