Setting visible false "ActionItem".

IM use QML "ActionItem", I want it to be visible in some cases and invisible to some of my use case.

But if I see the option available, there is no property not called 'visible '.

I don't want to use the property called 'enable '.

Is thera in no way meet the visible true or false?

Thank you

Ganesh

@oniongarlic is right, you should accept his answer as a solution if operate you.

Look at the code of @ekke for a simple example of remove ActionItem:
https://appbus.WordPress.com/2014/09/13/supporting-BlackBerry-Passport-10-3-themes-signatureaction-t...

Look for the section titled "don't use no disabled Signature Actions."

It has a different use for the ActionItem remove, he does it to ensure that it is visually easy to know whether or not a Signature ActionItem is disabled, but the code is quite similar in your case.

Tags: BlackBerry Developers

Similar Questions

  • No data found error when clicking on an item whose property update_allowed set to false

    Hello Expert,

    I use the formula 10g. the trigger for the instance runs a times-news-shape following code:

    trigger name: My_trigger

    {code}

    DECLARE

    L_FIRST_BLOCK VARCHAR2 (50);

    L_LAST_BLOCK VARCHAR2 (50);

    L_CUR_BLOCK VARCHAR2 (50);

    L_NEXT_BLOCK VARCHAR2 (50);

    CUR_FORM VARCHAR (50): =: SYSTEM. CURRENT_FORM;

    L_BLOCK_TABLE VARCHAR2 (100);

    / * This program checks each database block table and set the updatable property according to the indicator of access. */

    BEGIN

    L_FIRST_BLOCK: = GET_FORM_PROPERTY (CUR_FORM, FIRST_BLOCK);

    L_LAST_BLOCK: = GET_FORM_PROPERTY (CUR_FORM, LAST_BLOCK);

    L_CUR_BLOCK: = L_FIRST_BLOCK;

    -Check each block in a loop

    LOOP

    -Check the name of the database block table

    L_BLOCK_TABLE: = GET_BLOCK_PROPERTY (L_CUR_BLOCK, QUERY_DATA_SOURCE_NAME);

    -Si Table is then check the indicator of access to each field and property accordingly

    IF NVL (L_BLOCK_TABLE,' ') <>' ' THEN

    DECLARE

    L_FIRST_ITEM VARCHAR2 (100);

    L_LAST_ITEM VARCHAR2 (100);

    L_CUR_ITEM VARCHAR2 (100);

    L_ACCESS VARCHAR2 (1);

    BEGIN

    L_FIRST_ITEM: = L_CUR_BLOCK |'. ' || GET_BLOCK_PROPERTY (L_CUR_BLOCK, FIRST_ITEM);

    L_LAST_ITEM: = L_CUR_BLOCK |'. ' || GET_BLOCK_PROPERTY (L_CUR_BLOCK, LAST_ITEM);

    L_CUR_ITEM: = L_FIRST_ITEM;

    LOOP

    IF Get_Item_Property(L_CUR_ITEM,ITEM_TYPE) NOT IN ("BUTTON", "CHART ITEM", 'DISPLAY ITEM', 'IMAGE', "VBX CONTROL") THEN

    IF Get_Item_Property (L_CUR_ITEM, ITEM_CANVAS) IS NOT NULL THEN

    IF Get_Item_Property (L_CUR_ITEM, ENABLED) <>'FALSE' THEN

    IF Get_Item_Property(L_CUR_ITEM,VISIBLE) <>'FALSE' THEN

    If Get_Item_Property (L_CUR_ITEM, CONCEAL_DATA) <>'TRUE' THEN

    L_ACCESS: = CHECK_ACCESS_FLAG(L_BLOCK_TABLE,USER,L_CUR_ITEM);

    IF L_ACCESS = "Y" THEN

    SET_ITEM_PROPERTY (L_CUR_ITEM, UPDATE_ALLOWED, PROPERTY_TRUE);

    -SET_ITEM_PROPERTY(L_CUR_ITEM,INSERT_ALLOWED,PROPERTY_TRUE);

    ON THE OTHER

    SET_ITEM_PROPERTY (L_CUR_ITEM, UPDATE_ALLOWED, PROPERTY_FALSE);

    -SET_ITEM_PROPERTY(L_CUR_ITEM,INSERT_ALLOWED,PROPERTY_FALSE);

    END IF;

    END IF;

    END IF;

    END IF;

    -OTHER

    -MESSAGE(L_CUR_ITEM||') CANVAS "|" Get_Item_Property (L_CUR_ITEM, ITEM_CANVAS)); MESSAGE(L_CUR_ITEM||) e CANVAS "|" Get_Item_Property (L_CUR_ITEM, ITEM_CANVAS));

    END IF;

    END IF;

    IF L_CUR_ITEM = L_LAST_ITEM THEN

    EXIT;

    END IF;

    L_CUR_ITEM: = L_CUR_BLOCK |'. ' || GET_ITEM_PROPERTY (L_CUR_ITEM, NEXTITEM);

    END LOOP;

    END;

    END IF;

    IF L_CUR_BLOCK = L_LAST_BLOCK THEN

    EXIT;

    END IF;

    L_CUR_BLOCK: = GET_BLOCK_PROPERTY (L_CUR_BLOCK, NEXTBLOCK);

    END LOOP;

    GO_BLOCK (L_FIRST_BLOCK);

    END;

    {code}

    Code trigger a time new form instance

    execute_trigger ('My_trigger');

    When I click on any item and try to update its display message status bar:

    FRM-1403, ora-01403 no data available.

    Should be given, the field is protected. or see the user define the message, like 'you can't update this field.

    Help, please.

    Thank you

    Yoann

    Just a wild guess, but maybe there are little code in your WE-ERROR-trigger which is not working properly.

  • Event.currentTarget.visible = false true back

    Hi, I have a delicate issue, I ' m make a game involving learning activities. In this one, I have to push the letters on a screen and compose a Word. Whenever you click on a letter he sets its State to false, so you can't click on it again. Just as worked so far, but right now I do not know how the value visible return letters I clicked on.

    Basically, I have to do, for example, if you make a mistake in selecting the letters you want to make the word. I managed to create a button Delete, you can press on, so the letter will pop out of the textfield, but how do I set the button or the letter to visible?

    I tried to push the clickedLetters into a table, but they can become so visible channels = true does not work. Any help?

    Thank you

    private function takeTheLetter(Event:MouseEvent):void
            {
                var letterTraced:String = Event.currentTarget.letter.text.charAt(0);
                clickedLettersArray.push(letterTraced);
                //show the letters that are typed;
                var composeWord:String = clickedLettersArray.toString();
                composeWord = composeWord.split(",").join("");
                hero_txt.text = composeWord;
                //remove the pressed letter
                Event.currentTarget.visible = false;
    
                currentTargetArray.push(letterTraced);
                trace(currentTargetArray);
            }
    
    private function deleteTheLetter(Event:MouseEvent):void
            {
                clickedLettersArray.pop();
                //set the array back to a string;
                var correctedWord:String = clickedLettersArray.join(",");
                //set the true sprite to compare
                correctedWord = correctedWord.split(",").join("");
                hero_txt.text = correctedWord;
            }
    

    private void deleteTheLetter(evt:MouseEvent):void

    {

    clickedLettersArray.pop ();

    define the array to a string;

    var correctedWord:String = clickedLettersArray.join(",");

    the true sprite to compare the value

    correctedWord = correctedWord.split(",").join("");

    hero_txt. Text = correctedWord;

    currentTargetArray [currentTargetArray.length - 1] .visible = true;

    currentTargetArray.pop ();

    }

    IT IS THE RIGHT CODE, IF SOMEONE NEEDS.

  • What does it mean when accessibility.delay_plugins is set to false?

    I keep having problems with Flash player crashing in Firefox, while Zynga Games. I have the latest version of Firefox, Flash Player, plugins have been reset: I jumped through all the hoops and continue to have problems. I realize realize that games Zynga race very slowly so I decided to start tweaking timeouts in Firefox. What does it mean exactly when the accessibility.delay_plugins parameter is set to false? Is - average access delay is disabled by default?

    See the comments in this file:

    722 #ifdef XP_WIN
    723 // Some accessibility tools poke at windows in the plugin process during setup
    724 // which can cause hangs.  To hack around this set accessibility.delay_plugins
    725 // to true, you can also try increasing accessibility.delay_plugin_time if your
    726 // machine is slow and you still experience hangs.
    727 // See bug 781791.
    728 pref("accessibility.delay_plugins", false);
    729 pref("accessibility.delay_plugin_time", 10000);
    730 #endif
  • Why security.ssl3.dhe_dss_aes_256_sha is set to 'false' on Firefox 33.0?

    I just noticed that on Firefox 33.0 release (WinXP 32-bit home), the security.ssl3.dhe_dss_aes_256_sha is set to "false" by default. But not the releated more low security.ssl3.dhe_dss_aes_128_sha, which is still to 'true '.

    It must have happened on one of the latest versions.

    Why was the old disabled?

    See this bug for more details report:

    • bug 1036765 - Disable cipher suites that are not in the proposal of "Suite of encryption in the browser" which are always activated

    Please, do not comment in bug reports
    https://Bugzilla.Mozilla.org/page.cgi?id=etiquette.html

  • How can I move my tabs down? browser.tabs.onTop is already set to "false".

    I followed the instructions in the help on this article, but when I got to browser.tabs.onTop, it has already been set to "false". So I tried to put it on true, but there was no change. Go back, it was again set to false, but my tabs are always on top. Please help - it is a problem for me!

    If you miss the module bar and the tabs on the bottom option, you can certainly do with extensions!

  • The value of browser.urlbar.autoFill is always set to false whenever I restart Firefox 28

    The value of browser.urlbar.autoFill is always set to false whenever I restart Firefox 28.
    I go to about: config and change the value 'true' but, after restarting Firefox it return false, so I can not AutoComplete URLS

    Note that your list of details of the system shows that you have a user.js file in the profile folder to initialize prefs each time you start Firefox.

    The user.js file is present than if you or another software has created this file and normally it wouldn't be here.
    You can check its contents with a text editor (right click: open with) If you do not create this file yourself.

    The user.js file is read whenever Firefox is started and initializes the preferences to the specified value in this file, so the preferences set via user.js can be changed temporarily for the current session.

    You can delete a possible user.js file and numbered prefs-# .js files and rename (or delete) the file prefs.js to reset all the prefs by default, including the prefs set via user.js and pref which is no longer supported in the current version of Firefox.

  • How to make a column always visible = "false" on the rendering of page every time

    Hi Experts ADF,

    JDev version 11.1.1.7.0

    I have a collection of panels. Inside the panelcollection, I have a table. The table has many columns in which a column a visible = "false".

    Now, if I turn the page, can I get all the lines except the 1 that is visible = "false". So panelcollection menu user selects this hidden column. This column now appears.

    If you close and reopen the browser. You will see the hidden column is displayed by default. "Please help me on this.

    If I delete cookies every time, this column is not displayed. which is correct.

    Thank you

    Roy

    Persistence parameters are broad and because my project is being built in the main application (actually MainPortal web app), the components of the ADF in my user interface follow same persistence settings.

    Thank you

    Roy

  • How can I set _gby_hash_aggregation_enabled = FALSE in 11 GR 2

    Hello
    I am tiring to define together gbyhash_aggregation_enabled = FALSE in my new 11 GR 2 instance using the:

    ALTER system set gbyhash_aggregation_enabled is false scope = spfile;.

    And I get this:

    ALTER system set gbyhash_aggregation_enabled = false scope = spfile
    *
    ERROR on line 1:
    ORA-00911: invalid character

    change the system '_gby_hash_aggregation_enabled' = false;

  • "Box2.visible = false" NOT WORKING UGH

    Okay, so I was this simple little problem for the past 12 hours. Literally. I have not found a single ounce of a response to this.

    I have a simple AS3 doc and I have 2 boxes. Each box is in its own layer and each area has its respective "Box" and "Box2" instance name

    'Box' has a simple WASD move function. "Box2" is static, but the "if" statement

    if (Box.hitTestObject(Box2))
    {
         Box2.visible = false;
    }
    

    SUPER EASY RIGHT? Well it doesn't work at all... And I have absolutely no idea why. I started with a fresh and all doc. The top command does everything just not in my documents I. Yet when I download from someone else, it works perfectly.

    Thanks for any help in advance. I'm dying here for answers lol.

    P.S. There is no error or output messages. Also, I am running CS5.5

    P.P.S. Yes, I tried "hitTestPoint(Box2.x,Box2.y,true)" and "hitTest (Box2). Eventually, both give me the same result as the top line. No errors and no output message.

    ("HitTest (Box2)" gives me an error message, but I think that I am just using the wrong function)

    That's what I thought I'd see after your description of it, but I didn't want to say until I saw him.

    This conditional to the end you will run only once as soon as you start the file.  If the two objects are hit not at this time, the conditional will never test positive.

    If you watched the example file I posted would have received you an indication of what you're doing wrong.  You must run this condition, each time you move, which means it must be inside the fl_MoveInDirectionOfKey_2 function

    function fl_MoveInDirectionOfKey_2(event:Event)

    {

    If (upPressed)

    {

    Block.y-= 5;

    }

    If (downPressed)

    {

    Block.y += 5;

    }

    If (leftPressed)

    {

    Block.x-= 5;

    }

    If (rightPressed)

    {

    Block.x += 5;

    }

    If (Block.hitTestObject (Block2))

    {

    Block2.visible = false;

    trace ("hit!");

    }

    }

  • JBO.ampool.doampooling set to false during execution.

    Hello everyone,

    Is it possible to set the configuration property jbo.ampool.doampooling set to false at run time?
    If possible, how can I do?

    Thanks in advance.

    See the section * 40.2.4 how to value Configuration properties programmatically * in
    http://download.Oracle.com/docs/CD/E12839_01/Web.1111/b31974/bcampool.htm#sm0301

    Thank you
    Nini

  • CS5.5 Does animation movieclip animate again when it is visible = false?

    CS5.5: Animation movieclip still alive when it is visible = false?

    I'm trying to save as much CPU as possible to reduce delays for an iphone/computer app.

    something which does not currently exist and which are later will consume memory where it exists.  In addition, all that needs to be made will consume cpu cycles while it is rendered.

  • TextArea and DateField in DataGrid editable after that 'editable' set to 'false '.

    I have a DataGrid, and although I have set the 'editable' DataGrid 'false' field and also put the field 'editable' 'false', the DateFields and the text box columns are always editable. Someone knows why?

    <mx:DataGrid id="touchpointDG" dataProvider="{contactTouchpointsXLC}" width="100%"
    alternatingItemColors="[0x80BDE0, 0xD2F5E9]" rowHeight="25" editable="false">
    <mx:columns>
      <mx:DataGridColumn dataField="touchpointDate" headerText="Date" 
        itemRenderer="components.DateFieldXML" width="100" editable="false"/>
      <mx:DataGridColumn dataField="touchpointType" headerText="Type" width="170"/>
      <mx:DataGridColumn dataField="touchpointResult" headerText="Result" width="120"/>
      <mx:DataGridColumn dataField="touchpointNextAction" headerText="Next Action" width="205"/>
      <mx:DataGridColumn dataField="touchpointNextActionDate" headerText="Next Date" 
        itemRenderer="components.DateFieldXML" width="100" editable="false"/>
      <mx:DataGridColumn dataField="touchpointDetails" editable="false" 
        headerText="Touchpoint Details" itemRenderer="mx.controls.TextArea"/>
    </mx:columns>
    </mx:DataGrid>
    
    

    It only determines if the DG opens an editing session.  It is not actually set editable = false on the component.

    Alex Harui

    Flex SDK Developer

    Adobe Systems Inc..

    Blog: http://blogs.adobe.com/aharui

  • Setting to false 'Title bar Visible' does not work

    Nobody seems to take me seriously, my comment here remained ignored...

    In fact, I have a complex UI (with several panels, including panels of the tab) that once loaded displays the title bar, even if the box is removed.

    Is there another setting that overrides this? I couldn't find any hint in the docs.

    CVI2013 f1

    Code:

    If (InitCVIRTE (0, argv, 0) == 0) return (-1) End Function
    SetSleepPolicy (VAL_SLEEP_SOME);
    LoadPanel ("notitlebar.uir", PANEL, & main_panel_handle);
    If (main_panel_handle< 0="" )="" return="" (="" -1="">
    DisplayPanel (main_panel_handle);
    RunUserInterface ();

    Hello Wolfgang,

    I managed to reproduce the problem, and it seems that the bug No. 433769 also covers this issue.

    Best regards and thanks for your comments,

    = Nelu F. | National Instruments.

  • Plugins cannot be activate - even if click_to_play is set to false

    Using Firefox 30.0 (Ubuntu 1.0) on Ubuntu LTS AMD64, selected on 12.04.4: config, plugins.click_to_play, false

    Still need to select 'Activate' whenever I go to a site and need to use Adobe Acrobat or any other plugin. Very annoying.

    What is the default setting for plugins on the page "Firefox/tools > Modules > Plugins '?

    Start Firefox in Safe Mode to check if one of the extensions (Firefox/tools > Modules > Extensions) or if hardware acceleration is the cause of the problem.

    • Put yourself in the DEFAULT theme: Firefox/tools > Modules > appearance
    • Do NOT click on the reset button on the startup window Mode safe

Maybe you are looking for

  • Recently closed tabs does not work for me

    Recently closed tabs does not work for me. When I go to history-> recently closed tabs is not available and the shortcut does not work. It happened a few weeks ago, and when it happened first, the shortcut would open the tabs in the weeks earlier. I

  • iTunes loses contact with (cant find) music on USB

    Years, I kept my large collection of music & audio book, etc. on a USB key, keeping my clear computer memory. I have set itunes NOT organize or copy music, leaving in the folders I find convenient. I have no problem setting up itunes and adding music

  • Satellite A200 - battery empty after 2 hours

    My laptop SATELLITE A 200 - BJ runs exactly 2 hours when I'm on the plane "save energy" - then I have to download. Is it normal? I bought 1 month ago and I don't konow how :(Please help me, thx

  • (Redirected) Recalibrate the batteries for laptops, and to protect the life of the battery

    There is a similar program for laptop Dell of Alien? http://www.geckoandfly.com/7494/how-to-extend-Sony-VAIO-laptop-battery-life-with-care/ I just bought a new Dell laptop, but don't seem to find something similar. I do not want to disconnect the bat

  • Problem: Windows 7 Build 7601, copy of windows not genuine

    I got this computer since 2010, came pre-packaged with windows 7. So what's the problem now, recently, after several problems repetitive windows setup shows windows 7 build 7601 not authentic. What is the problem here?