Running a method when an NSPopUpButton menu item is clicked

I want to have a method be run every time one of my NSPopUpButton's menu items are clicked. Is there a delegate method that I need to use?

No, but you can use an setAction in combination with an selector.

Similar Messages

  • Photoshop CS5 crashes when you choose menu items when FinderPop is installed (Mac OS)

    FYI - Knowledge Base document was created to outline this problem and provide a solution:
    Photoshop CS5 crashes when you choose menu items when FinderPop is installed (Mac OS)
    http://kb2.adobe.com/cps/891/cpsid_89140.html

    FinderPop released a new updated version today.  It can be found at the below link.  Adobe makes no promises about 3rd party software, however my limited testing does indicate that the crash on inverse selection is fixed by this latest beta drop of FinderPop.
    2.3.0.6
    http://www.fnarr.net/fp/viewforum.php?f=3

  • Heavy slowdowns when hovering over menu items (v12.1)

    I experience heavy slowdowns and increased CPU usage of mutliple background processes (Chrome, Task Manager, Explorer, DWM and Photoshop for example) when clicking on a menu item which opens the drop-down list. The more images I have open the worse it gets.
    This is on a laptop with a i7-2640M CPU, 8GB memory, SSD and NVidia GT520M videocard.
    Running on Win7 Home Premium.
    Any ideas what could be the cause of this?

    Might start with the video card.  How does your card compare with the tested list below?  Does the GT and M mean something special?
    Do you have anything like Crossfire with it?  PS does not support that.
    nVidia GeForce 8000, 9000, 100, 200, 300, 400, 500 series
    nVidia Quadro 400, 600, 2000, 4000 (Mac & Win), CX, 5000, 6000
    AMD/ATI Radeon 2000, 3000, 4000, 5000, 6000, 7000 series
    AMD/ATI FirePro 3800, 4800, 5800, 7800, 8800, 9800, 3900, 4900, 5900, 7900
    Intel Intel HD Graphics, Intel HD Graphics P3000, Intel HD Graphics P4000

  • How do I prevent errors when accessing DDL menu items in NI Configurator?

    I am developing a DD description for a Foundation Fieldbus device. I have put menus in the DD to help present the data in my transducer blocks in an organized manner. When I access a menu item with NI Configurator 3.0, I get an error message "Network read of parameter name failed: error code -27" (See attachment). This happens for all the variables on my menus. The same variables are read correctly within the block views.
    Are there any specific requirements of menus, or unsupported DDL constructs that can not be used within DDL menu items when using NI Configurator? I have tried the Menus on other fieldbus host systems and they appear to work OK there.
    Attachments:
    ni.JPG ‏75 KB

    Are you calling "Edit Display" in your DD menu? As I know, the Configurator 3.1 version can handle "Edit Display" properly. I suggest you send your DD and CFF files to "[email protected]" for further technical support from NI.
    On the other hand, you might be able to download the Configurator 3.1 Evaluation version from "http://www.ni.com/support/fbussupp", which supports creating virtual devices/blocks with CFF and DD files. You can try on that and see whether it helps in 3.1 version.

  • 2 Questions: Black when exporting & highlighted menu items

    Newbie here, learning as I go with some very basic knowledge.
    Mac OSX 5.8
    InD CS 4
    Okay, got two questions.  My books aren't answering them, my live-help person is busy (InD professional) ... I'm coming here for help.
    1.  Seems as tho when I draw a 10pt black line, after exporting to .pdf, it is screened.  I haven't changed any settings and if something got changed .. I'm clueless.  No transparencies, 100% opacity, 100% black. If I print directly from .indd, it is black.  Definitely screened when printed out .pdf, and my printing company is the one who noticed it.
    2.  While I was messing around trying to figure out the black line, all of a sudden, a bunch of my menu pull-down items became highlighted.  Again, I'm clueless.
    Thanks so much for putting up with a novice.
    job1970

    In Preferences, what is your selection for Appearance of Black? I suggest “Display All Blacks Accurately” and “Output All Blacks Accurately”. I don’t understand Adobe setting these to, effectively, “Display All Blacks Inaccurately” and “Output All Blacks Inaccurately” by default.
    You say that the black line is grey, but is it? Can you open it in Acrobat Pro or Illustrator and tell us the actual colour value? I suspect you have the preferences above set to the default, so that process black looks and prints like a rich black. When Acrobat shows it as process black, it appears lighter by comparison.
    A new feature in InDesign since version 5 is “Workspaces” which save panel visibility and position and allow some menu items to be hidden and others to be highlighted. I find the menu options distracting an non-intuitive. When you hide a function from the user you don’t make other functions easier to see, you just make those hidden functions unavailable and, for new users, undiscoverable. Similarly, highlighted items are just distracting. You can fix both problems by selecting Window > Workspace > Show Full Menus.

  • DW crashes when toolbar with sub items is clicked

    Any toolbar item that has the arrow to show more items if clicked instantly crashes DW.
    Mac OS 10.8.3  - DW CS6  ver 12 build 6006
    Example toolbar items: "Open documents", "Format Source Code", etc

    Looking at the crash report that goes to Apple is aligned with what I have specified is the problem, since it is only the popup menus in the toolbar that causes this.
    I get what appears to be the exact same error report if I am clicking a toolbar icon with a submenu or right clicking the toolbar - here is an excerpt - there are over 500 lines with the PopupMenuHandler menuNeedsUpdate message:
    3   com.adobe.dvaui.framework   
    0x03e999ed dvaui::ui::OS_NodeManager* dvacore::utility::NonOptionalDynamicCast<dvaui::ui::UI_NodeManager*, dvaui::ui::OS_NodeManager*>(dvaui::ui::UI_NodeManager*, char const*, unsigned int, int) + 61
    4   com.adobe.dvaui.framework   
    0x03e814dd dvaui::ui::OS_NodeManager::Get(bool) + 61
    5   com.adobe.dvaui.framework   
    0x03ed1776 -[DVAMacPopupMenuHandler menuNeedsUpdate:] + 38
    6   com.adobe.dvaui.framework   
    0x03ed179c -[DVAMacPopupMenuHandler menuNeedsUpdate:] + 76
    7   com.adobe.dvaui.framework   
    0x03ed179c -[DVAMacPopupMenuHandler menuNeedsUpdate:] + 76

  • When menu item is clicked i'm unable to call user form to my b1

    hi every one,
    i'm new to b1 sdk. i have written some code to handle menuevents. when an item on menu is clicked a form should open ...such that i have written some code which is shown below....but when i'm debugging ..after entering the control into createmysimpleform() it is not moving further....
    plz provide me some help in this regard...
    ======================================================================================================
    CODE
    ===================================================================================================
      Private Sub SBO_Application_MenuEvent(ByRef pVal As SAPbouiCOM.MenuEvent, ByRef BubbleEvent As Boolean) Handles SBO_Application.MenuEvent
    =============================================================================================
            If (pVal.MenuUID = "SM_VID_F1") And (pVal.BeforeAction = true) Then
                SBO_Application.MessageBox("Rajender")
                If (pVal.MenuUID = "SM_VID_F1") And (pVal.BeforeAction = true) Then
                    SBO_Application.MessageBox("My first Menu was clicked")
                    CreateMySimpleForm() ' to call the user form for which the code is written in another sub program
                End If
            Else
                If (pVal.MenuUID = "SM_VID13") And (pVal.BeforeAction = False) Then
                    SBO_Application.MessageBox("My Second Menu was clicked")
                End If
            End If
    Private Sub CreateMySimpleForm()
            Dim oItem As SAPbouiCOM.Item
            '// we will use the following objects to set
            '// the specific values of every item
            '// we add.
            '// this is the best way to do so
            Dim oButton As SAPbouiCOM.Button
            Dim oStaticText As SAPbouiCOM.StaticText
            Dim oEditText As SAPbouiCOM.EditText
            Dim oComboBox As SAPbouiCOM.ComboBox
            '// add a new form
            Dim oCreationParams As SAPbouiCOM.FormCreationParams
            oCreationParams = SBO_Application.CreateObject(SAPbouiCOM.BoCreatableObjectType.cot_FormCreationParams)
            oCreationParams.BorderStyle = SAPbouiCOM.BoFormBorderStyle.fbs_Fixed
            oCreationParams.UniqueID = "MySimpleForm"
            oForm = SBO_Application.Forms.AddEx(oCreationParams)
            oForm.Visible = True
            '// add a User Data Source to the form
            oForm.DataSources.UserDataSources.Add("EditSource", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 20)
            oForm.DataSources.UserDataSources.Add("CombSource", SAPbouiCOM.BoDataType.dt_SHORT_TEXT, 20)
            '// set the form properties
            oForm.Title = "Simple Form"
            oForm.Left = 400
            oForm.Top = 100
            oForm.ClientHeight = 80
            oForm.ClientWidth = 350
            '// Adding Items to the form
            '// and setting their properties
            '// Adding an Ok button
            '// We get automatic event handling for
            '// the Ok and Cancel Buttons by setting
            '// their UIDs to 1 and 2 respectively
            oItem = oForm.Items.Add("1", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
            oItem.Left = 6
            oItem.Width = 65
            oItem.Top = 51
            oItem.Height = 19
            oButton = oItem.Specific
            oButton.Caption = "Ok"
            '// Adding a Cancel button
            oItem = oForm.Items.Add("2", SAPbouiCOM.BoFormItemTypes.it_BUTTON)
            oItem.Left = 75
            oItem.Width = 65
            oItem.Top = 51
            oItem.Height = 19
            oButton = oItem.Specific
            oButton.Caption = "Cancel"
            '// Adding a Rectangle
            oItem = oForm.Items.Add("Rect1", SAPbouiCOM.BoFormItemTypes.it_RECTANGLE)
            oItem.Left = 0
            oItem.Width = 344
            oItem.Top = 1
            oItem.Height = 49
            '// Adding a Static Text item
            oItem = oForm.Items.Add("StaticTxt1", SAPbouiCOM.BoFormItemTypes.it_STATIC)
            oItem.Left = 7
            oItem.Width = 148
            oItem.Top = 8
            oItem.Height = 14
            oItem.LinkTo = "EditText1"
            oStaticText = oItem.Specific
            oStaticText.Caption = "Static Text 1"
            '// Adding another Static Text item
            oItem = oForm.Items.Add("StaticTxt2", SAPbouiCOM.BoFormItemTypes.it_STATIC)
            oItem.Left = 7
            oItem.Width = 148
            oItem.Top = 24
            oItem.Height = 14
            oItem.LinkTo = "ComboBox1"
            oStaticText = oItem.Specific
            oStaticText.Caption = "Static Text 2"
            '// Adding a Text Edit item
            oItem = oForm.Items.Add("EditText1", SAPbouiCOM.BoFormItemTypes.it_EDIT)
            oItem.Left = 157
            oItem.Width = 163
            oItem.Top = 8
            oItem.Height = 14
            oEditText = oItem.Specific
            '// bind the text edit item to the defined used data source
            oEditText.DataBind.SetBound(True, "", "EditSource")
            oEditText.String = "Edit Text 1"
            '// Adding a Combo Box item
            oItem = oForm.Items.Add("ComboBox1", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX)
            oItem.Left = 157
            oItem.Width = 163
            oItem.Top = 24
            oItem.Height = 14
            oItem.DisplayDesc = False
            oComboBox = oItem.Specific
            '// bind the Combo Box item to the defined used data source
            oComboBox.DataBind.SetBound(True, "", "CombSource")
            oComboBox.ValidValues.Add("1", "Combo Value 1")
            oComboBox.ValidValues.Add("2", "Combo Value 2")
            oComboBox.ValidValues.Add("3", "Combo Value 3")
            '// set the form as visible
        End Sub

    hi satish, thanks for ur reply...
    i have 1 more doubt...plz try to solve this prob as soon as possible....
    i have created a user form with some lables and textboxes... and buttons...
    if i click on "adddata" button all the data i have entered in the form is inserted to DB...
    i have placed 1 more button ...so as to make already entered data in textboxes values empty.... but it is not working when i wrote the code below.....
    If (FormUID = "TestForm") And ((pVal.ItemUID = "13") And _
       (pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED) And (pVal.BeforeAction = True)) Then
                Clear() ' this is update records with respect to code value entered in form to DB
            End If
    Public Sub Clear()
      oform.Items.Item("6").Refresh()
            oform.Items.Item("7").Refresh()
            oform.Items.Item("8").Refresh()
        End Sub
    is there any other method that is should call to clear the data...???

  • MSS PORTAL -  RUN TIME ERROR WHEN EXECUTING A WORK ITEM IN UWL

    Hi all,
    I've a requirement wherein I need to have a custom screen in place of 'standard user decision' task in the UWL of MSS portal. I've developed a custom screen with Approve and Reject buttons and it works fine if I execute the work item from SAP inbox whereas in portal (UWL), it gives a run time error stating,
    Portal Runtime Error
    An exception occurred while processing your request
    Exception id: 10:56_12/05/08_0020_509163550.
    I'm sure that this error is due to missing configuration between the dynpro and the Portal. All inputs in this regard will be of great help and will be valuable to me.
    Thanks in advance,
    Bharathi.

    Hi
    Looking at the error message I feel like there is something wrong in the task object and object method. You are using a class in the task make sure that class has the IF_WORKFLOW. Mak sure the task is enabled with synchronous task method check box.
    Regards
    Pavan

  • How to capture when a button and menu item clicked by user?

    Hi,
         I am working in Acrobat 8 professional.
         I want to capture when Comments->Publish comments is clicked by user.
         My requirement is when Publish comments menu item is clicked then one alert have to be displayed.
         Similarly when user clicks Publish comments button then also one alert have to be displayed.
         How can i do this?
         Thanks in advance...

    There is nothing in the Acrobat SDK to really help you.  Your best bet it to use OS-level hooking functions.

  • Problem when trying to add a link to the left menu item!!!!

    Hi everyone,
    I am trying to put a new menu group on the left menu,with a link in that group for every one.On checking with the customization guide this is what i did
    for one link i did add the following lines in each of the files
    1)xlWebAdmin.properties
    - menuGroup.Misc-Menu=Misc Menu
    - menuItem.Misc-Menu.My-Nomination=My Nomination
    2) xlDefaultAdmin.properties
    - menuItem.Misc-Menu.My-Nomination.link=mynomineefrm?showfrm
    3) repacked the war and the ear
    4) Restarted my server
    When I login into the administration(xelsysadm) page I didnt see any menu item with name "My Nomination" which i am supposed to see.
    secondly it shows the menu item when ever i select some group and click on assign menu item.
    Moreover, when I try to assign this menu item to all users group it gives me this error
    On browser it prints
    Permission Denied to Assign Selected Menu Items
    You do not have the permissions to assign one or more selected menu items.
    on console it prints
    ERROR [SERVER] Class/Method: tcDataObj/eventPreInsert Error :Insert
    permission is denied
    ERROR [APIS] Class/Method: tcGroupOperationsBean/addMenuItems encou
    nter some problems: maoRejections:You do not have permission to insert this obje
    ct.
    ERROR [APIS] Class/Method: tcGroupOperationsBean/addMenuItems encou
    nter some problems: Error occurred while adding menu items.
    ERROR [WEBAPP] Class/Method: UserGroupMenuItemsAction/commitGroupAs
    signMenuItems encounter some problems: {1}
    Thor.API.Exceptions.tcBulkException
    This problem eat my happy sunday :-(, any one has solution for this problem?
    - Also if some one can help on how to link jsp to the new link will be helpful for me!
    Thanks,
    doki

    Design Console > Form Information > add new
    Class Name Organizations.Merge
    Description Move users from one organization to another
    Type menuitem
    Add following to xlWebAdmin.properties, xlWebAdmin_en_US.properties
    Organizations.Merge=mergeOrgs.do?Display
    menuItem.Organizations.Merge.link=mergeOrgs.do?MergeOrganizations
    menuItem.Organizations.Merge=Merge
    mergeOrgs.button.display=Merge Organizations
    Even you have to assign first to System Administrator group
    First go to Manage Group
    Select System Administrator Group
    Select Menu Item
    Click Assign and select newly craeted Menu Item and click Confirm
    These are the steps to see the new menu item. To make this menu item working:
    you'll have to write action class, form bean class and you'll have to create JSPs and make their entry in struts-config as welll as in Tiles-def.xml
    Then your menu item will work.

  • How to remove the menu items when remove Add-On

    I have built an SAP B1 add-on. Now when I remove the add-on the exe is still running as a process and the menu items are not removed. How do I take care of them

    hi.
    I am using below code... for killing the exe at process
    but i am not understood menu items.
    what type of menu items..
    once close the b1 where is menu items..
    can u plz explain..
      Private Sub app_AppEvent(ByVal EventType As SAPbouiCOM.BoAppEventTypes) Handles objApplication.AppEvent
            Try
                Select Case EventType
                    Case SAPbouiCOM.BoAppEventTypes.aet_ShutDown
                        objApplication.MessageBox("A Shut Down Event has been caught" & _
                            Environment.NewLine() & "Terminating 'Add Menu Item' Add On...")
                        '// terminating the Add On
                        ' oApplication.SetMessage("SAP Business One is Shutting down..", SAPbouiCOM.BoStatusBarMessageType.smt_Warning)
                        System.Windows.Forms.Application.Exit()
                    Case SAPbouiCOM.BoAppEventTypes.aet_CompanyChanged
                        objApplication.MessageBox("A Shut Down Event has been caught" & _
                            Environment.NewLine() & "Terminating 'Add Menu Item' Add On...")
                        'oApplication.SetMessage("Company has been changed.", SAPbouiCOM.BoStatusBarMessageType.smt_Success)
                        System.Windows.Forms.Application.Exit()
                    Case SAPbouiCOM.BoAppEventTypes.aet_ServerTerminition
                        objApplication.MessageBox("A Shut Down Event has been caught" & _
                            Environment.NewLine() & "Terminating 'Add Menu Item' Add On...")
                        'oApplication.SetMessage("All Add-on are Shutting down..", SAPbouiCOM.BoStatusBarMessageType.smt_Success)
                        System.Windows.Forms.Application.Exit()
                    Case SAPbouiCOM.BoAppEventTypes.aet_LanguageChanged
                        objApplication.MessageBox("A Shut Down Event has been caught" & _
                           Environment.NewLine() & "Terminating 'Add Menu Item' Add On...")
                        ' oApplication.SetMessage("System Language has been changed.", SAPbouiCOM.BoStatusBarMessageType.smt_Success)
                        'Case SAPbouiCOM.BoAppEventTypes.aet_CompanyChanged, SAPbouiCOM.BoAppEventTypes.aet_LanguageChanged, SAPbouiCOM.BoAppEventTypes.aet_ServerTerminition, SAPbouiCOM.BoAppEventTypes.aet_ShutDown
                        '    System.Windows.Forms.Application.Exit()
                End Select
            Catch ex As Exception
                'oApplication.StatusBar.SetText(ex.Message)
            Finally
            End Try

  • Why does my Desktop Mouse freeze (moves erratically) when selecting menu items in PSE13 Editor?

    It seems that my computer with 8GB of memory may not be enough to use PSE13.    The Organizer menu works fine when I select menu items.   The problem is when I switch to the Editor.   My mouse starts to freeze, move fast, or too slow.  It is difficult to select
    a menu item in this situation.

    Unusual. In theory PSE13 should be better as it's a 64 bit application.
    Can you try re-setting the prefs then close and re-launch the Editor. First you need to go to:
    Edit >> Preferences >> General
    Then click the button shown on the image below.

  • Why does form validation take effect when navigating menu items?

    I am using JDev 10.1.3.3.
    I have a data entry form where all the af:inputField's are set to Required=true. I expected that the mandatory fields should only be enforced if I click the form 's submit button.
    However, when I navigate to another menu item from my menu bar without filling in the fields, the mandatory fields also get enforced (e.g. Required Messages on fields appear and I am forced to have to enter some data on the field before I am able to navigate to another menu item. ) Navigating menu items should imply I am not proceeding with the data entry and should allow me to navigate instantly, even if there are blank fields.
    I notice the SRDemo also had this same behavior. Under "New Service Request", if you don't fill in a description and navigate to another menu item from the menu bar, it will complain and ask you to enter a problem description before switching tabs.
    This is obviosly not the intended behavior. How do I change this behavior so that when I switch menu items, data validation will not take place?

    Hi
    it happens cause the entire page is one form when you try to navigate out what it does is that it submits the form.
    To avoid validation for particular links or buttons set their property immediate to "true"
    hope this helps

  • Unable to create Menu Item List Buttons in Forms - Not Working!

    Hi guys,
    I need desperate help since I have been stuck on these for 2 days and I am unable to move forward!!
    I am trying to create a pdf form using Acrobat pro 9 and Adobe LiveCycle Designer ES. Since I am new to this, I have been browsing through numerous sites, forums and tutorials to learn about this. So far, I was able to create the forum with text fields, etc.. I am trying to have a column in my pdf form where the users can simply copy & paste image icons here..I was having difficulty with this already and have done numerous searches in google. In the end, I thought I am better off trying to use the "stamp" tool for this instead of image field. So this is what I did:
    1) I already placed the image icons (that the users will be copying & pasting) on my pdfs so users can simply click on it to select the image.
    2) I added a new bottom to this form which has the short cut to the menu item "copy" function. I labeled this button as 'Copy' and to this button, I added the following javascript for "Mouseup":
    app.execMenuItem("CopyFileToClipboard");
    3) Next I created another button that I called 'paste' and this button executes the "Paste Clipboard Image as Stamp Tool" menu. This button has the following javascript:
    app.execMenuItem("Annots:Tool:StampFromClipboardMenuItem");
    I thought that after doing the above, the user should be able to click on one of the images in the pdf, then click on 'copy' button and in the end click on 'paste' button that will then run an action so user can stamp this copied image to where ever they want in that file. But this is not happening!! I dont why?? Nothing happens when these buttons are clicked. I have made sure that the "Extended features in Adobe Reader..." is enabled and also tried running the above javascripts on my console window to test it and i know that the actual javascript code is not at fault since these functions works when I try the code through the debugger window. But I just cannot figure out why these menu item functions are not working when the buttons I had created are clicked!!! I dont know if what I have done is correct or if there is a easier way to achieve what I am trying to do!! Its a shame there is no simpler way for the end-users to copy and paste images to the columns in the pdf forms.
    please help me understand why the above button are not working....any help will be great!!

    Hi Paul,
    This is further to our email correspondence. I am just pasting your email response here since it may be useful to other newbies like me:
    "Ok here you go ......I had to add the new row via a script object as the new objects are not completely available until the script ends so I cannot resize the new row from teh current script.
    Then when we resize - we have to resize the row, the cells and the image ....we start with all existing subforms then we do it for the new row that was just added.
    Lastly I see that you have a delete row button. This will have to be part of the row otherwise we ill not know which row the user will want to delete .....unless you ask them (which is not good UI design)."
    I was really impressed the way you modified the script so the table height does not change when new rows are added. That did help me in understanding the methods and it will certainly be v useful to me in the future. I have been practicing and getting a hang of LS and I have actually decided to redesigned my form since it appears that trying to have a fixed table height is quite a bit of work each time a row is added, removed or changed, etc... Your advise so far have been v helpful and it has helped me in redesigned the form into a different layout. So far so good...However, I just have a few more clarifications regarding some hurdles I am facing:
    PS: I have emailed you a sample of my new form now so you can have a look at it.
    1) Dynamic Image fields:
    In this form, I have a subform that has a dropdown list and next to this, I have an image field. I want to change the image based on the selection in the dropdown list. I found a few samples and tutorials on this already and I tried 2 different approach for this. One works and the other doesnt.
    Method that works: What I have done here is, I added all the images in the form and have put their presence to invisible. Then using the javascript, I am making the image visible based on the selection in the dropdown list. I found this method somewhere through googling and it works.
    Method that doesnt work: Its similar to the above, but instead of putting all the images in the form, I just inserted 1 image field and then tried to change the url of this dynamic image based on the selection in the drop down list. But this method is not working. I tried inserting this jscript and nothing happens:
    switch (this.rawValue)
    case "1":
    myImages.value.Image.href=http://www.mysiteaddress.com/blah_blah.jpg;
    break;
    case "2":
    myImages.value.Image.href=http://www.mysiteaddress.com/blah_blah2.jpg;
    break;
    The 2nd method does not work. Although I know the method 1 above works and I am currently using it, I am just curious to find out why the 2nd method is not working? Did I get the script wrong or is this feature no longer allowed? I just thought that if the second method works fine, it saves the hassle of putting all the images on the form and then making them hidden. Instead, I just need to put one image field and then dynamically change its image based on the selection. I hope this make sense..please advise..
    2) Changing the background colour of the Dropdown list box:
    I am trying to change the bg colour of the listbox in the dropdown list object (only the listbox bg color and not the whole background color). So, I added the following script to the mouseEnter event and this works:
    var vName = this.somExpression;
    var fieldObj = xfa.resolveNode(vName + ".ui.#choiceList.border.fill.color");
    fieldObj.value = "255,255,225";
    My Problem: The above script works so I dont need to change anything there. But, I also want to add another script to the mouseExit event to change the fill color to its default once the mouse leaves the dropdown lists. Initially, this field has no fill colour and the border fill style is none. The fill color is only added during the mouseEnter event. How do I change the bg color fill back to none during mouseExit after the above script is executed on mouseEnter?
    (NOTE: If you see my form, I have used the above scripts for the dropdown list only in "boxSubform[0]".)
    3) Changing the length of the Dropdown List box:
    I only have about 1.6 inches workspace to add this dropdown list box. However, the length of some lists (list items) in this dropdown list box is actually longer and the remaining part is cut out. So, I added the following script to increase the dropdownlist length and it does not work the way I would have hoped...
    The script I have written so far:
    I added these to the mouseEnter event and it works fine -
    form1.pageSubform.dynamicSubform.Table1.Row1.boxSubform[0].MyDropdown::mouseEnter - (JavaScript, client)
    this.w = "2in";  //this is to to increase the width of the dropdown list
    I added these to the mouseExit event and it works fine too-
    form1.pageSubform.dynamicSubform.Table1.Row1.boxSubform[0].MyDropdown::mouseExit - (JavaScript, client)
    this.w = "1.625in";
    When I tested the form with the above script, this is what happens:
    1) First when you move the mouse over this field, the width increases. Similarly the width decreased when you move away.
    2) So, even if this is clicked, the list box is opened with this 2inch width so thats good.
    3) There are no problems when the mouse is moved over these list items as well. However, this does not look good when the dropdown list item is clicked with its item lists open and then the mouse leaves this area. In this case, as soon as the mouse leaves this area, the mouseExit script runs and hence it makes the drop down list width to shrink eventhough the list items are still open. How do I resolve this? I was thinking about this and I thought the possible way to overcome this is by writing a javascript for the mouseExit event executing something like this:
    if this dropdown list is open,
    then  this.w = "2in";
    else
    this.w = "1.625in";
    I am not sure how to write a jscript for the above?
    (NOTE: If you see my form, I have used the above scripts for the dropdown list in "boxSubform[0]".)
    4) Hiding the alternative row shadowing for hidden columns:
    If you check out my form, you can notice that I have put the "close" button (button to delete table rows) on the left column and I have also put its presence to "Visible (screen only)". The parent table has got the 'alternative row shadow' checked. What I notice here is, when this page is printed, eventhough the first column's presence is set to "Visible (Screen Only)", it still prints the row shadow for this column and it looks bad. How can I fix this? Any help will be great!
    I have already emailed you my new form again so you can have a look.
    Thanks again Paul and I cant thank you enough for your help. I am sooo happy to see such a great support and resources available here since it can be a nightmare for some newbies like me... :-)

  • Run a Report from a Forms Menu

    I have a brain teaser,
    I am trying to run a report from a forms menu item. Here
    is my menu item code:
    RUN_PRODUCT(REPORTS,
    'C:\Documents and Settings\Bradley\My Documents\A_THESIS\Reports\AUCTION_EVENT_REPORT',SYNCHRONOUS,RUNTIME,FILESYSTEM,'',NULL);
    When I call on the menu item it works for a while and then a Reports Background Engine error message says:
    REP-0110: Unable to open file 'C:\Documents and Settings\Bradley\My Documents\A_THESIS\Reports\AUCTION_EVENT_REPORT'.
    REP-1070: Error while opening or saving a document.
    REP-0110: Unable to open file
    Any ideas?
    Any help appreciated,
    Bradley

    Frank,
    I tried it at C:\AUCTION_EVENT_RPT with the same result.
    Do you ever run Reports from a form? If so how do you do it?
    Bradley

Maybe you are looking for

  • Outlook 2013 users getting "The Microsoft Exchange administrator has made a change that.....

    Hi, We are on Exchange 2013 SP1 and we are randomly seeing all Outlook 2013 clients getting "the Microsoft Exchange administrator has made a change..." forcing them to restart Outlook. Outlook 2010 clients are not affected so seems to be related to O

  • Change column width in report

    After creating a report using table 'dept', I have updated that dept table and increased the width of the column dname from 14 to 20. I would like to know how to change the width of the dname column in the report that I created earlier so that it can

  • ? possible to control server connection

    When I first got ATT Uverse, download speed per speedtest.net was dramatically faster than previous DSL, and screens changed very quickly. At that time, use of Google maps and several restaurant rating apps was problematic because each seemed to loca

  • Attach 2 adobe form with the first adobe form

    Hi All,       Can we merge the multiple adobe form into a single adobe form in CRM.  I appended both the adobe form content in a single internal table and tried to download PDF file using FM "GUI_DOWNLOAD" I was able to see only the first form. Could

  • DV AVI files from PC premier 6.5 not recognised by any mac app (so far)

    as the subject says. were exported to a DOS drive while switching from PC to mac. erm... usual PAL specs - nothing special so no reason i can see they don't work. any ideas?