Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8528129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T08:44:03+00:00 2026-06-11T08:44:03+00:00

I am trying to customize a date picker to be used in an application,

  • 0

I am trying to customize a date picker to be used in an application, that based on what type of person they are they are limited to a specific date range in the calendar. for example if they were type1 they would be able to select 30 days from the current date and all days before that would be grayed out and all days past the 30 would be grayed out as well. I have searched Google and not come up with anything so any help would be so appreciated.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T08:44:04+00:00Added an answer on June 11, 2026 at 8:44 am

    I’m going to assume you’re using a mx DateChooser component, I’m not familiar with the calendar component in Flash CS6. Either way I’m sure the code is quite similar.

    You can supply a disable date range to the DateChooser component

    <mx:DateChooser id="myDate" />
    

    All you need to do is get the current date, subtract 30 days and set that as the range end.

    var d:Date = new Date(); //current date
    d.date -= 30; //-30 days, yup- its that easy
    myDate.disabledRanges = [ {rangeEnd:d} ] //disabledRanges takes an array of objects 
                                             //with rangeStart and rangeEnd
                                             //you don't need a start date since you want to disable all dates before 30 days ago.
    

    Hope this helps

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im trying tu customize horizontal progress bar in my application. I want it to
I am trying to customize a calendar program (originally written for the iPhone) I
I'm trying to customize a pushpin. For that, I'm setting an ImageBrush for the
I'm trying to customize the javascript that Dashcode uses. So that I won't step
I'm trying to customize that context menu which comes up when you right click
I am trying to customize this script so that instead of a user's recent
I am trying to customize the Event portlet in Plone 3 that shows the
I am trying to customize the controls on my WinForms database application. So far
I am trying to customize this script so that so that onclick #startdatepicker would
I am trying to customize date from my RSS feed to display like how

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.