Tips and Frequently Asked Questions

Position gap area colors
With the new OnPositionGapProp() event in T(DB)Planner, it is now possible to color code particular things in the position gap area. The position gap is enabled with setting Planner.PositionGap to a value different from zero. When this is enabled, the event OnPositionGapProp is triggered and via ABrush & APen properties, the position gap area color can be dynamically changed.
Sample code:
var workhourstart: TDateTime; workhourend: TDateTime; lunchhourstart: TDateTime; lunchhourend: TDateTime; procedure TForm4.FormCreate(Sender: TObject); begin Planner1.PositionGap := 10; workhourstart := EncodeTime(8,0,0,0); workhourend := EncodeTime(17,0,0,0); lunchhourstart := EncodeTime(12,0,0,0); lunchhourend := EncodeTime(13,0,0,0); end; procedure TForm4.Planner1PositionGapProp(Sender: TObject; Position, Index: Integer; ABrush: TBrush; APen: TPen); var dt: TDateTime; begin dt := Frac(Planner1.CellToTime(Position, Index)); if (dt >= workhourstart) and (dt <= workhourend) then begin ABrush.Color := clYellow; APen.Color := clYellow; end; if (dt >= lunchhourstart) and (dt <= lunchhourend) then begin ABrush.Color := clWebOrange; APen.Color := clWebOrange; end; end;

Pricing
Single Developer License
Small Team License
Site License
TMS VCL UI Pack
€ 395
€
175
yearly renewal
license for 1 developer
Includes
check
Full source code
check
Access to the TMS Support Center
check
Free updates and new releases
MOST POPULAR
TMS VCL Subscription
€ 895
€
450
yearly renewal
license for 1 developer
Includes
check
Full source code
check
Access to the TMS Support Center
check
Free updates and new releases
check
TMS VCL UI Pack
check
All TMS VCL products
more_horiz
Discover more
BEST VALUE
TMS ALL-ACCESS
€ 1,795
€
595
yearly renewal
license for 1 developer
Includes
check
Full source code
check
Access to the TMS Support Center
check
Free updates and new releases
check
TMS VCL UI Pack
check
All TMS VCL products
check
All TMS products
more_horiz
Discover more
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
Start a free TMS VCL UI Pack evaluation today!Please enter a valid email address
Download started. Your trial key will be provided by email!
By entering your email address you agree to receive email messages from TMS Software.

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