Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2004
    Posts
    313

    Function QueryAllowProjectClose()

    Hi all,

    After Function QueryAllowProjectClose() what do i put if the program is never to close?

    I tried false, false; end

    Just can't seem to work it out.

    Please help.

    Thanks

  2. #2
    SUF6NEWBIE Guest
    HI ..are you wanting to STOP the user from having ability to EXIT
    your application...please givemore information..

    there are ways to place 'environment controls' as to under what
    conditions the Aplication can be closed etc. and they
    can be driven 'inside the --QueryAllowProjectClose() function

    eg: you can advise the user - the App is doing something Do Ya wanna Close Now ?

    eg: system checks or APP run conditions were not satisfied..
    you can 'bypass' and enforce application exit...immediate or via user notification (timed message) for eg

    eg: you can simply ask the user to confirm application.exit


    Also note that if you Close the App via 'Close window Terminate' ,
    any code in the 'Shutdown actions' will Not be performed...


    return false;
    if no other controls are in place, generally will return to the
    Apps current action or next next line in your code

    return true;
    triggers the application to exit
    Last edited by SUF6NEWBIE; 08-19-2004 at 06:09 PM.

Similar Threads

  1. Function: TableSum and TableAverage
    By Darryl in forum AutoPlay Media Studio 5.0 Examples
    Replies: 1
    Last Post: 08-29-2004, 01:59 PM
  2. Bizarre Callback Function Behaviour - Can anyone help?
    By SRJ in forum AutoPlay Media Studio 5.0
    Replies: 3
    Last Post: 06-30-2004, 09:16 PM
  3. Function: Test Whether An Input Object Is Empty
    By Lorne in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 06-08-2004, 02:18 PM
  4. Function: Increase/Decrease Audio Playback Volume
    By Adam in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 05-31-2004, 02:28 PM
  5. Function: Resize & Center an Image
    By kpsmith in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 05-17-2004, 01:36 PM

Posting Permissions

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