Alpha Video Training
Results 1 to 2 of 2

Thread: Escaping from containers

  1. #1
    Member Martin's Avatar
    Real Name
    Martin Wolff
    Join Date
    Sep 2001
    Location
    England
    Posts
    376

    Default Escaping from containers

    Hello again,

    I've attached various pieces of code to containers for general validation/checking. These work well; a user, for instance, types in an invalid code, date or whatever, and a nice box pops up explainign what's wrong. If the user corrects the mistake we move on, happily, to the next field. I am having throuble, though, when the user simply decides he doesn't want to continue now (it's lunchtime, he's decided to hand in his resignation, his girlfriend's just 'phoned with some interesting suggestions, etc., etc.) and just wants to close down the system and get the hell out of there.

    What's the best, most elegant, way to escape "Can Depart" code when the user has typed in something which forbids departure but just wants out?

    Thanks, as ever.

  2. #2
    "Certified" Alphaholic
    Real Name
    Tom Cone Jr
    Join Date
    Apr 2000
    Location
    Florida
    Posts
    23,312

    Default RE: Escaping from containers

    Martin,

    Some events are amazingly tenacious. If I faced your situation I'd consider using OnDepart, instead of CanDepart. Send the user back to the field if it fails validation, otherwise let them move on.

    -- tom

Similar Threads

  1. Escaping a active script
    By PCS in forum Alpha Five Version 5
    Replies: 5
    Last Post: 03-25-2004, 09:18 AM
  2. Escaping a active script
    By PCS in forum Alpha Five Version 5
    Replies: 0
    Last Post: 03-24-2004, 11:19 AM
  3. Escaping from a query.
    By Steve Pick in forum Alpha Five Version 5
    Replies: 3
    Last Post: 02-03-2003, 09:17 AM
  4. "Escaping" from a form
    By Martin in forum Alpha Five Version 4
    Replies: 2
    Last Post: 05-14-2002, 06:36 AM

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
  •