Applies an EditMask based on the DateOrder for the control.
Source position: editbtn.pas line 628
protected procedure TDateEdit.SetDateMask; virtual; |
SetDateMask is a method used to update the EditMask for the control. It also updates the internal member where a FormatDateTime-compatible format string is stored. The mask value is determined by the DateOrder property, and uses the following TDateOrder and edit mask values:
SetDateMask retrieves and re-applies the current value in Date after the EditMask has been changed. This forces the display value in Text to be updated.
SetDateMask is called when a new value is assigned to the DateOrder property.
|
Controls the display order for Year, Month, and Day parts of the Date value. |
|
|
Contains the TDateTime value for the control. |
|
|
CT Web help |
CodeTyphon Studio |