Tips and Frequently Asked Questions
Destroy an alert message on anchor click
The code presented here shows an alert message and the TAdvAlertWindow.OnAnchorClick is used to handle the click on the anchor in the alert from where the message is destroyed.
begin with AdvAlertWindow1.AlertMessages.Add do begin Text.Text := 'This is an alert with HTML formatted text and anchor.'; AdvAlertWindow1.Show; end; end; procedure TForm2.AdvAlertWindow1AnchorClick(Sender: TObject; Anchor: string; Item: TMsgCollectionItem); begin AdvAlertWindow1.AlertMessages.FindItemID(item.ID).Free; ShowMessage('Anchor clicked'); end;
procedure TForm2.AdvAlertWindow1AnchorClick(Sender: TObject; Anchor: string; Item: TMsgCollectionItem); begin AdvAlertWindow1.AlertWindow.Hide; ShowMessage('Anchor clicked'); end;
Pricing
Single Developer License
Small Team License
Site License
TMS VCL UI Pack
€ 375
€
150
yearly renewal
license for 1 developer
MOST POPULAR
BEST VALUE
All prices excl. VAT. Renewal price is subject to change and only valid up to 30 days after license has expired. After renewal period a discount price is offered to renew the license.
Free Trial
Note that the TMS VCL UI Pack replaces the TMS Component Pack. Both products can't be installed simultaneously. Therefore TMS Component Pack must first be uninstalled before installing the TMS VCL UI Pack