SftMask/OCX 6.5

SftMaskCalendar.LastDate Property

Softel vdm, Inc.

Defines the last valid date.

Syntax       

Get

VB.NET

Last = object.LastDate  As Date

VB

Last = object.LastDate  As Date

C#.NET

System.DateTime Last = object.LastDate;

VC++

DATE Last = object->LastDate;
DATE Last = object->GetLastDate();

C

HRESULT object->get_LastDate(DATE* Last);

Delphi

Last := object.LastDate   : TDateTime;

Put

VB.NET

object.LastDate = Last  As Date

VB

object.LastDate = Last  As Date

C#.NET

System.DateTime object.LastDate = Last;

VC++

DATE object->LastDate = Last;
void object->PutLastDate(DATE Last);

C

HRESULT object->put_LastDate(DATE Last);

Delphi

object.LastDate := Last   : TDateTime;

object

A SftMaskCalendar object.

Last

Defines the last valid date to be entered or selected by the user.

Comments

The LastDate property defines the last valid date.

The edit control contents are not considered valid (see Contents.Valid) until the date is within the specified range. The user cannot select a date outside of the date range defined using Calendar.FirstDate and LastDate using the popup calendar.

If the date defined using LastDate is prior to the date defined using Calendar.FirstDate, the range LastDate to Calendar.FirstDate is considered the valid range.


Feedback / comments / error reports for this topic
© 2000, 2008 - Softel vdm, Inc. - www.softelvdm.com