找回密码
 立即注册

QQ登录

只需一步,快速开始

xtfd4321

注册会员

2

主题

4

帖子

14

积分

注册会员

积分
14
最新发帖
xtfd4321
注册会员   /  发表于:2019-3-20 11:00  /   查看:2667  /  回复:1
我是新手,在做电子病历,看到TXTextControl.DocumentServer.Fields空间中有很多封装的控件,例如CheckBoxContentControl,DropDownListContentControl等。但是我按照说明在txcontrol中增加了这些组件后,却无法点击和下拉,请教一下,我需要设置一下txcontrol的模式吗?怎么设置呢?代码如下:
            DropDownListContentControl dropDown = new DropDownListContentControl();
            dropDown.ListItems.Add(new DropDownListItem("1", "111"));
            textControl1.ApplicationFields.Add(dropDown.ApplicationField);

1 个回复

倒序浏览
Richard.Ma讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2019-3-21 12:15:36
沙发
这个是DocumentServer中的控件,没法用于winform 版本的
回复 使用道具 举报
您需要登录后才可以回帖 登录 | 立即注册
返回顶部