CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1
  1. #1
    Join Date
    Jun 2005
    Posts
    66

    weekday selector with datetimepicker

    Hi,

    I want to use a daytimepicker control to choose the interval of an automatical action in my application. This works fine if the user decides for daily action (then the time can be chosen with
    Code:
    dtp.CustomFormat = "HH:mm";
    However if the user decides for a weekly interval only weekdays shall be choosen. With
    Code:
    dtp.CustomFormat = "dddd";
    the day of the week is displayed, but one cannot change it.

    How can I configure this control to show only the days of the week and let the user select it? (dtp.ShowUpDown=true is set)

    Thanks in advance,
    gbr
    Last edited by gbr; July 26th, 2005 at 08:08 AM.

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

Featured