Commit Graph

41 Commits

Author SHA1 Message Date
5514aca70f tvplanit: Fix sqlite3 and firebird datastores crashing due to non-specified database names. Fix double-click in VpWeekView to use correct date. Fix some compilation issues of demos.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6791 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2019-01-15 22:14:01 +00:00
da23bd4405 tvplanit: Cosmetic changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6513 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-20 05:28:45 +00:00
5706fa833b tvplanit: Import event category from ical file.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6501 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-16 23:07:26 +00:00
9ce59d21d5 tvplanit: Remove calls to DoubleBuffered in the units (flicker fixed in Laz trunk)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6455 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-06-04 10:36:57 +00:00
3043e953cc tvplanit: Provide image list for the dayview icons.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6436 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-18 09:47:36 +00:00
4cb75a89cc tvplanit: Add additional parameters "IsNewEvent", "IsNewContact", "IsNewTask" to the events "OnOwnerEditEvent", "OnOwnerEditContact" and "OnOwnerEditTask" of TVpDayView/TVpWeekView/TVpMontView, TVpContactGrid and TVpTaskList, respectively (extended patch by linux-man, issue #33750).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6429 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2018-05-17 15:37:37 +00:00
f8435f112c tvplanit: Add new fields (email1..3, website1..2, address1..2, pathtophoto) to contact records. Update some demos.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5164 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-15 11:40:14 +00:00
f436b26383 tvplanit: Fix fulldemo with resource groups crashing due to nil resources.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5161 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-14 22:39:33 +00:00
cd23d554eb tvplanit: Add property ShowDetails to resource groups in order to control the level of detail visible for overlayed events.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5152 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-11 13:35:19 +00:00
54087cb1f1 tvplanit: Fix crash (with heaptrace on) due to incomplete Notification. Cosmetic changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5149 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-10 20:26:10 +00:00
e6b0f403d5 tvplanit: Improve assignment of resource group to resource.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5146 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-10 18:27:50 +00:00
981bf5d3a4 tvplanit: Show multiple resources in dayview (some issues).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5144 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-10 15:09:23 +00:00
2899adfc3e tvplanit: Refactor datastore's LoadEvents (new method LoadEventsOfResource)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5141 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-10 12:32:15 +00:00
4ae3cd2751 tvplanit: Cosmetic changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5139 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-10 11:43:54 +00:00
ab1d9ee4dc tvplanit: Fix mormotdemo not being updated after changed dataset.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5125 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-02 23:28:09 +00:00
d582c8663f tvplanit: Simplify linking of runtime created datastores to dependent controls.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5121 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-09-02 16:31:27 +00:00
ea6895c8e3 tvplanit: Add drag&drop of events (patch by forum user DonAlfredo). Update maindemo. Fix memory leak in button width calculation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5103 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-26 13:33:45 +00:00
82f445a910 tvplanit: Make properties Achors, BorderSpacing and ChildSizing available for TVpResourceCombob and TVpPrintFormatCombobox. Improved, high-dpi aware layout of print preview form.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5076 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-08-05 22:34:24 +00:00
f45723d6cf tvplanit: Some clean-up, some cosmetic changes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4957 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-14 16:13:22 +00:00
d616eba746 tvplanit: Less hints and warnings. Cosmetic changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4941 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-12 18:00:32 +00:00
8cebf7fdb9 tvplanit: Misc
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4909 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-04 15:53:06 +00:00
32e02ae41e tvplanit: Fix white stripe appearing at the right of dayview print preview. Some refactoring and clean-up.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4905 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-07-03 20:30:06 +00:00
f268a8663b tvplanit: Fix recurring events being hidden or in wrong order because DayView's and WeekViews' temporary event lists are not correctly sorted.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4873 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-30 18:45:39 +00:00
82e258bdb7 tvplanit: Call notification when City-state-zip format is changed. Some improvements in "demo" projects.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4867 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 13:55:10 +00:00
9be9d8a4b8 tvplanit: New TVpControlLink property CityStateZip defining the country-dependant order and structure of the city-state-zip part of the address.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4866 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 13:22:33 +00:00
ae8fecb42d tvplanit: Display birthdate in contact edit dialog. Fix localization file not being found if its name contains the wrong path delimiter.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4865 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-29 11:02:25 +00:00
e2c8f958b2 tvplanit: declare IDs as Integer again, not Int64 - causing too much trouble with TVpIniDataStore
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4853 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-28 13:43:32 +00:00
7d184408a7 tvplanit: Remove all "uses messages" (implies "uses Windows")
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4798 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-22 07:59:17 +00:00
e122be6b59 tvplanit: Fix missing change notification of TaskEditDialog. Fix hang of ZeosDatastore in SetConnected.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4763 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-17 21:29:44 +00:00
726606df8c tvplanit: In WavDlg play sound asynchronously and add option to turn it off.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4746 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-14 10:38:28 +00:00
8c34f2a85a tvplanit: New datastore property MediaFolder (TWavDlg looks here for sound files)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4744 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-14 09:08:12 +00:00
4688f2e91d tvplanit: Introduce new datastore event OnPlaySound in order to play alarm sounds on non-Windows systems. If not assigned on Windows the mmsystem routine is used.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4736 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-13 09:53:36 +00:00
968af22828 tvplanit: Consistent field mappings.
Changed PlanIt field names: 
 Contacts: 
    Position -> Job_Position 
 Events: 
    AlarmAdv -> AlarmAdvance
    AlarmAdvType -> AlarmAdvanceType
    CustInterval -> CustomInterval.

Previous changes: 
 Resource: 
    Active --> ResourceActive
 Events: 
    AlarmWavPath --> DingPath
    Note --> Notes 
    Location (new);
 Contacts:
    Note --> Notes

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4725 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-12 12:53:26 +00:00
820fb20097 tvplanit: Add a datastore (TVpBufDSDatastore) for TBufDataset.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4719 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-11 22:52:48 +00:00
ecf7b634a1 tvplanit: Fix exception raised when demo program ends (by using up-to-date access to TList).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4688 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-07 22:52:16 +00:00
04c64776ef tvplanit: Make the results of all calls to GetNextID an Int64 (for consistency with AddResource etc.).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4686 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-07 17:56:21 +00:00
ff069969f1 tvplanit: Add missing BaseDatastore and FlexDatastore to package. Some cosmetics.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4682 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2016-06-07 15:09:01 +00:00
d433a47a64 Several Changes from me in meantime
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2538 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2012-09-24 19:30:17 +00:00
3f7fa819e2 ctl3d removed
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@700 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2009-02-06 06:16:36 +00:00
160abc712d some small fixes
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@348 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-02-10 19:17:45 +00:00
c1641e380d Initial import
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@338 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2008-02-03 12:05:55 +00:00