【问题标题】:pass statusbar text to dxAlertWindowManager1将状态栏文本传递给 dxAlertWindowManager1
【发布时间】:2015-02-03 12:25:05
【问题描述】:

如何将 AdvOfficeStatusBar1.Panels[0].Text 传递给 dxAlertWindowManager1?

我想要一个类似的显示器:

dxAlertWindowManager1.Show('问候语', 'AdvOfficeStatusBar1.Panels[0].Text' , 0);

【问题讨论】:

  • 呃,把'AdvOfficeStatusBar1.Panels[0].Text'换成AdvOfficeStatusBar1.Panels[0].Text
  • 奇怪的事情......我第一次在表单显示上尝试它(就像你建议的那样)它没有工作......然后我意识到表单在查询获得结果之前显示在状态酒吧。所以第一次运行的时候一直报错。现在我意识到问题出在哪里了。谢谢大卫,您可以将以上内容作为答案发布。

标签: delphi devexpress tms


【解决方案1】:

简单替换

'AdvOfficeStatusBar1.Panels[0].Text' 

AdvOfficeStatusBar1.Panels[0].Text

前者是字符串文字,后者是产生状态栏文本的表达式。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2015-04-17
    • 2019-03-08
    • 2019-02-17
    • 2020-10-29
    • 1970-01-01
    • 2021-09-09
    • 2019-06-25
    • 2023-03-10
    相关资源
    最近更新 更多