HOWTO remove near ContextMenu field

I'm the substitution of makeContextMenu (ContextMenu contextMenu) to try to create my own context menu.  Everything works fine as I am able to contextMenu.addItem (_newMenuItem1) to add my menu items.  I have been unsuccessful in removing the menu CLOSE however option.  Any ideas?  Thank you

The substitution of makeContextMenu allows you to customize the context menu items that are created from a field (copy, paste, Select, Option to change) and vary depending on the type of field and cursor location.

The substitution of makeMenu gives you full control over the menu.  It's what built the entire menu of the screen, which is where the menu close item is populated.

Tags: BlackBerry Developers

Similar Questions

  • Need help with Add/Remove buttons work field

    Someone here on the forums had previously helped me to get a button set up a form that would add an additional text field to a form.  I need now to a separate created button that will remove a text field in the case where too many have been added.  I hope someone can help me with this because my XML knowledge is virtually nil.  It's not like I can upload files to the forum here, so I'll try to paste my code.  I just need to get the "-" button to subtract a line.  Thanks in advance for the help.

    -Chris

    <? XML version = "1.0" encoding = "UTF-8"? >

    <? XFA generator = APIVersion "AdobeLiveCycleDesignerES_V8.2.1.4029.1.523496" = "2.8.9029.0?" >

    " < = xmlns:xdp xdp:xdp ' http://ns.Adobe.com/XDP/ " "timeStamp ="2010-06 - 28 T 16: 04:04Z" uuid = "081329f3-4914-4dde-87ae-75a83da8434e" >

    " < model xmlns =" http://www.XFA.org/schema/XFA-template/2.6/ ">

    <? formServer defaultPDFRenderFormat acrobat8.1static? >

    < name of the subform = "form1" layout = "CT" local = "en_US" >

    < Pagesand >

    < name Pagearea = "Page1" id = "Page1" >

    < contentArea x = 'No 19.05 mm' y = '12.7 mm"w ="190.5 mm"h ="266.7 mm"/ >

    < average stock = "default" short = long "612pt" = "792pt" / >

    <? templateDesigner expand 1? > < / pageArea >

    <? templateDesigner expand 1? > < / Pagesand >

    < subform w = "7.5" in h = "10.5" in name = "Page1" >

    < subform w = y "174,625 mm" = "79,377 mm" name = "Current_Objectives" layout = "CT" >

    < subform w = h "174,625 mm" = "9,522 mm' name = 'Objective' >

    < = minH "txt_currobj" field name = '8,263 mm"w = mm"174,625">

    < ui >

    < textEdit multiLine = "1" >

    < border >

    <? templateDesigner styleId aped3? >

    < STROKE edge = "lowered" / >

    < / border >

    < margin / >

    < / textEdit >

    < /UI >

    < font size = cast '11pt' = "Verdana" / >

    < topInset margin = ' 1 mm ' bottomInset = ' 1 mm ' leftInset = ' 1 mm ' rightInset = ' 1 mm "/ >

    < para vAlign = "middle" / >

    < caption reserve '7,76 mm' = >

    < para vAlign = "middle" / >

    < value >

    < text > 1. < / text >

    < / value >

    < font size = cast '11pt' = "Verdana" / >

    < / legend >

    < activity = 'initialize' name = "event__initialize" >

    < script contentType = "application/x-javascript" > this.caption.value.text.value = (this.parent.index + 1) + "."

    < /script >

    < / event >

    < / field >

    < occur max = "-1" / >

    <? templateDesigner expand 1? > < / subform >

    < field h = "5.08 mm" name = "curr_obj_add_line" w '5.08 mm' = >

    < ui >

    < button nail = 'push' / >

    < /UI >

    < character = "Arial" / >

    < caption >

    < value >

    < text > + < / text >

    < / value >

    < para hAlign = "center" vAlign = "middle" / >

    < character = "Arial" / >

    < / legend >

    < border = 'right' hand >

    < STROKE edge = "raised" / >

    < filling >

    < color value = '212, 208, 200' / >

    < / filling >

    <? templateDesigner styleId apbx2? > < / border >

    < link match = "none" / >

    < help >

    < toolTip > add < / ToolTip >

    < / help >

    < activity = "click on" name = "event__click" >

    < script contentType = "application/x-javascript" >

    _Objective.addInstance (1)

    < /script >

    < / event >

    < / field >

    < field h = "5.08 mm" name = "curr_obj_del_line" w '5.08 mm' = >

    < ui >

    < button nail = 'push' / >

    < /UI >

    < character = "Arial" / >

    < caption >

    < value >

    < text > - < / text >

    < / value >

    < para hAlign = "center" vAlign = "middle" / >

    < character = "Arial" / >

    < / legend >

    < border = 'right' hand >

    < STROKE edge = "raised" / >

    < filling >

    < color value = "212,208,200" / >

    < / filling >

    <? templateDesigner styleId apbx2? > < / border >

    < link match = "none" / >

    < help >

    < toolTip > delete an element < / ToolTip >

    < / help >

    < activity = "click on" name = "event__click" >

    < script contentType = "application/x-javascript" >

    _Objective.deleteInstance (1)

    < /script >

    < / event >

    < / field >

    <? templateDesigner expand 0? > < / subform >

    <? templateDesigner expand 1? > < / subform >

    < desc >

    < name of text = 'version' > 8.2.1.4029.1.523496.503679 < / text >

    < / desc >

    <? templateDesigner expand 1? > < / subform >

    <? templateDesigner DefaultLanguage FormCalc? >

    <? templateDesigner client DefaultRunAt? >

    <? Acrobat JavaScript strictScoping? >

    <? templateDesigner Zoom 100? >

    <? templateDesigner grid see the: 1, wink: 1, units: 0, color: ff8080, origin: (0,0), interval: (125000,125000)? >

    <? templateDesigner 26 FormTargetVersion? >

    <? templateDesigner 1 SaveTaggedPDF? >

    <? templateDesigner 1 SavePDFWithEmbeddedFonts? >

    <? templateDesigner horizontal management: 1, vertical: 1, guidelines: 1, crosshairs:0? > < / template >

    " < config xmlns =" http://www.XFA.org/schema/XCI/2.6/ ">

    < name of agent 'designer' = >

    PDF of < destination > < / destination >

    < pdf >

    <!-[0 n]->

    < fontInfo / >

    < / pdf >

    < / agent >

    < date >

    <!-[0 n]->

    < pdf >

    <!-[0 n]->

    < version > 1.7 < / version >

    < adobeExtensionLevel > 1 < / adobeExtensionLevel >

    < / pdf >

    < common / >

    < script >

    Server < runScripts > < / runScripts >

    < /script >

    < xdp >

    packs of <>* < / packages >

    < / xdp >

    < / date >

    <? originalXFAVersion http://www.XFA.org/schema/XCI/2.8/ ? > < / config >

    " < Romagna xmlns =" http://www.XFA.org/schema/XFA-locale-set/2.6/ ">

    <? originalXFAVersion http://www.XFA.org/schema/XFA-locale-set/2.6/ ?>

    < name of locale = 'en_US' desc 'English (United States)' = >

    < name calendarSymbols = "Gregorian" >

    < monthNames >

    < month > January < / month >

    < month > February < / month >

    < month > March < / month >

    < month > April < / month >

    < month > may < / month >

    < month > June < / month >

    < month > July < / month >

    < month > August < / month >

    < month > September < / month >

    < month > October < / month >

    < month > November < / month >

    < month > December < / month >

    < / monthNames >

    < abbr monthNames = "1" >

    < month > Jan < / month >

    < month > Feb < / month >

    < month > Tue < / month >

    < month > after < / month >

    < month > may < / month >

    < month > Jun < / month >

    < month > Jul < / month >

    < month > August < / month >

    < month > Ms < / month >

    < month > Oct < / month >

    < month > Nov < / month >

    < month > Dec < / month >

    < / monthNames >

    < dayNames >

    < day > Sunday < / day >

    Monday < day > < / day >

    < day > Tuesday < / day >

    < day > Wednesday < / day >

    < day > Thursday < / day >

    < day > Friday < / day >

    < day > Saturday < / day >

    < / dayNames >

    < dayNames abbr = "1" >

    < day > Sun < / day >

    < day > LUN < / day >

    < day > Tue < / day >

    < day > sea < / day >

    < day > set < / day >

    < day > sat < / day >

    < day > Sat < / day >

    < / dayNames >

    < meridiemNames >

    < meridiem > AM < / meridiem >

    < meridiem > AM < / meridiem >

    < / meridiemNames >

    < eraNames >

    < age > BC < / era >

    < age > AD < / era >

    < / eraNames >

    < / calendarSymbols >

    < datePatterns >

    < name datePattern 'full' = > EEEE, MMMM D, YYYY < / datePattern >

    < name datePattern = "long" > D MMMM, YYYY < / datePattern >

    < name datePattern "med" = > MMM D, YYYY < / datePattern >

    < name datePattern "short" = > d/m/YY < / datePattern >

    < / datePatterns >

    < timePatterns >

    < name timePattern 'full' = > SS A Z < / timePattern >

    < name timePattern = "long" > SS A Z < / timePattern >

    < name timePattern "med" = > SS A < / timePattern >

    < name timePattern 'short' = > h: mm A < / timePattern >

    < / timePatterns >

    < dateTimeSymbols > GyMdkHmsSEDFwWahKzZ < / dateTimeSymbols >

    < numberPatterns >

    < name numberPattern 'digital' = > z, zz9.zzz < / numberPattern >

    < name numberPattern = "currency" > $z, zz9.99 | ($z, zz9.99) < / numberPattern >

    < name numberPattern = '%' > z, zz9% < / numberPattern >

    < / numberPatterns >

    < numberSymbols >

    < name numberSymbol 'decimal' = >. < / numberSymbol >

    < numberSymbol = "group" name >, < / numberSymbol >

    < name numberSymbol = '%' > % < / numberSymbol >

    < numberSymbol name = 'less' > - < / numberSymbol >

    < numberSymbol name = "zero" > 0 < / numberSymbol >

    < / numberSymbols >

    < currencySymbols >

    < currencySymbol = 'symbol' name >$ < / currencySymbol >

    < name currencySymbol = "isoname" > $ < / currencySymbol >

    < currencySymbol = "decimal" name >. < / currencySymbol >

    < / currencySymbols >

    <>fonts

    < name of font = 'Myriad Pro' / >

    < name of font = "Minion Pro" / >

    < name of font = "Courier Std" / >

    < name of font = "Adobe Pi Std" / >

    < name of font = "Adobe Hebrew" / >

    < name of font = 'Adobe Arabic' / >

    < name of font = 'Adobe Thai' / >

    < name of font = "Kozuka Gothic Pro - VI M" / >

    < name of font = "Kozuka Mincho Pro - VI R" / >

    < name of font = 'Adobe Ming Std L' / >

    < name of font = "Adobe song Std L" / >

    < name of font = "Adobe Myungjo Std M" / >

    < / font >

    < / locale >

    < / Romagna >

    < xmlns: x x: xmpmeta = "adobe: ns:meta / ' x: xmptk =" Adobe XMP Core 4.2.1 - c041 52.337767, 2008/04/13-15: 41:00 ">" "" "

    " < RDF: RDF = xmlns:rdf ' http://www.w3.org/1999/02/22-rdf-syntax-ns# ">

    " < Xmlns:xmp = RDF" http://ns.Adobe.com/Xap/1.0/ "rdf: about =" "> "

    < xmp:MetadataDate > 2010-06-28 T 16: 04:04Z < / xmp:MetadataDate >

    < xmp:CreatorTool > Adobe LiveCycle Designer ES 8.2 < / xmp:CreatorTool >

    < xmp:ModifyDate > 2010-06-28 T 11: 28:54 - 04:00 < / xmp:ModifyDate >

    < xmp: CreateDate > 2010-06-18T 11: 45:23 - 04:00 < / xmp: CreateDate >

    < / RDF: Description >

    " < Xmlns:pdf = RDF" http://ns.Adobe.com/PDF/1.3/ "rdf: about =" "> "

    < pdf:Producer > Adobe LiveCycle Designer ES 8.2 < / pdf:Producer >

    < / RDF: Description >

    " < Xmlns:xmpMM = RDF" http://ns.Adobe.com/Xap/1.0/mm/ "rdf: about =" "> "

    < xmpMM:DocumentID > uuid:081329f3-4914-4dde-87ae-75a83da8434e < / xmpMM:DocumentID >

    < xmpMM:InstanceID > uuid:4d9ea5d0-fbf1-4be5-8aa5-b9c828a765e9 < / xmpMM:InstanceID >

    < / RDF: Description >

    " < Xmlns = RDF" http://purl.org/DC/elements/1.1/ "rdf: about =" "> "

    < dc:format > application/pdf < / dc:format >

    < / RDF: Description >

    " < Xmlns:desc = RDF" http://ns.Adobe.com/XFA/promoted-desc/ "rdf: about =" "> "

    < desc:version rdf:parseType = "Resource" >

    < rdf: value > 8.2.1.4029.1.523496.503679 < / rdf: value >

    < desc:ref >/template/subform [1] < / desc:ref >

    < / desc:version >

    < / RDF: Description >

    < / RDF: RDF >

    < / x: xmpmeta >

    " < xfdf xmlns =" http://ns.Adobe.com/XFDF/ "XML: Space ="preserve"> "

    < annots / >

    < / xfdf > < / xdp:xdp >

    Hello

    It is difficult to see the XML Source what is happening. There are sites like YouSendIt.com or Acrobat.com where you can download files from file sharing.

    In any case, I see the Add button, then the delete row button would look like:

    _Objective.removeInstance(this.parent.index);
    

    The underscore character is a shortcut for instanceManager. I suspect that the goal is the repetitive element. It is easier to include the button Delete a row in the repeating line, in this way the user can select which line they want to delete.

    There is an example here: https://acrobat.com/#d=tdpzltrl25yU2PkvgaQO9w

    Look in the click event of the button 'X '.

    Good luck

    Niall

  • Remove instances of field of Foglight

    Hi all

    Is it possible, where we can remove the unwanted from the console foglight field instances. Please suggest me as soon as POSSIBLE.

    HI Shiva-

    If is no longer agents of data collection on these forums, you can go to the management servers-> servers-> data management and delete the fields there. Find a Peoplesoft entry in the list and delete the fields there.

    I hope this helps.

    Robert

  • How to remove the email field in the contact form

    Hello

    I have a problem with the contact form widget must. When I import the widget on the site, I can't delete the email from the contact form field. How can I delete? By pressing the delete key, nothing happens, click on the blue icon appears select required, it won't let me...

    Any help on how to remove the e-mail form would be great.

    Hi Brad,

    Thanks for coming back. Yes by using other forms solves the problem, but the widget is so quick and easy. Pitty this field cannot be deleted.

    See you soon

  • Can't remove the Manager field in AD by IOM 9.1

    Hello
    I'm removing the Manager for a user in the AD profile without changing the Manager ID in the profile of the IOM. I get error when I try to change the attribute Manager replacing a string NULL below.

    LDAP: code error 21-00000057: LdapErr: IDDM-OC090B8A, comment: error in the conversion of attribute operation, data 0, v1db1)


    I get the same error, even if I'm changing the Manager field in AD without changing the Manager field in the IOM.

    I try with the code below.

    BasicAttributes a = new BasicAttributes();
    at.put("Manager","");
    context.modifyAttribute(UserDN,2,at);

    What could be the reason for this error? Please help guys.

    Published by: User_OIM on December 27, 2012 19:06

    Create so first BasicAttribute object and then pass it inside the method could

    BasicAttributes a = new BasicAttributes();
    BasicAttribute ba = new BasicAttribute("manager");
    at.put (BA);
    context.modifyAttribute(UserDN,3,at);

  • How can I remove the search field in the new tab page?

    I just started to use the new tab by default FF page and want to remove the search box just above the tiles.

    Is it possible to do this without the help of CSS?

    You can hide the search bar and margins at the top and bottom with the code in the userContent.css file to get more space for the tiles.

    You can add code to the userContent.css file.

    @-moz-document url(about:newtab) {
     #newtab-margin-top,
     #newtab-margin-bottom,
     #newtab-search-container { display:none !important; }
    }

    Customization files (Web sites) userContent.css and userChrome.css (user interface) are located in the folder of chrome in the Firefox profile folder.

    You can use this button to go to the Firefox profile folder currently in use:

    • Create the folder chrome (lowercase) in the .default < xxxxxxxx > profile folder if the folder does not exist
    • Use a text editor like Notepad to create a file userContent.css (new) in the folder chrome (file name is case sensitive)
    • Paste the code into the userContent.css file in the Editor window
    • Make sure that you select "All files" and not "text files" when you save the file via "save file as" in the text editor as userContent.css.
      Otherwise, Windows can add a hidden .txt file extension and you end up with one does not not userContent.css.txt file
  • How to remove my address field of webb websites

    I want to remove the repetition number of webb addresses that appear when I type an address of a Web site that I have used before. The program seems to store all visits

    You can try to do it this way.

    1. Press CTRL + H to open the history in the sidebar.
    2. In the filter at the top, type the name of the site to delete.
    3. Click with the right button on the top and choose 'delete '.
    4. Delete the rest of the name by holding down the "Del" key

    You can also use these characters to isolate entries in the location bar: Search bar

  • MacOs: HowTo remove com.ni.ServiceLocator?

    I tried a version of Labview on my Mac, some time ago and removed,

    Today, I found the the console so complete with the following messages:

    23.04.09 07:27:05 com.apple.launchd [1] (com.ni.ServiceLocator [7182]) came out with exit code: 1

    23.04.09 07:27:05 com.apple.launchd [1] (com.ni.ServiceLocator) limitation respawn: will start in 10 seconds

    23.04.09 07:27:15 com.apple.launchd [1] (com.ni.ServiceLocator [7183]) posix_spawnp ("/ Library/Application Support / National Instruments/Service Locator/nisvcloc",...): no such file or directory

    It seems to me that there are some remains of the Labview installation, how to remove the script that triggers the launchd daemon?

    Best regards

    Ok

    There must be an entry of old data that produce the message.

    Please take a look on your/Library/LaunchDaemons/Library/LaunchAgents und drive and remove the file manually.

    Kind regards

    Elmar

  • Ive found more than a hundred websites in my registory how to remove my laptop field sites and how they arrived there?

    Ive found on coal in my registory 100 web sites, I would like to know how they got there and how to remove them. "I have a lot of distance connects to my laptop that I don't know how to close", some websites in the programs, it has a password and why is there a password when I never put an on I know my boyfriend has something to with him cause, it has a locked user account and having the present rights please give me an idea what to do before I get rid of my laptop recommended xxx websites in the registory $ 600 million, I feel that I have no privacy please help. responses may be sent by e-mail to dinaallred@hotmail,com

    If you are unsure how this kind of content you obtain on your computer, it is better to assume that it is completely and carefully contaminated with unwanted software, viruses, spyware, or other such unpleasant things.  Check with your laptop manufacturer to see how to do a factory restore to destroy the computer and restore it if you "new factory".  Make sure that you back up files like photos, music, documents and other first because they will be gone once the system is cleaned and restored.

    Once he has restored put on user accounts and to limit access to people only trust you.

  • In REMOVED DB Blob field and save an image

    I need help. I have a db field 'image' of BLOB type and I save the contents to a file on a file local c: \ example.bmp.
    I found many examples
    BEGIN-
    Get LOB locator
    SELECT the image IN l_blob pc_immagini_blob FROM WHERE code = WCI;
    -Open the destination file.
    l_file: = UTL_FILE.fopen ("C: \ Temp ',' EXAMPLE.") BMP', 'w', 32767); -> error
    Pb is not local, but on an application server, the image must be saved in c: the customer. Help me??

    This might help you

    http://baigsorcl.blogspot.com/2010/02/storing-and-retrieving-images-Word.html

    http://baigsorcl.blogspot.com/search/label/WebUtil

  • HOWTO remove movieclip reference of table

    Hi all!

    I wonder... This table prototype manage to remove strings and integers but not movieclip references, how can I achieve this?

    Change this:

    If (this == point) {}
    var pre = this.slice (0, i);
    var message = this.slice (i + 1, this.length + 1);
    return (pre.concat (post));
    }

    TO:

    If (this point ==) {}
    Return this.splice (i, 1);
    }

    --
    Dave-
    Developer leader
    http://www.blurredistinction.com
    Adobe Community Expert
    http://www.Adobe.com/communities/experts/

  • Can I remove the home field in VPIM message?

    the default greeing in the blind transfer VPIM is 'extension xxxx to domainname' but my client wants to play the extension only as 'extension xxxx' without the domain name. Is it possible?

    Thank you

    Hello

    Sorry, confirmation on a blind address is not configurable.

    Nancy

  • HOWTO remove scroll of names at the beginning of photoshop CS4

    Years, I had an old version of photoshop work. I bought from a CS4 stand-alone version, but the names of co-workers still scrolling. How can I get those names out of my computer

    I misunderstood your dilemma.  I thought that you see the names of your co-workers at your workplace.

    Are you talking about the Photoshop splash screen you get when you launch Photoshop?

    Photoshop splash screen displays the names of the developers of Photoshop, beginning always by Thomas Knoll.

    The splash screen does not scroll for about 30 seconds.   If your collection of plug-ins is huge, the splash screen will drag long enough to start scrolling.

    I don't have CS4 to try it, but I tried it with CS5.   If your Photoshop launch time is less than 30 seconds (which is mine), the splash screen disappears without a list of the names of scroll (static).

    BTW: an 'Easter Egg' is located within Photoshop.  If you hold down the control key and click Help > about Photoshop, you will see the Easter egg surprise.

  • How to quickly remove a field "to".

    I have defined an e-mail account to bcc a designated e-mail address (to be able to add the content of the e-mail of a crm) but I was wondering for the emails I want to go to the bcc, is there a faster way to remove the BCC field without having to put the cursor in the field are and delete it manually with the backspace?

    Thank you very much

    Jamie

    I use an add-on that adds an "x" for each area of the address. Maybe this one:

    https://addons.Mozilla.org/en-us/Thunderbird/addon/address-close-button/?src=SS

  • How to remove setStatus field

    Hi all

    I'm new with the BlackBerry JDE.

    I want to use the progress bar on the bottom of my screen.

    I use setStatus (Field) in my screen. It's works.

    But, I could not delete the field.

    I have try this delete (Field), but it's IllegalArgumentException.

    Someone knows how to remove the setStatus field.

    Thank you.

    setStatus (null);

Maybe you are looking for