Tips and Frequently Asked Questions
Programmatically setting header captions/group captions/custom groups
This planner header shows normal header captions and group captions
Programmatically, this can be set by filling the Planner.Header.Captions and Planner.Header.GroupCaptions stringlists in following way:
with Planner1.Header do begin Captions.Clear; GroupCaptions.Clear; Captions.Add(''); // take first sidebar header section into account Captions.Add('A1'); Captions.Add('A2'); Captions.Add('A3'); GroupCaptions.Add('Group A'); Captions.Add('B1'); Captions.Add('B2'); Captions.Add('B3'); GroupCaptions.Add('Group B'); end;
This is line1
and here line 2
In the example above, the header group size is equal for all groups and is set by the property Planner.PositionGroups. In order to show different group sizes for different columns, the Planner.Header.CustomGroups can be used. To use custom position groups, set Planner.PositionGroups to 1. The code snippet below produces a header with 3 groups with respectively a span of 2 positions, span of 3 positions and span of 1 position:
var i: Integer; begin with planner1.Header do begin CustomGroups.Clear; with CustomGroups.Add do begin Caption := 'Group 1'; Span := 2; end; with CustomGroups.Add do begin Caption := 'Group 2'; Span := 3; end; with CustomGroups.Add do begin Caption := 'Group 3'; Span := 1; end; Captions.Clear; Captions.Add(''); for i := 1 to 6 do Captions.Add('Col '+inttostr(i)); end; 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