Jump to content

Show Hint For Panel Title


mos

Recommended Posts

1 hour ago, MOGSY said:

How can the hint be changed dynamically?

1. 

function afterrender(sender, eOpts)
{
    if (sender.header) {
        sender.headerTip = new Ext.tip.ToolTip({
            target: sender.header,
            html: '<b>H</b>int...'
        });
    }
}

2. 

procedure TMainForm.UniButton1Click(Sender: TObject);
begin
  UniPanel1.JSInterface.JSCall('headerTip.setHtml', ['New hint'])
end;

 

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...