Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 14 of 14
  1. #1
    Join Date
    Jun 2008
    Posts
    38

    Calendar with image's

    just wondered.... as i was searching
    for different use of the calendar plugin.

    would this be possable and if any of the great
    coders on here could show how this can be done




    have the image change on the first day of each month
    from a selection of images stored in the image folder
    numbered 001 002 003...........

    as i want to use images of me n my girlfriend
    for our desktop calendar.
    and i think this would look quite good.

    please n thanks for any / all the help
    i i an def no coder no mater how
    easy apms is some things i can do
    but most things i cant.....

    so thanks.....
    Attached Files

  2. #2
    Join Date
    Aug 2003
    Posts
    2,427
    I've never used the calendar plugin but I had a little play and it seems fairly straightforward. Assuming your images are numbered 01 to 12.jpg, then in the calendar plug in on month select event you could use something like -

    Code:
    month = String.Right(e_SelMonthYear, 2);
    Image.Load("Image1", "AutoPlay\\Images\\"..month..".jpg");
    However, I noticed a problem and after a quick search on the forum and I found this post. The month selection *MUST* be by clicking on the month and using the drop down list. The arrows don't fire the event.

    It's a start anyway, you'd have to expand the code obviously. I don't know if selecting the month programmatically would work.
    Last edited by longedge; 12-19-2008 at 10:03 AM.

  3. #3
    Join Date
    Jul 2002
    Location
    Just South of Reality
    Posts
    778

    options

    If you are looking to change the picture based on scrolling through the calendar, then you can use longedge approach.

    However, if you only want to change the image on the first day of each month, the System.GetDate(4) will return a string MM for the current month, then you don't even need to use the calendar plugin for determining the image. You could add a mini-slideshow of all images (lots of options there).

  4. #4
    Join Date
    Aug 2003
    Posts
    2,427
    Quote Originally Posted by holtgrewe View Post
    If you are looking to change the picture based on scrolling through the calendar, then you can use longedge approach.

    However, if you only want to change the image on the first day of each month, the System.GetDate(4) will return a string MM for the current month, then you don't even need to use the calendar plugin for determining the image. You could add a mini-slideshow of all images (lots of options there).
    Don't go with my suggestion - holtgrewe's make much more sense. I'm still playing with the calendar at the moment and I know now why I've never used it

  5. #5
    Join Date
    Feb 2008
    Location
    Western Pennsylvania
    Posts
    555

    Grin Hmm

    I totally Love This Idea!! I'm not quite getting how to do this..
    the System.GetDate(4) will return a string MM for the current month
    ???

    Sry..

  6. #6
    Join Date
    Aug 2003
    Posts
    2,427
    OK well I'm fed up now of trying to do this within AMS - (if I was doing this I'd probably do it with a flash object).

    The updated example loads the correct image for the current month at startup (as per holtgrewe's suggestion) and then if you select a different month by clicking on the month and selecting from the choices it also loads the correct month image.

    If you use the arrows right and left to select a different month it won't work until you select a day in that month. The arrows don't fire the select event!!

    @ JDog37 - System.GetDate(4) is exactly the same as System.GetDate(DATE_FMT_MONTH). What is it that you don't get? Have a look in the on show of the attached example.

  7. #7
    Join Date
    Jun 2008
    Posts
    38
    thanks for the info / help guys..

    i have added a simple diary function
    taken from another sample on the forum.






    what else do you think it needs..
    add to it and post the .apz file back..
    Attached Files
    Last edited by brisk; 12-20-2008 at 02:33 PM.

  8. #8
    Join Date
    Feb 2008
    Location
    Western Pennsylvania
    Posts
    555

    Thumbs up Nice

    This a nice example. I'm going to work on some graphics for it if anyone wants to check them out... I take tons of photos, so I will add some for the months.

    The diary is a nice touch. Good job guys!

  9. #9
    Join Date
    Feb 2007
    Location
    Australia
    Posts
    201
    Nice Work

  10. #10
    Join Date
    Feb 2008
    Location
    Western Pennsylvania
    Posts
    555

    Grin Any way to use..

    Is there a way to use the exact .apz but.. to be able to pick from a brows box and upload your own images and still change with the month?? That would Kick A@!...

    Joe

  11. #11
    Join Date
    Feb 2008
    Location
    Western Pennsylvania
    Posts
    555

    Grin Is this poss..

    Can this be done? (check Pic) I'v looked at the properties and cant find anything on the forum about it. I just want to change the gray backing color behind the MONTHS to black.. If not i there a way to build a calendar with images??????

    Thank you,
    Joe
    Attached Images

  12. #12
    Join Date
    Oct 2008
    Location
    UK - Midlands
    Posts
    63
    Yes and No!

    You can certainly change the calendar plugin properties so most of the background is black (see attached) but no way - so far as I know - of changing the "header" colour.

    If you need/want to have all black and decide to start from scratch then there may well be other and easier ways to do it but the approach I took was by using a grid, the excellent DateDiff plugin and a lot of code!

    Hope that helps


    TTJ
    Last edited by TopicTJ; 01-18-2010 at 08:43 AM.

  13. #13
    Join Date
    Feb 2008
    Location
    Western Pennsylvania
    Posts
    555

    Grin Question

    I was wondering if this is poss to do & how...

    The picture that comes up for the selected month that I choose.. can that also be the background as well as the selected month picture?? I posted what i mean.

    Thank you for any help in advance!
    Attached Images

  14. #14
    Join Date
    May 2006
    Posts
    5,380
    Hey Joe, i seem to remember there being some bug with the page background properties function where the image was not being set, not sure if its been fixed or not

    the standard work-around (for then) was to set a image as the background and uncheck its "Enabled" checkbox on the properties sheet, this way you can still move the window from clicking/dragging the image


    See, i can be nice too (just not all the time)
    Open your eyes to Narcissism, Don't let her destroy your life!!

Similar Threads

  1. HELP! still 16 pages, 167 kbs in images = 30 meg project?
    By publishers in forum Autorun MAX! 2.1 Discussion
    Replies: 5
    Last Post: 09-08-2006, 07:10 PM
  2. Calendar Plugin questions and suggestions
    By Roboblue in forum AutoPlay Media Studio 6.0
    Replies: 1
    Last Post: 03-28-2006, 09:49 PM
  3. Example: Creating Animated Images
    By Corey in forum AutoPlay Media Studio 5.0 Examples
    Replies: 1
    Last Post: 03-04-2006, 12:44 AM
  4. How to align images ?
    By RAZS in forum AutoPlay Menu Studio 3.0
    Replies: 2
    Last Post: 12-14-2001, 08:36 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