Announcement

Collapse
No announcement yet.

Exit application and web objects?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Exit application and web objects?

    OK my project is a bunch of web pages (web objects) nothing else and I want to have a button that closes the application. I tried putting a text object with the exit application attribute on/over the web object but it doesn't show up. How can people close the application once they've finished viewing it?

    MontyJ

  • #2
    Re: Exit application and web objects?

    The Web object is going to hid the button. You will not be able to place any button over web objects, media player objects or flash objects.

    You could enable the title bar and have that as an exit button or there is a way to have an exit button in a web page as well.

    You would have a link on your web pages that would point to a specific URL, like exit.html. Then on navigation complete, you can have AMS look for the URL and if that URL equals exit.html you could have AMS perform the Application.Exit actions. I will see if I can find the article on this. I know that there is one.

    Tigg
    TJ-Tigger
    "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
    "Draco dormiens nunquam titillandus."
    Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

    Comment


    • #3
      Re: Exit application and web objects?

      Check out this thread

      TJ-Tigger
      "A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools."
      "Draco dormiens nunquam titillandus."
      Map of IR Forum Users - IR Project CodeViewer - Online Help - TiggTV - QuizEngine

      Comment


      • #4
        Re: Exit application and web objects?

        This is a direct quote from the users guide:

        Some objects don't respond well to Z-Order commands, and will pretty much just ignore any attempts you make to arrange them along the Z axis. (The worst troublemakers are the AVI Video Object, the Media Player Object, the Flash Object, and the Web Browser Object.)

        The reason for this is simply that AutoPlay doesn't have much control over the Z-Order for these objects. They all want to be drawn "on top," and they don't care what any other objects have to say about it. (Technically, the rendering of these objects is handled by their external ActiveX controls, which means that they are constantly being drawn and re-drawn "on top" of the AutoPlay page, after all the more well-behaved AutoPlay objects have already been drawn.)

        Unfortunately, there isn't anything you can do to force a Text Object to appear in front of a Media Player Object (and believe us, we've tried). Even if the Text Object is in front of the Media Player Object in the Z-Order, the Media Player Object will just keep rendering itself in front of the Text Object.

        To ensure that all of your objects display correctly, you should prevent any of these "troublemaker objects" from overlapping on a page:

        AVI Video Object
        Edit Field Object
        Flash Object
        List Box Object
        Media Player Object
        Web Browser Object

        Finally, keep in mind that things can happen differently at run time than they do at design time. There are times when the Z-Order might make things look like a big mess at design time, but still show up fine at run time; and there are situations where everything will look fine at design time, but the objects will start fighting it out at run time. Naturally, how things look at run time is more important, so make sure you test things out vigorously. And don't be afraid to experiment—getting the end result you want may take some trial and error.

        Comment

        Working...
        X