pb_button.Powertiptext = "Description1"
... on mouseover "Description1" pops up
pb_button.Powertiptext = "Description2"
... on mouseover "Description2" pops up
In Powerbuilder 10.5.2. 7699 this works fine
But now we have an older project which is under PB 10.0. 5064.
In this version setting the Powertiptext-property at runtime seems to stop
the tooltip function of the picture button.
Only the tiptext set at design time will show up:
Designtime: Powertiptext in the Painter = "Description1"
Runtime:
... on mouseover "Description1" pops up
pb_button.Powertiptext = "Description2"
... on mouseover NOTHING pops up
Messagebox("", pb_button.Powertiptext) says "Description2"
That means that the property is set correctly, but tooltip function stops
working.
Is it a bug in 10.0. 5064?
Does anybody know how to work around this (Upgrading is not possible at this
time)
thank you
Solved the problem! - a simple 'pb_button.enabled = true' in the
mousemove-event did it.
"Martin" <m.kalt...@powersoftware.at> schrieb im Newsbeitrag
news:4af09277@forums-1-dub...
pb_button.PowerTipText = "Hello" + char(13) + char(10) + "There" + char(13)
+ char(10) + "Again"
BTW what OS are you using? WinXP had some general problem with the
tooltips - if you position on a control and stay upon it watching its
tooltip until it disappears, after that if you leave with the mouse (not
upon another tooltipped control) and return the mouse upon the same control,
no tooltip will be shown at all.
Regards,
Ivaylo
"Martin" <m.kalt...@powersoftware.at> wrote in message
news:4af12446$1@forums-1-dub...
--
Regards ... Chris
ISUG - NA RUG Director
Blog: http://chrispollach.pbdjmagazine.com
SourceForge: http://sourceforge.net/projects/stdfndclass
"Martin" <m.kalt...@powersoftware.at> wrote in message
news:4af09277@forums-1-dub...