Difference between revisions of "TGDateEdit"
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...") |
|||
(6 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
* '''EM''' for End of current month | * '''EM''' for End of current month | ||
− | A number can be subtracted, | + | A number can be subtracted, so one can enter '''BM-1''' for the beginning of previous month. |
A readonly property returns the actual date. | A readonly property returns the actual date. | ||
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. | ||
+ | |||
+ | == See also == | ||
+ | |||
+ | [[TGDateTimeEdit]] to enter a date AND a time. | ||
+ | |||
+ | [[TGPeriodEdit]] designed for 2 dates (start date and end date). | ||
+ | |||
+ | Other [[Gestinux_util#Visual_components|data entry components]] |
Latest revision as of 18:46, 3 November 2021
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, so one can enter 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.
See also
TGDateTimeEdit to enter a date AND a time.
TGPeriodEdit designed for 2 dates (start date and end date).
Other data entry components