You've already forked lazarus-ccr
tvplanit: Adjust visibility of DayView variables and methods. Cosmetic changes.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8412 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -1160,14 +1160,14 @@ var
|
||||
begin
|
||||
{ size and place the Today button first. }
|
||||
with TVpDayViewOpener(FDayView) do begin
|
||||
dvDayUpBtn.Visible := FShowNavButtons;
|
||||
dvDayDownBtn.Visible := FShowNavButtons;
|
||||
dvTodayBtn.Visible := FShowNavButtons;
|
||||
dvWeekUpBtn.Visible := FShowNavButtons;
|
||||
dvWeekDownBtn.Visible := FShowNavButtons;
|
||||
dvDayUpBtn.Visible := ShowNavButtons;
|
||||
dvDayDownBtn.Visible := ShowNavButtons;
|
||||
dvTodayBtn.Visible := ShowNavButtons;
|
||||
dvWeekUpBtn.Visible := ShowNavButtons;
|
||||
dvWeekDownBtn.Visible := ShowNavButtons;
|
||||
|
||||
{ In order to hide the nav btns in designmode move them out of their parent }
|
||||
if (csDesigning in ComponentState) and not FShowNavButtons then begin
|
||||
if (csDesigning in ComponentState) and not ShowNavButtons then begin
|
||||
dvTodayBtn.Left := -Width;
|
||||
dvWeekDownBtn.Left := -Width;
|
||||
dvWeekUpBtn.Left := -Width;
|
||||
|
Reference in New Issue
Block a user