Commit Graph

736 Commits

Author SHA1 Message Date
wp_xxyyzz
0d61deccb6 tvplanit: Fix IDE crashing when a TVpResourceCombo is dropped on a form when there is already a datastore on the form.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8714 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-19 14:15:24 +00:00
wp_xxyyzz
3f96acc701 tvplanit: Clear TVpMonthView's event array before painting. See https://forum.lazarus.freepascal.org/index.php/topic,62366.msg471573.html
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8713 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-19 12:30:17 +00:00
wp_xxyyzz
ad4dc0e99a TvPlanIt: Fix missing initialization of TVpCalendar.IsHoliday function result.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8699 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-09 21:40:26 +00:00
wp_xxyyzz
7a5f4c73db TvPlanIt: Fix TVpCalendar crashing due to painting Feb 29, 2023
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8698 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-02-09 21:37:59 +00:00
wp_xxyyzz
98b7bb2e30 TvPlanIt: Workaround for opaque labels issue in Laz 2.2.4.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8692 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-01-18 10:55:52 +00:00
wp_xxyyzz
19b469917e tvplanit: Fix minor details for v1.8.0
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8691 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-01-18 10:29:45 +00:00
wp_xxyyzz
fe1a95db7c tvplanit: Fix display of end date in an all-day event in GanttView. Less hints and warnings.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8684 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-01-16 12:43:17 +00:00
wp_xxyyzz
77b16a5ce6 tvplanit: Fix GanttView crashing with empty datastore.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8682 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-01-16 12:23:11 +00:00
wp_xxyyzz
73ca438b52 tvplanit: Fix BuildTime constant in unit VpConst.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8680 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-01-15 23:02:08 +00:00
wp_xxyyzz
e05862d42d TvPlanit: Fix version number in vpconst to match the package version number.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8668 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2023-01-02 10:23:56 +00:00
wp_xxyyzz
77c9810c0a TvPlanIt: Add event OnPrepareEventFont to TVpDayView, TVpWeekView and TVpMonthView. (https://forum.lazarus.freepascal.org/index.php/topic,61758.0.html).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8667 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-12-31 12:55:15 +00:00
wp_xxyyzz
fcdd876a2b TvPlanIt: Fix incorrect positioning of in-place editor of TVpWeekView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8666 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-12-30 18:36:31 +00:00
wp_xxyyzz
627ea2ff59 TvPlanIt: Fix failure to detect mouse clicks on last way of week in TVpWeekView
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8665 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-12-30 18:27:31 +00:00
wp_xxyyzz
909d164864 TvPlanIt: Same as prev commit with Tasks and Contacts.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8662 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-12-28 22:04:13 +00:00
wp_xxyyzz
4234ecf141 TvPlanIt: Avoid crash when TVpSchedule.DeleteEvent is called with Event=nil.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8661 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-12-28 21:54:06 +00:00
wp_xxyyzz
deede7b752 TvPlanIt: Fix ical import (issue #39047)
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8643 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-12-11 13:08:39 +00:00
wp_xxyyzz
718eacfa3c tvplanit: Fix VpWeekView not storing DayHeadAttributes.DateFormat in lfm file. Issue #39046.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8563 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-17 20:03:14 +00:00
wp_xxyyzz
10b89f8235 tvplanit: Fix crash in print format component editor when the print format contains a GanttView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8562 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-15 13:03:27 +00:00
wp_xxyyzz
bd7a544635 tvplanit: Fix event editor storing new events with ResourceID 0.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8561 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-14 21:26:21 +00:00
wp_xxyyzz
15639aae1a tvplanit: Fix GanttView being unable to select a recurring event.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8560 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-14 21:17:20 +00:00
wp_xxyyzz
063b3a73c3 tvplanit: Fix DayView/etc not showing recurring all-day events beginning/ending at midnight (as created by GanttView).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8559 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-14 21:16:30 +00:00
wp_xxyyzz
4af2571d9f tvplanit: Double-click on GanttView initialized the event editor with a single-day, all-day event.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8556 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-14 10:44:22 +00:00
wp_xxyyzz
4e55432d77 tvplanit: Event editor cannot be closed when the end of recurrence is not specified for an event which is repeated for a limited number of times.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8555 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-13 22:05:52 +00:00
wp_xxyyzz
f102404a6c tvplanit/GanttView: Fix recurring events running beyond Gantt' EndDate.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8554 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-13 22:01:36 +00:00
wp_xxyyzz
23c4602593 tvplanit: Add holiday support to TVpCalendar.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8553 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-13 15:00:41 +00:00
wp_xxyyzz
b7c534c59a tvplanit: Fix crash when a DayView/WeekView/MonthView/GanttView is dropped on an empty form.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8552 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-13 14:43:54 +00:00
wp_xxyyzz
26581143a8 tvplanit: Fix double-click in MonthView not working any more for events beginning in previous month
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8551 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-13 11:40:55 +00:00
wp_xxyyzz
72217cba80 tvplanit: Fix occasional crash of application when alarmdlg is shown. Issue #39043.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8550 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-13 10:28:16 +00:00
wp_xxyyzz
c031477392 tvplanit: Translatable caption of the print format editor form.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8548 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-12 21:53:10 +00:00
wp_xxyyzz
a42b9d4515 tvplanit: Some speedup of print preview generation.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8547 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-12 21:34:23 +00:00
wp_xxyyzz
c314f5b5f3 tvplanit/PrintPreview: Clear preview when all print formats are deleted.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8546 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-12 21:10:54 +00:00
wp_xxyyzz
3cb293895d tvplanit: Fix Ganttview crash at designtime introduced by previous commit.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8544 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-12 17:07:53 +00:00
wp_xxyyzz
8f81cf7a6d tvplanit: Support recurring events in GanttView.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8543 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-12 16:40:15 +00:00
wp_xxyyzz
7630af7726 tvplanit/GanttView: Clip too-long row headers.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8542 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-12 12:36:21 +00:00
wp_xxyyzz
4b311b656d tvplanit: Fix GanttView not displaying last event if fully within last day.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8541 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-12 12:21:30 +00:00
wp_xxyyzz
03e1ff9059 tvplanit: Add "Don't ask again" checkbox to VpPrtFmt editor save prompt by using a TTaskDialog. Update resource strings and translations.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8540 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-12 11:33:16 +00:00
wp_xxyyzz
521c9e0d90 tvplanit: Rename internal monthviewpainter variable.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8539 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-12 11:29:37 +00:00
wp_xxyyzz
029833dbf2 tvplanit: Better variable name for page number in VpPrtPrv
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8538 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-12 11:27:47 +00:00
wp_xxyyzz
d061931e1f tvplanit: Cosmetic changes in VpPrtPrvDlg
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8537 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-12 11:26:53 +00:00
wp_xxyyzz
d78a678e70 tvplanit: Fix layout issues in printing/preview of TVpMonthView (due to navigation buttons missing in print mode).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8536 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-11 21:54:09 +00:00
wp_xxyyzz
d42c10d9af tvplanit: Fix double-click on monthview finding events in wrong month.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8535 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-11 18:12:38 +00:00
wp_xxyyzz
9f05d1ba41 tvplanit: Fix crash in print format editor when print format control is not on form.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8534 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-11 15:43:43 +00:00
wp_xxyyzz
35e35ca544 tvplanit: Fix operation of navigation buttons in Preview dialog for weekview.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8533 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-11 15:24:15 +00:00
wp_xxyyzz
2688b61c26 tvplanit: Improve usability and avoid crashes in PrintFormat element editor.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8532 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-10 22:53:19 +00:00
wp_xxyyzz
7d24ff5ac1 tvplanit: Fix incorrect page size in print preview.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8531 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-10 18:06:26 +00:00
wp_xxyyzz
60fac597bf tvplanit: Fix layout of ContactGrid in case of rotated print formats
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8530 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-09 13:59:56 +00:00
wp_xxyyzz
2c1fbdc6a6 tvplanit: Trying to improve behaviour of arrow keys (not fully successful).
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8529 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-08 23:06:29 +00:00
wp_xxyyzz
66154224a4 tvplanit: Fix scrolling in VpContactGrid.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8528 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-08 21:11:33 +00:00
wp_xxyyzz
07a9b508b9 tvplanit: Disable not used functions.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8527 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-08 18:05:39 +00:00
wp_xxyyzz
736c3abb6c tvplanit: Fix page-breaks when printing contact grid to printer or preview.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8526 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2022-10-08 17:54:44 +00:00