SftMask/OCX 6.5

SftMaskCalendar.FirstDate Property

Softel vdm, Inc.

Defines the first valid date.

Syntax       

Get

VB.NET

First = object.FirstDate  As Date

VB

First = object.FirstDate  As Date

C#.NET

System.DateTime First = object.FirstDate;

VC++

DATE First = object->FirstDate;
DATE First = object->GetFirstDate();

C

HRESULT object->get_FirstDate(DATE* First);

Delphi

First := object.FirstDate   : TDateTime;

Put

VB.NET

object.FirstDate = First  As Date

VB

object.FirstDate = First  As Date

C#.NET

System.DateTime object.FirstDate = First;

VC++

DATE object->FirstDate = First;
void object->PutFirstDate(DATE First);

C

HRESULT object->put_FirstDate(DATE First);

Delphi

object.FirstDate := First   : TDateTime;

object

A SftMaskCalendar object.

First

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

Comments

The FirstDate property defines the first 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 FirstDate and Calendar.LastDate using the popup calendar.

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


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