Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 6 of 6
  1. #1
    Join Date
    Mar 2005
    Posts
    187

    Timed Dialog w/Button

    Any way to do something like Dialog.TimedMessage() but with an 'ok' button?

    I want to have a dialog popup, but after x amount of seconds have it automatically click the 'ok' (no user response).

    Any thoughts?

  2. #2
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    maybe something like this

    when you call the dialog
    Code:
    Page.StartTimer(5000)
    Dialog.Message("My Window", "Test 1 2 3")
    On Timer Event
    Code:
    Page.StopTimer()
    tblWindows = Window.EnumerateTitles(false)
    for handle, title in tblWindows do
    	if title == "My Window" then
    		Window.Close(handle, CLOSEWND_SENDMESSAGE)
    		break
    	end
    end

  3. #3
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    Here is something I did a while back that may help:

    http://www.indigorose.com/forums/sho...ed+message+box
    Intrigued

  4. #4
    Join Date
    Jul 2002
    Location
    USA
    Posts
    3,959
    Just playing around... but this one shows a countdown.
    Attached Files

  5. #5
    Join Date
    Mar 2005
    Posts
    187
    Ahhh beautiful!!

    Hadn't even thought about changing the title text!!

    Awesome Idea - thanks!

  6. #6
    Join Date
    Dec 2003
    Location
    Location! Location!
    Posts
    6,137
    In some instances you may want to allow for other AMS activity whilst the timed countdown dialog is going on. That is when you may prefer what I put forth. It allows for your AMS application to still function. Both have their place for sure.

    Intrigued

Similar Threads

  1. Example: Showing a Wait Dialog While a Video Loads
    By Adam in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 05-12-2004, 12:59 PM
  2. Displaying a Save As Dialog
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 10-01-2003, 03:53 PM
  3. dialog box
    By elhuevon in forum AutoPlay Media Studio 4.0
    Replies: 1
    Last Post: 09-30-2003, 09:29 AM
  4. Using the Status Dialog Window
    By Desmond in forum AutoPlay Media Studio 5.0 Examples
    Replies: 0
    Last Post: 09-22-2003, 02:52 PM
  5. MDAC dialog box pops up. How to remove it ?
    By weld in forum Setup Factory 6.0
    Replies: 0
    Last Post: 12-11-2002, 07:14 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