Difference between revisions of "TGDateEdit"

From Gestinux Wiki
Jump to navigation Jump to search
(Created page with "This is like a TGEditButton, but the button shows a calendar and a date can be selected. The date can be entered in the TEdit, and some basic checks are performed. In ad...")
 
Line 12: Line 12:
  
 
This should be extended in the future for weeks, months, years...  and the symbol might be translated.
 
This should be extended in the future for weeks, months, years...  and the symbol might be translated.
 +
 +
To enter '''two''' dates, that is a period, there is another, more powerful component [[TGPeriod]].

Revision as of 15:57, 16 January 2013

This is like a TGEditButton, but the button shows a calendar and a date can be selected.

The date can be entered in the TEdit, and some basic checks are performed.

In addition, some symbolic texts can be entered.

  • BM for begin of current month
  • EM for End of current month

A number can be subtracted, like BM-1 for the beginning of previous month. A readonly property returns the actual date.

This should be extended in the future for weeks, months, years... and the symbol might be translated.

To enter two dates, that is a period, there is another, more powerful component TGPeriod.