Return results from custom dialog box not visibly updating field value

I have a form with custom dialog boxes (execDialog) for data entry. The dialog box is being called from the Entry event successfully. I also have it called from the Click event. So, here's what I get:
1. On entering the field, I get the dialog box pop up, I select a value, it visibly changes the field raw value and leaves focus in the field.
2. If I exit the field and re-enter, it also works as in point 1 (as expected)
3. If, while focus is already in the field, I click in the field, I get the dialog box, as expected, but after selecting a value from the dialog, the field raw value DOES NOT VISIBLY change until I exit the field! It's kind of like the click event is working in conjunction with the Exit event. This is totally counter-intuitive for a production form that is being designed for the general populace.
Anyone had any experience with this?
Cheers,
Marty.

Thom Parker answered this here: http://forums.adobe.com/message/2614570#2614570
Answer copied below:
"The problem is that when the focus is on the text box
it's in edit mode. It's only displaying the value interactively entered by
the user, or as a consequence of the change event.  What you need to do is
force the focus off of the text box in code.  You can do a little trick
where you bounce it to a tiny transparent field, which then bounds the focus
back so it doesn't look like the focus changed."
What I ended up doing was calling up the dialog box, then using setfocus with no parameters to remove focus from the field, as follows:
this.rawValue = this.dialogBoxFunction(this.rawValue); // passing current value so dialog box defaults to that value
xfa.host.setFocus();
Cheers,
Marty.

Similar Messages

  • ITunes 12: Buttons missing in dialog boxes (not visible)

    Hello.
    Since using iTunes 12 (in my case: German version) buttons like YES/NO or OK/CANCEL are not shown in smaller dialog boxes when iTunes wants to interact with the user and asks question whether to do this or to do that.
    The buttons are just not visible, the boxes are too small and they cannot be resized (= fixed size). I think this could be due to longer German texts in the dialog boxes compared to the English language version.
    The buttons are there but cannot be seen or clicked.
    Screen resolution is 1920x1200 and text zoom factor is 100% in Windows 7. Window size for these dialog boxes seems to be hard-corded and due to line breaks and longer texts in German the YES/NO buttons seem to get an unexpected carriage return moving the buttons out of the visible area.
    Please fix this!
    Kind regards,
    Argentinos

    Example: here a part of the buttons is visible but in many dialog boxes they are completely cut off.

  • Dialog Box not visible

    Hello All,
    I've a problem in Java Swing Application
    My main Window opens up a child window (dialog box).
    However, when I switch from my Java Application to another application and back again - the dialog box does not appear. Instead the main window is shown on the screen.
    It's only after pressing ALT+TAB on my Java Swing Application, the dialog box appears.
    This is problematic b'cause the dialog box is "modal" and if it does not appear first, I cannot do anything with the main window.
    Is there a way to correct this?
    Thanks in advance
    -- Sunil
    Ps: I'm creating the Swing GUI in Windows Xp

    Hello Franck,
    Thanks for your suggestion!
    I did find the problem by tracing it to the bug database:
    http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5063142
    It seems that if you pass the "this" instance (of JFrame) directly to JDialog, the problem occurs.
    However, if you pass the object that holds the JFrame instance, like you've mentioned above, the problem goes away.
    I am still not satisfied as to how this occurs.
    But for now, my immediate problem is resolved.
    Thanks again!
    Regards,
    Sunil D

  • Paste picture as signature from custom dialog box?

    Hi, I have created a custom plugin signature dialog box using c++ with picture control and want to paste the picture as a signature, but as soon as I click ok, the John Doe dialog comes up and my picture is not getting pasted. How can I suppress this dialog box and paste my picture? Thanks!

    Please repost in the Acrobat SDK forum.

  • Return results from ADEP in AS3 Arrays, not ArrayCollections

    Hi all,
    Is there any way to force ADEP to return results from data services in simple AS3 Arrays, not ArrayCollections? Here are my situation:
    In my project I use ADEP Data Management Services. To connect to ADEP services we use RTMP channel defined in services-config.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <services-config>
         <services>
              <service-include file-path="remoting-config.xml" />
              <service-include file-path="proxy-config.xml" />
              <service-include file-path="messaging-config.xml" />
              <service-include file-path="data-management-config.xml" />
              <service-include file-path="managed-remoting-config.xml" />
              <service class="fiber.data.services.ModelDeploymentService" id="model-deploy-service" />
              <default-channels>
                   <channel ref="my-rtmp"/>
              </default-channels>
         </services>
         <channel-definition id="my-rtmp" class="mx.messaging.channels.RTMPChannel">
              <endpoint url="rtmp://{server.name}:1000" class="flex.messaging.endpoints.RTMPEndpoint"/>
              <properties>
                   <idle-timeout-minutes>20</idle-timeout-minutes>
                   <block-rtmpt-polling-clients>true</block-rtmpt-polling-clients>
                   <rtmpt-poll-wait-millis-on-client>0</rtmpt-poll-wait-millis-on-client>
              </properties>
         </channel-definition>
    </services-config>
    To manage data in database we defined data services in data-management-config.xml like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <service id="data-service" class="flex.data.DataService">
        <adapters>
            <adapter-definition id="java-dao" class="flex.data.adapters.JavaAdapter"/>
            <adapter-definition id="mr-java-dao" class="flex.data.adapters.ManagedRemotingDataAdapter" />
            <adapter-definition id="actionscript" class="flex.data.adapters.ASObjectAdapter" default="true"/>
        </adapters>
        <default-channels>
            <channel ref="my-rtmp"/>
        </default-channels>
        <destination id="SomeProduct.SomeItems">
            <adapter ref="java-dao" />
            <properties>
                <source>flex.data.assemblers.SQLAssembler</source>
                <scope>application</scope>
                <metadata>
                    <identity property="ID" />
                </metadata>
                <server>
                    <database>
                        <datasource>java:comp/env/jdbc/SP</datasource>
                    </database>
                    <actionscript-class>com.somecompany.classes.SomeCoolClass</actionscript-class>
                    <create-item>
                        <procedure name="SomeItems_Insert">
                            <procedure-param property-value="#Session_ID#" />
                            <procedure-param property-value="#Division_ID#" />
                            <procedure-param property-value="#Salesrep_ID#" />
                            <procedure-param property-value="#Area_Code#" />
                            <procedure-param property-value="#Item_ID#" />
                        </procedure>
                        <id-query>SELECT IDENT_CURRENT('Work_Area_Item')</id-query>
                    </create-item>
                    <fill>
                        <name>all</name>
                        <procedure name="SomeItems_Get">
                            <procedure-param property-value="#Session_ID#" />
                            <procedure-param property-value="#Last_Sync_Time#" />
                        </procedure>
                    </fill>
                    <update-item>
                        <procedure name="SomeItems_Update">
                            <procedure-param property-value="#Session_ID#" />
                            <procedure-param property-value="#Division_ID#" />
                            <procedure-param property-value="#Salesrep_ID#" />
                            <procedure-param property-value="#Area_Code#" />
                            <procedure-param property-value="#Item_ID#" />
                       </procedure>
                    </update-item>
                    <delete-item>
                        <procedure name="SomeItems_Delete">
                            <procedure-param property-value="#Session_ID#" />
                            <procedure-param property-value="#Item_ID#" />
                        </procedure>
                    </delete-item>
                </server>
            </properties>
        </destination>
    </service>
    By default, ADEP returns results from SomeProduct.SomeItems destination to Flex side as ArrayCollection of SomeCoolClass instances but I need the data to be returned in simple AS3 Arrays. Recently, I found that there is small optional serialization configuration in channel-definition that should resolve my problem. So I updated my channel-definition in services-config.xml to this:
    <channel-definition id="my-rtmp" class="mx.messaging.channels.RTMPChannel">
         <endpoint url="rtmp://{server.name}:1000" class="flex.messaging.endpoints.RTMPEndpoint"/>
         <properties>
              <serialization>
                   <legacy-collection>true</legacy-collection>
              </serialization>
              <idle-timeout-minutes>20</idle-timeout-minutes>
              <block-rtmpt-polling-clients>true</block-rtmpt-polling-clients>
              <rtmpt-poll-wait-millis-on-client>0</rtmpt-poll-wait-millis-on-client>
         </properties>
    </channel-definition>
    However, result are still returned in ArrayCollections.
    Any ideas?
    Thanks in advance

    Thom Parker answered this here: http://forums.adobe.com/message/2614570#2614570
    Answer copied below:
    "The problem is that when the focus is on the text box
    it's in edit mode. It's only displaying the value interactively entered by
    the user, or as a consequence of the change event.  What you need to do is
    force the focus off of the text box in code.  You can do a little trick
    where you bounce it to a tiny transparent field, which then bounds the focus
    back so it doesn't look like the focus changed."
    What I ended up doing was calling up the dialog box, then using setfocus with no parameters to remove focus from the field, as follows:
    this.rawValue = this.dialogBoxFunction(this.rawValue); // passing current value so dialog box defaults to that value
    xfa.host.setFocus();
    Cheers,
    Marty.

  • Custom Dialog Box Question

    I have a custom dialog box that uses both radio buttons and edit_text fields.  What I am trying to do is make so that when a certain radio is selected the edit_text field will be filled with a suggested answer.  Is that possible and how could it be done?

    Yes,  data is acquired from fields with the "dialog.store()" function and loaded with the "dialog.load()" function. Say that one radio button is named "Rad1" and the text box is named "Txt1".  Then this code represents the action script for the radio button, it places "New Text" into the the text field.
    "Rad1":function(dialog){
        var rslt = dialog.store();
        if(rslt["Rad1"])
            dialog.load({"Txt1": "New Text"});
    The Action script is a member of the dialog object.  You can see examples of how this can be build by downloading a trial version of AcroDialogs, which will build the correct JavaScript code for adding an action to a radio button.
    http://www.windjack.com/products/acrodialogs.html
    Thom Parker
    The source for PDF Scripting Info
    pdfscripting.com
    The Acrobat JavaScript Reference, Use it Early and Often
    http://www.adobe.com/devnet/acrobat/javascript.html
    Then most important JavaScript Development tool in Acrobat
    The Console Window (Video tutorial)
    The Console Window(article)

  • E-mail receipt from customer mail box

    Hi ,
    Can any one help me how to configure the email receipt from customer mail box?
    Our scenario is like this.
    When sales order is created sap system will sent order confirmation to customer mail box. I have already configured the email confirmation till this stage and getting the results too.
    1. When customer receive the order confirmation in his mailbox and we need the acknowledgement from customer either in the form of read receipt or delivery receipt from customer mail box.
    2. When we want some information has to pass to customer mail box along with order confirmation. Like " Dear Customer ...Your order has been confirmed...in the body of the mail....etc.”
    If any one ever did this then please let me know what are the procedure involves to configure above scenario.
    Regards,
    Gouri Shankar

    iTunes Customer Service Contact
    Apple - Support - iTunes Store - Contact Us
    Mac Apps Store Customer Service
    http://www.apple.com/support/mac/app-store/contact.html?form=account

  • My Custom repositories are not visible under content tab of ACC

    Hi,
    My Custom repositories are not visible under content tab of ACC ,eventhough i had appended my custom repository in /atg/registry/ContentRepositories.properties to the property
    initialRepositories+=/myCustomRepository.PLEASE HELP ME.

    Kindly make sure,
    initialRepositories+=/com/training/club/tools/myCustomRepository
    I assume you have config/com/training/club/tools/myCustomRepository.properties component. /com/training/club/tools/ is your path of component from config.
    -RMisihra

  • Adding images in custom dialog box

    Hi!
    Do  you know if it's possibile to insert an image in a custom dialog box? I mean during the custom dialog box design (during the .dre file creation).
    Thanks to all!

    Hi Stemens,
    I'm hesitant to answer your questions anymore because somebody always comes behind and shows everybody how much I don't know   Anyway, I do not know of a way. I remember that there have been other developers discussing this and I think everybody just gave up. I have never seen an image in a dialog box, so that tends to indicate to me that no one has found a way.
    Russ

  • How place xmp metadata from a dialog box

    Hi  expert JS guys,
    I'd want add xmp custom metadata (f.e.: custom, subject, operator...) from a dialog box when I launch a js that save my id file. Someone can helps me?
    Thnx very much.

    I solve easly the question:
    app.menuActions.itemByID(75265).invoke();

  • I can't prevent Spotlight from returning results from emails and Safari

    Try as I might, I can't prevent Spotlight from returning results from emails and from Safari web browser history.
    I've toggled the two relevant boxes in the Spotlight system preferences, and rebuilt the index, but it still returns results from categories that I have deselected (like emails and webpages).
    The system preferences say "Only selected categories will appear in Spotlight search results". If only it were true!

    I think this could be a reason, your settings regarding indexing of mail messages didn't stick.
    I'm having other problems with security update 2008-005.
    It'd be interesting to know if OnyX is able to fix your problem again. Hopefully its doings survive the next update.

  • Added Custom Tab is not visible in Menu in Delivery

    Hi,
    We have added a custom tab in delivery using Badi 'LE_SHP_TAB_CUST_HEAD' .
    The Custom Tab is not visible in Menu , Can you please suggest How I can get this tab in
    Menu Under 'GOTO' .
    Thanks & Regards,
    Murali Krishnan

    Please check table T130P
    That table stores configuration related to fields in MM01. It holds information if a perticular field needs to be displayed or should not be displayed at all.based on the value which that field holds.
    can control the display, the material master
    Please check

  • I have installed apps Hungry Shark vobec but it does not show me the settings I like it or not even in the game center I have not updated results from it you can not help me thank you

    I have installed apps Hungry Shark vobec but it does not show me the settings I like it or not even in the game center I have not updated results from it you can not help me thank you

    Hi Marcel1no,
    Welcome to the Apple Support Communities! 
    I understand that it can be frustrating when an application downloaded from the App Store is not behaving as you would expect. In this situation, I would recommend using the attached article for information on troubleshooting apps downloaded from the App Store. 
    iOS: An app you installed unexpectedly quits, stops responding, or won’t open - Apple Support
    Cheers,
    Joe 

  • Forcing the ReadAllQuery to return results from DB instead of cache

    How can I programmatically setup a ReadAllQuery to always return results from DB instead of cache. I dont want to use session.refreshObject - as this will result in 2 lookups - first for the actual search from cache or db and then a second search on each object on the DB. I am using Toplink 11.1.1

    You can use,
    query.refreshIdentityMapResult()
    or,
    query.setShouldRefreshIdentityMapResult(true)
    James : http://www.eclipselink.org

  • Captivate 6 - Trying to make all click boxes not visible in output

    Adobe Captivate 6 - how do you make all the click boxes not visible in output.  Help says to uncheck the Visible in Output box, easy enough, then it say to click the Apply to all icon and there is no such icon.  Do I have to go through every single slide and manually do each one?

    Hello and welcome to the forum,
    I think you want to 'hide' the click box, so that it is not active, in the Properties panel? A click box itself is never visible to the user on the stage, but can be active or not.
    I always copy/paste an invisible object, it will keep its properties. Since a click box has no style, you cannot apply a style to all click boxes.
    Lilybiri

Maybe you are looking for

  • Calling a program in another program

    Hi guys, I have 2 reports. Report1-uploads file into internal table ITAB1. Report2-To be called in Report 1 and shd be able to access the TAB1 values. How shd i do this?DO guide me precisely.

  • Mavericks upgrade problems

    After I upgraded to Pages 5.2 and Numbers 3.2, my printer won't respond.  What to do?

  • VS2013 Community Edition : How to add multiple projects in one solution?

    I am an experienced .Net developer. I am using Visual Studio since 2005. Yesterday, I just installed "Visual Studio 2013 Community Edition". Suddenly I came to know that I can't add multiple projects to a solution. Even a project does not have soluti

  • Message failure notices about emails I haven't sent

    Starting yesterday, I began receiving message failure emails in by inbox and junkfolder about emails that I didn't send. When I got the first message, it seemed apparent that I was hacked, so I quickly changed my email password. Since then, the failu

  • Currency in GR

    Dear All, I have created a PO with currency USD, but in GR currency has come as INR, Please help me to know the reason and any setting (If i want same currency in GR) require for it. Thanks