Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2

Thread: Invoice creator

  1. #1
    Join Date
    Nov 2005
    Posts
    3

    Invoice creator

    I am very new to apm6 and I need some help. I am trying to develop an app that will create an invoice for me. I am familiar with flash as but not this script. The first thing that I need to do is to make a calander pop up when I click on the date field on the page. Then auto fill in input filed with the date selected. Last it needs to disapear when you move on to the next field. If you can help please IM me. Any help will be greatly appreciated.

    Thanks to all.

  2. #2
    Join Date
    May 2001
    Location
    51.531249 | -0.610962
    Posts
    1,244
    Hi

    Assuming your calendar is called Plugin1:

    In your input field, put this line in the OnFocus event
    Code:
    Plugin.SetVisible("Plugin1", true);
    In the calendar, put this code in the OnSelect event
    Code:
    selection = Calendar.GetSelection("Plugin1");
    
    if (selection ~= nil) then
    	Input.SetText("Input1", e_StartDate);
    else
    	Dialog.Message("Notice", "There is no date selected.");
    end
    Plugin.SetVisible("Plugin1", false);
    That'll do the trick
    -
    = Derek
    ["All glory comes from daring to begin" - fortune cookie]

Similar Threads

  1. How to insert a slideshow using Roxio CD Creator
    By christywalter in forum AutoPlay Media Studio 4.0
    Replies: 21
    Last Post: 12-06-2002, 06:17 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