Tips and Frequently Asked Questions
Providing an Office 2007 type hint for any control
The TMS components that have built-in support for Office 2007 type hints expose the property OfficeHint with which the hint title, notes, picture and help line can be set. If you want to use an Office 2007 for another standard VCL component or other 3rd party component, you can use the event AdvOfficeHint.OnBeforeShowHint. This sample demonstrates how this can be done. Via the event handler, an Office 2007 hint is set for a TAdvSmoothButton:
procedure TForm1.AdvOfficeHint1BeforeShowHint(Sender: TObject; AControl: TControl; AHintInfo: TAdvHintInfo; var UseOfficeHint: Boolean); begin if AControl = AdvSmoothButton1 then begin UseOfficeHint := true; // set true to tell the TAdvOfficeHint it should display the hint in Office 2007 style AHintInfo.Title := 'Button title'; AHintInfo.Notes.Text := AControl.Hint; AHintInfo.Picture.LoadFromFile(''); // optionally add a hint picture here from file, resource or stream end; end; procedure TForm1.FormCreate(Sender: TObject); begin // set the standard Hint to make sure it shows, this is reused as hint notes AdvSmoothButton1.Hint := 'Smooth button hint'; 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