Rss & SiteMap

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

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

标题:动态增加SplitContainer错误,求解

1楼
hongye 发表于:2024/12/8 0:29:00
Dim Page1 As WinForm.NavPage
Dim SC1 As WinForm.SplitContainer
SC1 = e.Form.CreateControl("SContainer1", ControlTypeEnum.SplitContainer)
SC1.Dock = 5
Page1.AddControl(SC1)
Dim SpC1 As WinForm.SplitContainer = SC1
SpC1.BorderStyle = BorderStyle.Fixed3D
SpC1.Orientation = 0
SpC1.IsSplitterFixed = True
SpC1.SplitterWidth = 4
SpC1.SplitterDistance = (SpC1.Height - SpC1.SplitterWidth) / 6 * 5.2
SpC1.BackColor = Color.Transparent
这代码在停靠窗口没问题,但是当窗口改成共有窗口时就会发生错误
请帮忙看看怎么错了

图片点击可在新窗口打开查看此主题相关图片如下:截屏图片.jpg
图片点击可在新窗口打开查看

2楼
有点蓝 发表于:2024/12/8 20:13:00
我测试没有问题,请上传实例说明
共2 条记录, 每页显示 10 条, 页签: [1]

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

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