Hello dele,
--- Ugly workaround 1 ---
@TooltipsOff
local zLength = cl.Length("MyBar")
For(i=0;i<zLength;i=i+1)
MyBarTips[i] = cl.getTooltip("MyBar",i)
cl.setTooltip("MyBar",i,"(none)")
EndFor
quit
@TooltipsOn
local zLength = cl.Length("MyBar")
For(i=0;i<zLength;i=i+1)
cl.setTooltip("MyBar",i,MyBarTips[i])
EndFor
quit
Note: when tooltips are set on in the properties for the whole bar,
if the tooltip field of an individual field is empty, then PP makes
a tooltip from the item's commands.
To show no tooltip for an item, it must be set to: (none)
--- Ugly workaround 2 ---
Make two new command lists, called TooltipsOn and TooltipsOff.
They are never shown as a bar or menu.
Their only purpose is to be a store for sets of properties.
Setting up:
Set tooltips on in MyBar, then execute:
cl.CopyProperties("MyBar","TooltipsOn")
Set tooltips off in MyBar, then execute:
cl.CopyProperties("MyBar","TooltipsOff")
Usage:
To turn them on:
cl.CopyProperties("TooltipsOn","MyBar")
To turn them off:
cl.CopyProperties("TooltipsOff","MyBar")
You may need cl.Refresh("MyBar") or cl.Redisplay("MyBar")
after copying the properties.
Attention: PowerPro's Web site has moved: http://www.ppro.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/power-pro/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/