Vcl.Samples.Calendar.TCalendar.ChangeMonth

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure ChangeMonth(Delta: Integer);

C++

void __fastcall ChangeMonth(int Delta);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
Vcl.Samples.Calendar.pas
Vcl.Samples.Calendar.hpp
Vcl.Samples.Calendar TCalendar

Description

Advances or retrogrades a month based on the given Delta.

The ChangeMonth method is internally used by the NextMonth and PrevMonth methods to advance or retrograde a month. The Delta parameter can be either 1 or -1. A value of 1 will advance the current month while a value of -1 will retrograde the current month.

See Also