更改文本对象的文本。 [英] Change text of Text Object.
本文介绍了更改文本对象的文本。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
亲爱的!
在我的报告中,我设计了一个带有文本和 DataField 的TextObject。当我更改它的文本时,整个TextObject将转换为Text。我想只更改文本,但保留DataField格式在VB.NET中。
示例:
TexboxObject 有2个元素:客户端:{ProjectObjectName} 。我想通过编程更改Client => Customer。但DataField {ProjectObjectName}已更改为文本。
非常感谢提前和
最佳方式
SIBE
Dear all!
In my report, I design a TextObject with Text and DataField. When I change text of it, whole TextObject will be convert to Text. I want to change only the text but keep DataField format in VB.NET.
Example:
The TexboxObject have 2 element: Client: {ProjectObjectName}. I want to change Client =>Customer by programming. But DataField {ProjectObjectName} changed to text.
Many thanks in advance and
best regard
SIBE
推荐答案
你应该使用 datafield
dragdrop datafield
右击它
打开 显示 表达式公式窗口
现在写下你在文本框文本中所做的一切
save&运行
快乐编码!
:)
you should use datafield
dragdrop datafield
right click it
open Display "expression Formula" window
now write whatever you did in textbox text
save & run
Happy Coding!
:)
这篇关于更改文本对象的文本。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文