Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently May 17th, 2024, 8:35 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Sample 'pop-up dialogue window for 'Yes' 'No' Exit-publicati
PostPosted: December 21st, 2007, 3:27 pm 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
I wrestled with this a bit.

Trying to create the usual type of pop-up window that has the 'No' button defaulted... so that hitting 'Enter' cancels that prompt. Returns you to the application.

Part of the set-up is to use the Right and Left arrow-keys, or Tab key, to change the highlighted button from 'no' to 'yes'.

So if you're looking for a confirming dialog box, this example is set up for Exit-publication... launches a small, separate pop-up window. Maybe will save you some time.

ps. uses basic page and button actions, with a small amount of script. That script logic probably could be built using non-script approach.

Lar


Attachments:
ExitDialog_sample.zip [20.27 KiB]
Downloaded 882 times

_________________
_good things come to those who wait(0)_


For this message Lar_123 has been thanked by : mackavi
Top
 Profile  
 
 Post subject: How to override 'esc' key
PostPosted: December 21st, 2007, 3:41 pm 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
While this is not the support section, there is a minor note to the sample file included above.

If the User hits 'Esc' when the Exit Page is displayed, he will fully exit the publication. (Normally on a dialog box, 'esc' will execute a 'cancel this request' )

If there is a way to override 'Esc' just for a particular page, would be useful here.

_________________
_good things come to those who wait(0)_


For this message Lar_123 has been thanked by : mackavi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group