Re: Week Number to Calendar
- From: "Maarten Wiltink" <maarten@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 25 Aug 2005 13:44:55 +0200
"UN" <ukko_noa@xxxxxxxxxxxxxxxxxxx> wrote in message
news:dejvug$c7n$1@xxxxxxxxxxxxxxxxxxxxx
> From the Delphi help I understood that it is possible to get the
> week number to the 'DatePicker' -component's calendar setting the
> property weeknumber := true. In the Object Inspector, however, there
> is not such a property.
Correct. The Object Inspector displays only published properties.
You can derive your own class from TDateTimePicker, publish the
property in it, register it with the IDE, and use it instead of
TDateTimePicker in your programs.
If it were public, you could change it in code. It being protected
means that only descendant classes are supposed to be messing with
it.
Groetjes,
Maarten Wiltink
.
- Follow-Ups:
- Re: Week Number to Calendar
- From: Sven Ratzlaff
- Re: Week Number to Calendar
- References:
- Week Number to Calendar
- From: UN
- Week Number to Calendar
- Prev by Date: Week Number to Calendar
- Next by Date: Re: Week Number to Calendar
- Previous by thread: Week Number to Calendar
- Next by thread: Re: Week Number to Calendar
- Index(es):