RSS

WebCalendar 1.1 Released!

22 Jan

 I’ve been working hard to improve the class and, though I’ve said it already, I’m very glad with how it’s turning out. You’ll notice the thumbnail for this post looks rather different from the previous snapshots. That’s because I wanted to show off the calendar’s visual versatility, as well as a couple new features in this version; namely, text color for weekends, and the ability to hide the days of adjacent months. As always, these are changeable in both code and in the property list in the IDE. The other shots looked a bit crazy, but this one I think has a nice, sleeker look — as may be used.

Head over and download it!

So what’s new in Version 1.1:

  1. Header Height — the total height of the header area (i.e. “January 2012″)
  2. Header Padding — padding for the header area to give a little space from surrounding areas
  3. Header Bold — an option as to whether or not the header is drawn as bold
  4. Week Height — the total height of the area for week names
  5. Week Bold — whether or not the names are in bold
  6. Hide Adjacent Months — an option to hide the days of adjacent months
  7. Border Thickness — an “edge” for the entire calendar that exposes the background
  8. Highlight Today — an option to highlight the current date or not
  9. Highlight Color — the color of highlighted days text

Well, I believe that’s it. Honestly I put quite a bit more work into it, so I may have forgotten a change or two. The rest is code changes, optimization and the like. As it’s web based, I’m always trying to find ways of speeding up the drawing process. Fortunately, it’s ultimately just a picture, so the transfer from the server to the client isn’t too bad (depending on the size).

As always, I’m glad for suggestions!

 
6 Comments

Posted by on January 22, 2012 in Open Source Projects, Programming

 

Tags: , , ,

6 Responses to WebCalendar 1.1 Released!

  1. Mike

    February 23, 2012 at 12:17 am

    Your calendar looks great! I would like to try to use if for a site I’m working on. I’m new at this so I was hoping to read your “getting started” notes in your class but I can’t seem to find a link. Is there a possibility you could point me in the right direction? Thanks for any help you can give!

     
    • Jason

      February 23, 2012 at 9:11 am

      Hi Mike!

      Absolutely. The “Getting Started” notes are actually notes within the class itself. Real Studio allows for notes in the same way you would add a method, property, etc. to a class. So open the project in RS, open the WebCalendar class, and look on the left pane for notes.

      Let me know if you have any more questions, or feature requests. :)

       
  2. Roberto

    July 21, 2012 at 5:26 pm

    Hi Jason,

    I am trying to run the project without changing anything, but somehow my RealStudio crashes :( . I just downloaded it, opened it and clicked Run. Do I have to change something before running it?

    Anyway, I am just looking something like a date selector, do you think you calendar can be somehow used like a date picker?

    Thanks!

     
    • Jason

      July 21, 2012 at 7:11 pm

      Hello Roberto,

      Sorry, it’s not working for you. Which version of Real Studio are you using? I’m using 2011r4 and it opens without any issue. :-/

      I designed the class for the purpose of a date selector, actually. The only part missing is the Next/Prev buttons to navigate months. I meant to add them, but unfortunately became busy with other work. You can always drop it in a Web Container, add navigation buttons, and use the Container wherever you’d like. Otherwise, I’ll add it to my list to look into modifying it.

      Hope this helps! :)

       
  3. Roberto

    July 22, 2012 at 10:26 am

    Well, looks like my computer booted with the right foot this morning. Everything is working fine now. Have no idea what was the issue.

    By the time I wrote here I had several hours working on my slightly old laptop (trying to make a date selector myself using a 7 columns ListBox). It was already unusually warm and slow… maybe that was it. I am using openSuSe 12.1 and RS 2011 4.1.

    Doesn’t matter… Your calendar is great by the way.

    Thanks!

     
    • Jason

      July 22, 2012 at 10:38 am

      Ah! I’m glad to hear that! No one likes a moody, overheated computer. :P Honestly, it sounds like something got corrupt when RS opened and you needed to clear the cache — restarting did the trick.

      Thanks! Positive feedback certainly motivates me to improve my work. I’ll see about adding the Prev/Next functions this week. :)

       

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>