xtfd4321 发表于 2019-3-20 11:00:59

TXTextControl.DocumentServer.Fields里面的控件怎么编辑?

我是新手,在做电子病历,看到TXTextControl.DocumentServer.Fields空间中有很多封装的控件,例如CheckBoxContentControl,DropDownListContentControl等。但是我按照说明在txcontrol中增加了这些组件后,却无法点击和下拉,请教一下,我需要设置一下txcontrol的模式吗?怎么设置呢?代码如下:
            DropDownListContentControl dropDown = new DropDownListContentControl();
            dropDown.ListItems.Add(new DropDownListItem("1", "111"));
            textControl1.ApplicationFields.Add(dropDown.ApplicationField);

Richard.Ma 发表于 2019-3-21 12:15:36

这个是DocumentServer中的控件,没法用于winform 版本的
页: [1]
查看完整版本: TXTextControl.DocumentServer.Fields里面的控件怎么编辑?