How to attract attention and keep an open dialogue?

Hello

I have a dialog that must have informed parameters.

If the user forgets something, I want to draw attention to him and keep an open dialogue.

My 'code' is:

if (w.show() == 1){
     if settings not filled in, alert and exit();
     do work
}else{ exit() }

The problem is that this way, the dialog box closes and the user must rerun the script.

So, I made a function onClick for the OK button that checks these settings and alerts if missing.

However, the main function now not get executed! Press ok does nothing (apart from the verification).

So I tried to call the main function of the onClick function...

but then I get an error message "cannot process the request because a modal dialog box or the alert is active"

What is the correct way to do it?

How can I alert him if something is missing, but keep open dialogue?

Thank you

David

Hello

I mentioned initially button.enabled property set to false .

And Yes - code should collect each required field contents using, i.e. the onChange event.

If 'all' is true ==> button.enabled = true;

Just in brief...

Jarek

Tags: InDesign

Similar Questions

  • I have Microsoft Money 2006 how can I update and keep the info?

    I have Microsoft Money 2006 how can I update and keep the info?

    Hi NRHand7,

    Microsoft has stopped selling money on June 30, 2009. The last activation of version (more Money, or money 2008) required in order to be fully functional.

    For more information, you can consult the following articles:

    What is Microsoft Money Plus sunset?

    Money Solution Center

    We can refer to the following articles and check if it helps.

    How to export and import account information in Microsoft Money

    How to remove and reinstall Microsoft Money

    You can also post your query in Microsoft Money Forum to get help.

    Microsoft Money

    Hope this information is useful.

  • How go referenced Managed and keep opening folders Structure?

    I am preparing to become "independent opening."  My first step is to go to referenced Managed.  With photos outside of the opening, I can switch to another dam or simply use the Finder with another editor as affinity.  I spent so much time to organize the folder structure in Aperture, I want to keep this exact structure of the folder in the Finder.  I tried changing to referenced pictures, but it seems that Aperture puts all the photos in one giant folder.  Maybe I'm missing something here?  Y at - it a 3rd party software that exports from Aperture and retains the structure folders?  Has anyone found a workflow that works well for this?

    I spent so much time organizing the structure of folders in Aperture.

    What kind of files?

    Folders for projects or for the albums?

    Aperture presets allow you to create subfolders for your projects when you reposition the originals, but to keep your folders for projects, you need to move projects for each folder individually.

    For more control on subfolders, use the control panel in the dialog "file > move.  Define the format of subfolder "Edit" instead of one of the presets.

  • Since upgrading to Windows 10, nd despite reinstall Lightroom, Lightroom from the Creative clouds just keeps crashing.  I've now reached the point that I can't export and must work only on 1 image at a time and keep constantly opening and closing

    Since the upgrade to Windows 10 and despite reinstall it Lightroom. Lightroom from the Creative clouds simply crashes.  I have now reached the point that I can't export and only works on 1 image at a time and constantly keep opening and closing of the software

    Hello

    Please go the Edit option in the library Module, then go in the preferences.

    Go to the performance tab and uncheck the option "use graphics processor.

    Restart lightroom, and see if Lightroom works.

    Please let us know if it helps.

    Kind regards

    Tanuj

  • How to be attentive and respectful in this Forum/Discussion

    Hello

    I am new to this Forum and has rarely used the Forums in the past.  I find this very beneficial Forum/Discussion.  I need a lot of help because I'm an instructional designer who had the kindness to thrust into the world of development - became just a little proficient in AS3, now move to Flex due to data-driven needs my clients continue to have.  But I don't want to assure you that I am to be respectful and attentive to the people who supply all the great free help.

    Sometimes we know is not the weather, the suggestion that I get in a position is appropriate or useful category.  I wonder if I should lean towards correct if in doubt.  But I fear that, in this case, I'll give your comments without market value.

    For example: some answers are more asnwers "Yes or no" (such as "CanFlex do X?"), perhaps without code required.  Should I click OK or useful in these cases?

    For example: If an answering machine responds with a code example, then I try and it doesn't work, how would I know that the answer was not correct and that my browser/reader or link was not the problem.  Hate does not not good credit to someone.

    All replies to this post will be considered "CORRECT!"

    Thank you

    Doug

    As long as you stay clear and calm in your posts, people will be more than happy to help. Responses with related examples are always a plus. Sometimes, you will get the answers with untested code that fails (I've been guilty of myself), but that's the general idea that you want to take and maybe research. Do not hesitate to politely question which does not code. I think it is a learning experience.

    Your best friends while developing in Flex will be the reference of the language, the LiveDocs and http://blog.flexexamples.com.

  • How to disable drag and search, it open too many unwanted tabs.

    I used my cursor when reading Web pages. Whether it is a good thing or not, I have no intention to change. I guess that I am not only to have this habit.

    The problem is that in the Firefox browser, all drag accidental selected content (image or text) would open a new Search tab finish a reading article, about 4 to 5 unwanted tabs would be open. It's a big boring for me. I agree that this is a feature desired for many people. But I would like to have this feature as an option. I try my best to find the light switch, but in vain. I'm thinking, maybe, it is relevant to a special version. I installed Firefox on my two computers. PC Win8.1 we don't have this feature, while the PC Win7 is.

    If it works in Mode safe mode and normal mode with all extensions (Firefox/tools > Modules > Extensions) off and then try to find which extension is the cause by allowing an extension at a time until the problem reappears.

    Close and restart Firefox after each change via "Firefox > Exit ' (Windows: Firefox/file > quit;) Mac: Firefox > quit Firefox. Linux: Firefox/file > exit)

  • My windows appear "zoom out". In other words, the screen has small size, and a lot of information in each window. This happened 'on its own' one day, when I logged in. How to enlarge new and keep there?

    Example 1 - page of Yahoo mail "Inbox."
    The font size of the list of emails in my email yahoo "Inbox", is of about of 8 (which is very low). In fact, it's all in the window 'Inbox' except the ads.
    The size of the font used to be 12, which is bigger and easier to read.

    Example 2 - 'my ebay' summary page.
    Read the list of the 'activities' choice on the left of the 'Summary' page I have to scroll down for centuries until the second activity is displayed and then scroll to the bottom for centuries access the activity of the third and so on. It's like the summary page was 20 meters long.
    Used to be on the left when I open the summary page of all activities.

    It's as if some settings changed with me knowing. I don't know if this is relevant, but I think it could happen after I did an update to Java.

    Thanks for any help is offered,
    Tony

    If no fonts.
    Click the Menu Tools > Options > content > fonts and colors, click Advanced Options > Minimum font size set to None.

    To make the page level zoom by default-
    Press Ctrl + 0 key. (Key Ctrl + (digital 0)

  • My laptop came with XP Home Edition and I have installed XP Professional SP3, how remove XP Home and keep my files?

    I have two operating systems on my laptop and really only want one, how to uninstall XP Home Edition and still retain my files to move them to XP Professional that I have already installed.

    I installed the XP Pro SP3 because I had problems with XP Home and I understand that XP Pro is an operating system much better.  Help, please

    You can modify the boot.ini file to remove the unwanted entry

    http://support.Microsoft.com/kb/289022

    Depends on what files you want to move, you can move the data, but you cannot move the programs, they will have to be resettled.

    For data, you will need to be supported, see victory help

    Once you have transferred all the data just delete the folder of windows redundent

  • How to upgrade HD and keep restore patition?

    Hello

    I have a HP HDX 16 with 250 HD

    and I want to upgrade to

    320 which is exactly the same

    SATA

    7200 RPM

    Unfortunately can't add it to the old

    so I have to replace

    the quistion is how can I move the operating system and restore the partition to the new?

    Hello Ogden,

    You must go into the Recovery Manager and create a set of recovery media disks. Then you can install the new HD and run a system recovery which recreates the partition along with the original image of the system.

    Here is a document on how to create and use the Recovery Manager.

    http://support.HP.com/us-en/document/c00809678

    Cheers...

  • How crop in LR5 and keep the same file size?

    When I crop an image in LR5, it severely reduces the size of the file so that my clients are not able to print their pictures in larger sizes.  Is it possible that I can prevent this, as when I get to the PS?

    When I crop an image in LR5, it severely reduces the size of the file so that my clients are not able to print their pictures in larger sizes.  Is it possible that I can prevent this, as when I get to the PS?

    In my view, is not the size of the file that makes the non-printable picture, it's the cropping or export settings, which makes the non-printable picture. You do a huge amount of cropping? You resize to export? Please give us the details. Please tell us the size of the picture exported in pixels (width and height). Please tell us what size (what size paper) is printing will be.

    The file size is a relatively empty sense information, and it would be wise to ignore it. It is more likely your actions (cropping or resizing during export) which causes the problem of the photo being non-printable.  I say, don't look at the size of the file, do not try to reach a file size, do not try to determine how to increase the size of the file... instead, make sure you use the right export settings and harvest size.

  • How can I delay and keep the system running?

    Hi all

    I have two functions in the order shown:

    DoTest1();

    Delay (6.0);    6 seconds behind.

    DoTest2();

    After DoTest1() function, my intention is to delay 6 seconds before DoTest2() function. However, Delay (6.0) also stops test system to generate 1 second timer pulses to UUT and prevents WEAR it to work. I realized that when I replaced "Delay (6.0) with the function"MessagePopUp"and I tell the operator to wait for 6.0 seconds, it works (or test passes).»

    My question is "is there a function that would delay for a certain time before you perform a specific task, but still not to hinder other activities take place?

    Your help would be appreciated.

    Thank you.

    Robert Mensah

    Hello, Stanley.

    I thank very you much for your immediate response. Your code worked beautifully. Thanks again.

    Robert Mensah

  • Can I hide my folder list and keep hidden when I open outlook?

    It was possible to click on folders who gave another drop-down list that allowed me to keep my hidden folders whenever I opened Outlook, and I could access my files in the same way. This is only with the latest version of outlook can anyone please help and explain how I can restore it or tell me how make to hide and keep my folder list appear everytime I open outlook.

    It would be a matter of support Outlook.

  • My laptop will not work, he said of updates step 3 of 3, but it is at 0% and keeps restarting itself. How can I get rid of this to open a session?

    My laptop will not work, he said of updates step 3 of 3, but it is at 0% and keeps restarting itself. How can I get rid of this to open a session? I tried the safe mode and do a system restore, which get rid of it. And suggestions? Thank you.

    Hello

    1. have you made changes on the computer before this problem?

    2. do you get an error code?

    Follow the mentioned article:

    Error: Failed to setup of the Windows updates. Restoration of the changes. Do not turn off your computer when you try to install Windows updates

    http://support.Microsoft.com/kb/949358

    Note that it takes as much time to do the upgrade as to reinstall the operating system. In addition, some of your custom Windows settings may be lost through this process.

    WARNING: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    322756 (http://support.microsoft.com/kb/322756/)

    How to back up and restore the registry in Windows

    Hope the above information is helpful.

  • Everytime I open Photoshop CS2, it starts as if it were the first time.  All the settings are default and it asks me to register even though I already have.  How do I save my settings and keep his memory?

    Everytime I open Photoshop CS2, it starts as if it were the first time.  All the settings are default and it asks me to register even though I already have.  How do I save my settings and keep his memory?

    Right-click on the exe to PS file and choose Run as administrator. I think you choose the option "check mail", it will not ask again.

  • How can I get FF to open a web site in a new tab and keep the old tab so I can come and go?

    If I'm in a web site that contains other links, I want to be able to open the new link in a new tab and keep the original tab so I can switch back.

    When you click on a link that is on a right click of the Web page and click on "Open link in a new tab" this will open the new page in a new tab and keep your old tab open. If you want to open a new tab without clicking on a link on a web page, click on the button "+" near your tabs currently open.

Maybe you are looking for