Results 1 to 3 of 3

Thread: BoldDays - TMonthCalendar

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2008
    Posts
    1,260

    BoldDays - TMonthCalendar

    I have written a C++ Builder VCL Forms application with a TMonthCalendar control called TMonthCalendar.

    I am wanting to set some of the days with the control to be bold.

    Here is my current code:

    Code:
    TMonthCalendar->BoldDays([1,8], MonthBoldInfo);
    However, I am getting the following error:

    E2193 Too few parameters in call to '_fastcall TCommonCalendar::BoldDays(unsigned int *,const int,unsigned int &)'
    Can I please have some help to fix this?

    Thanks

  2. #2
    Raging swede Atheist's Avatar
    Join Date
    Aug 2005
    Location
    Sweden
    Posts
    8,018

    Re: BoldDays - TMonthCalendar

    You seem to be passing to few arguments into BoldDays. Do you have any documentation for the TMonthCalendar, and specifically the BoldDays method?
    Rate posts that helped you. I do not reply to PM's with coding questions.
    How to Get Your Questions Answered
    Current project: tunaOS
    Me on.. BitBucket, Google Code, Github (pretty empty)

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2008
    Posts
    1,260

    Re: BoldDays - TMonthCalendar

    Here is a link to the documentation: http://docwiki.embarcadero.com/Libra...OnGetMonthInfo

    I have written the code word for word, yet have errors.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width