Hello All,
I have now exhausted most combinations of things that seem logical, however
I still can't get the tool tips to work.
What Objects can I place it on. I'm trying to get a tip to appear on
buttons.
# Create Button object - SetCWD
$btnSetCWD = $MainWin->AddButton(
-name => "btnSetCWD",
-text => "Set",
-width => 80,
-height => 23,
-left => 516,
-top => 260,
-tabstop => 1,
-font => $Font,
-tooltips => 1,
);
# Create Tooltip object
$ttipSetCWD = new Win32::GUI::Tooltip(
-parent => $btnSetCWD,
-name => "ttipSetCWD",
-text => "Text to display as tooltip",
);
I have scoured the net for any examples but have not found a worked example
and the Win32::GUI docs are not expansive enough for me to figure it out
(read dumb!).
Has anyone else managed to get this to work?
Chris
|