Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共4 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:窗口如何添加一条线段

1楼
sgs 发表于:2012/1/5 17:49:00

Dim nl As WinForm.Line
nl = e.form.CreateControl("line1",ControlTypeEnum.Line)
nl.Ditection = LineDirectionEnum.Vertical
nl.ForeColor = color.black
nl.LineColor= color.red
nl.ThickNess = 5
nl.DashStyle = DashStyleEnum.Dot
nl.Left = 100
nl.Top = 100
e.form.AddControl(nl)

 

咋不起作用呢

2楼
狐狸爸爸 发表于:2012/1/5 18:09:00

没有提供此功能。

3楼
sgs 发表于:2012/1/5 18:41:00

看来帮助要改下,明明写着呢的

CreateControl

用于创建控件,并返回所创建的控件。

语法为:

CreateControl(Name,ControlType)

Name:       控件名称
ControlType:控件类型,ControTypeEnum型枚举,包括以下可选值:

Button
Chart
CheckBox
CheckedComboBox
CheckedListBox
ColorLabel
ComboBox
DateTimePicker
GroupBox
Label
Line
ListBox
NavBar
NumericComboBox
Panel
PictureBox
ProgressBar
RadioButton
SplitContainer
TabControl
TextBox
WebBrowser
Painter
BarCode
FileManager
PictureViewer

4楼
狐狸爸爸 发表于:2012/1/6 8:36:00

收到,不改帮助,改程序。

共4 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .02344 s, 2 queries.