Alpha Video Training
Results 1 to 7 of 7

Thread: Calendar Field

  1. #1
    Member
    Real Name
    John Kukuda
    Join Date
    Dec 2004
    Location
    Tampa, FL
    Posts
    488

    Default Calendar Field

    I have a calendar field that works fine when you select it and click on the calendar. I would like to automatically go to that field from the prior field and pop up the calendar, thus saving a mouse click. Anyone know how I can do this with code?

    Thanks

  2. #2
    "Certified" Alphaholic Keith Hubert's Avatar
    Real Name
    Keith Hubert
    Join Date
    Jul 2000
    Location
    London, UK
    Posts
    6,930

    Default Re: Calendar Field

    Hi John,

    You can Tab to a field if you set the Tab order.

    I cant see how to make the calendar pop up on entrance. I think users would eventually find that a bit annoying.
    Regards
    Keith Hubert
    Alpha Guild Member
    London.
    KHDB Management Systems
    Skype = keith.hubert


    For your day-to-day Needs, you Need an Alpha Database!

  3. #3
    Member
    Real Name
    John Kukuda
    Join Date
    Dec 2004
    Location
    Tampa, FL
    Posts
    488

    Default Re: Calendar Field

    Thanks Keith, My users are not smart enough to click on the calendar, so I'd like to pop it up to make it obvious what to do.

  4. #4
    "Certified" Alphaholic
    Real Name
    Mike Christensen
    Join Date
    Nov 2005
    Location
    Michigan U.P.
    Posts
    5,937

    Default Re: Calendar Field

    John,
    Use sys_send_keys("{%DOWN}") in the OnArrive event of the field to have the Calendar (or any drop-down list I believe) pop up. % is the ALT key...DOWN is the down arrow.
    Last edited by MikeC; 11-04-2009 at 03:10 AM. Reason: Only needed {%DOWN} and added more info
    Mike
    __________________________________________
    It is only when we forget all our learning that we begin to know.
    It's not what you look at that matters, it's what you see.
    Henry David Thoreau
    __________________________________________




  5. #5
    Member
    Real Name
    John Kukuda
    Join Date
    Dec 2004
    Location
    Tampa, FL
    Posts
    488

    Default Re: Calendar Field

    Thanks Mike, I was thinking along thos lines but did not know what event to put it in.

  6. #6
    "Certified" Alphaholic G Gabriel's Avatar
    Real Name
    G. Gabriel
    Join Date
    Oct 2004
    Posts
    7,204

    Default Re: Calendar Field

    UI_GET_DATE_CALENDAR()
    is a more elegant way to do this.

  7. #7
    Volunteer Moderator
    Real Name
    Alan Buchholz
    Join Date
    Oct 2000
    Location
    Delavan, Wisconsin
    Posts
    9,657

    Default Re: Calendar Field

    Quote Originally Posted by MikeC View Post
    in the OnArrive event of the field to have the Calendar appear
    Al Buchholz
    Bookwood Systems, LTD
    Weekly QReportBuilder Webinars Thursday 1 pm CST

    Occam's Razor - KISS
    Normalize till it hurts - De-normalize till it works.
    Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
    When we triage a problem it is much easier to read sample systems than to read a mind.

Similar Threads

  1. Calendar Field - can't do it
    By Gberman in forum Alpha Five Version 7
    Replies: 3
    Last Post: 02-01-2007, 11:04 PM
  2. Calendar field
    By Bill Parker in forum Alpha Five Version 7
    Replies: 4
    Last Post: 12-03-2005, 12:13 PM
  3. Calendar field
    By Dannie Mogensen in forum Web Application Server v6
    Replies: 2
    Last Post: 04-04-2005, 02:54 AM
  4. Calendar field type
    By Gil Smith in forum Alpha Five Version 5
    Replies: 14
    Last Post: 07-28-2003, 11:48 AM
  5. Date field to Calendar Field
    By Courtland in forum Alpha Five Version 5
    Replies: 2
    Last Post: 03-13-2003, 02:43 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •