libo1231 发表于 2014-6-9 17:23:00

normal与[naomal]的区别

从其他文档复制到tx编辑器重,什么情况下是normal格式 什么情况下是格式。这个两个格式有什么区别?

libo1231 发表于 2014-6-9 17:36:00

如何保证 tx编辑器中 始终都是格式呢?

iceman 发表于 2014-6-9 18:28:00

回复 2楼libo1231的帖子

浏览模式是通过 TextControl.ViewMode 设置的,代码如下:

                        this.textControl1.ViewMode = TXTextControl.ViewMode.Normal;

请问你是在编辑器中的哪个位置设置的 normal 和 模式,我在 tx textcontrol word 中没有找到:

libo1231 发表于 2014-6-10 08:45:00

把这个word文档中的内容,就会出现那中情况。

iceman 发表于 2014-6-10 18:31:00

回复 4楼libo1231的帖子

两者之间的区别我需要和厂商确认,设置 TX ActiveX 页面浏览模式的方法如下:

Private Sub Command1_Click()
Dim str As String
str = App.Path & "\test.docx"

TXTextControl1.Load str, 0, 13, 0

TXTextControl1.ViewMode = 0

End Sub

libo1231 发表于 2014-6-10 19:34:00

好的 谢谢

iceman 发表于 2014-6-11 13:56:00

回复 6楼libo1231的帖子

嗯,不客气,我这边已经把问题反馈到厂商,有进一步结果通知你。
页: [1]
查看完整版本: normal与[naomal]的区别