我测试没问题
Dim lbl As WinForm.button
lbl = Forms("窗口1").CreateControl("lable1", ControlTypeEnum.button)
lbl.Text = "Foxtable"
lbl.Left = 100
lbl.Top = 100
lbl.height = 100
lbl.width = 300
lbl.image = getimage("d:\test.ico")
lbl.ImageAlign = ContentAlignment.MiddleLeft
lbl.TextAlign = ContentAlignment.MiddleLeft
lbl.TextImageRelation = TextImageRelation.ImageBeforeText
Forms("窗口1").AddControl(lbl)