tms planner

Download TMS Planner

Post on 16-Apr-2015

285 views

Category:

Documents

0 download

Embed Size (px)

DESCRIPTION

TMS Components for planning

TRANSCRIPT

TMS SOFTWARE TPLANNER - TDBPLANNER DEVELOPERS GUIDE

TMS TPLANNER TDBPLANNER DEVELOPERS GUIDE

Documentation: January, 2011 Copyright 1999 2011 by tmssoftware.com bvba Web: http://www.tmssoftware.com Email : info@tmssoftware.com 1|Page

TMS SOFTWARE TPLANNER - TDBPLANNER DEVELOPERS GUIDE

Table of contentsTable of contents ......................................................................................................2 Welcome ................................................................................................................4 TPlanner / TDBPlanner availability .................................................................................5 VCL versions .........................................................................................................5 Web planner solutions ................................................................................................6 TPlanner / TDBPlanner use ..........................................................................................7 TPlanner / TDBPlanner organisation ...............................................................................8 Non visual organisation of TPlanner / TDBPlanner ...........................................................8 Visual organisation of TPlanner / TDBPlanner ................................................................8 Settings of TPlanner / TDBPlanner visual elements ........................................................... 11 TPlanner Caption ................................................................................................. 11 TPlanner Header .................................................................................................. 11 TPlanner navigator buttons ..................................................................................... 15 TPlanner Sidebar ................................................................................................. 15 Non visible item indicators in the sidebar ................................................................... 18 TPlanner footer ................................................................................................... 19 TPlanner position display control .............................................................................. 20 TPlanner modes ................................................................................................... 21 TPlanner time axis display control ............................................................................ 23 Inside the TPlannerItem ............................................................................................ 26 TPlannerItem position control ................................................................................. 26 Overlapping TPlannerItems ..................................................................................... 27 Using TPlannerItems in 3 dimensions ......................................................................... 28 Controlling moving and sizing of TPlannerItems at runtime .............................................. 29 Editing items with popup editor or inplace editor ......................................................... 29 Other properties that control the PlannerItem appearance .............................................. 31 Displaying multiple images in the TPlannerItem caption ................................................. 33 Using HTML formatted text in a TPlannerItem .............................................................. 33 HTML formatting related events ............................................................................... 36 Highlighting & marking text in TPlannerItems ............................................................. 37 Using TPlannerItem alarms ..................................................................................... 38 TPlannerItem objects ............................................................................................ 40 Using a custom TPlannerItem class............................................................................ 41 The TPlannerItems collection ..................................................................................... 44 Searching items in the planner ................................................................................ 44 Item selection in the planner .................................................................................. 45 Clipboard support ................................................................................................ 46 Moving, sizing & removing items .............................................................................. 46 Saving and loading items in non data-aware TPlanner ........................................................ 48 Printing of the TPlanner component ............................................................................. 49 Saving the TPlanner to HTML ...................................................................................... 51 Saving the TPlanner to a bitmap .................................................................................. 52 Drag & drop in TPlanner ............................................................................................ 53 Planner themes ...................................................................................................... 56 Export & import of TPlannerItems ................................................................................ 58 Additional TPlanner / TDBPlanner methods and properties ................................................. 60 Cell selection ...................................................................................................... 60 Cells, mouse coordinates and TPlannerItems ............................................................... 61 Position handling ................................................................................................. 62 Position properties ............................................................................................... 62 Balloon tooltips ................................................................................................... 64 TDBPlanner architecture ........................................................................................... 65 Database requirements ............................................................................................. 67 2|Page

TMS SOFTWARE TPLANNER - TDBPLANNER DEVELOPERS GUIDE

Setting up TDBPlanner, TDBItemSource and the database ................................................... 69 Performance guidelines ............................................................................................. 71 TDBPlanner and database synchronisation ...................................................................... 72 The standard TDBItemSource components ...................................................................... 73 TDBDaySource ..................................................................................................... 73 TDBMonthSource .................................................................................................. 74 TDBPeriodSource ................................................................................................. 75 TDBHalfDayPeriodSource ........................................................................................ 75 TDBActiveDayPeriodSource ..................................................................................... 75 TDBMultiMonthSource............................................................................................ 75 TDBTimeLineSource .............................................................................................. 75 TDBDisjunctDaySource ........................................................................................... 75 TDBActiveDaySource ............................................................................................. 76 Using the TDBItemSource.ResourceMap ...................................................................... 76 Using a ResourceDataSource ................................................................................... 77 Writing custom database interface components ............................................................ 77 Using SQL to update/delete/insert Planner Items ......................................................... 78 Using HTML templates in items in TDBPlanner .............................................................. 78 TBDPlanner Recurrency support .................................................................................. 80 Frequency .......................................................................................................... 81 Interval ............................................................................................................. 81 Count ............................................................................................................... 81 Until ................................................................................................................ 81 ByDay, ByMonth ................................................................................................... 81 Optional specifier for ByDay .................................................................................... 82 Exceptions ......................................................................................................... 82 Working directly with recurrency ............................................................................. 82 Advanced TPlanner / TDBPlanner techniques .................................................................. 84 Linking TPlannerItems ........................................................................................... 84 Setting background color for individual grid cells ..............................