<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
I have a table that is in "Show changes" mode and I would like to use tooltip to show the original value of a cell.<br><br>Table's SEL_QUERY_TIP is not triggered anymore once something is selected. So I'm thinking to use SEL_SELECTED to capture the event and trigger tooltip manually. However, I haven't been quite successful triggering it.<br><br>(with added access to tooltip)<br><br><br>mytable.connect SEL_SELECTED do |sender, selector, pos|<br> @current_old_value = somehow_get_old_value_for_cell_at pos<br> app.getTooltip.handle mytable, FXSEL(SEL_COMMAND, FXToolTip::ID_TIP_SHOW), nil<br>end<br><br>mytable.connect SEL_QUERY_TIP do |sender, selector, ptr|<br> sender.text = @current_old_value<br>end<br><br><br>I'm partially successful. The tooltip shows up but only for a fraction of a second. And it doesn't show up again when the same cell or any cell is selected. The SEL_SELECTED event definitely occur when I click the cell. Any idea how to trigger tool tip manually?<br><br>Thank you in advance<br>-andre<br><br /><hr />Windows Live™: Keep your life in sync. <a href='http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009' target='_new'>Check it out.</a></body>
</html>