控制提示文本不会弹出 [英] Control Tip Text does not pop up

查看:116
本文介绍了控制提示文本不会弹出的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

朋友,


在我的数据库中,我使用以下代码在一系列命令按钮上设置Caption和ControlTipText属性。我必须这样做,因为根据我们正在做的工作类型,标题和提示可能会改变。

Friends,

In my DB, I use the following code to set the Caption and ControlTipText properties on a series of command buttons. I must do this, because depending on the type of work we are doing, the captions and tips may change.

展开 | 选择 | 换行 | 行号

推荐答案

me.repaint

在V97中为我修复了一个similur问题,我随时都会继续发出这个问题更改标题或其他非文本框。
me.repaint
Fixed a similur issue for me in V97 and I continue to issue this anytime I change a caption or other non-textbox.


Z,


谢谢,但到目前为止没有运气......我''以后要用它来玩更多....
Z,

Thanks, but no luck so far...... I''ll have to play some more with it later....


叹气。

通常有效。

Line 12和13看起来很奇怪...你会确认标签是否从12行改变

还要做一个 debug.print _resolvedcontrolname ___。controltiptext 在第13行之后,其中_resolvedcontrolname ___是一个控件的实际名称,以确保controltiptext已实际更改并且格式正确。有时格式错误的字符串不会出错......相反,它们会被忽略。


我只是在其中一个测试数据库中执行了此操作而没有重新绘制所做的更改和提示显示所以我怀疑它必须与文本如何输入控件提示属性。
sigh.
Usually works.
Lines 12 and 13 look strange... would you confirm that the labels are changing from line 12
Also do a debug.print _resolvedcontrolname___.controltiptext after line 13 where "_resolvedcontrolname___" is the actual name of one of the controls to make sure that the controltiptext has actually changed and is well formed. Sometimes malformed strings won''t error... instead they''re ignored.

I just did this in one of the test databases and without repaint the changes took and the tip would show so I suspect it has to be something with how the text is being entered into the control tip property.


这篇关于控制提示文本不会弹出的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆