Combox Enabled property

I working on a custom form where I requiered to manuever a combobox to enabled it or not.  In screen painter I have access to the enabled property (false/true) but in SDK, programming I don't have it.  Graphically:
oCombobox.Enabled = True (or False) will give a syntax error.
Any work around or is this a bug in the SDK.
Regards,
WB

Hi William,
Properties we set in screen painter are item properties(common to all items irrespective of what type of item it is wether edit text or checkbox or combo box) those are not Item.Specific Properties
Item.Specific properties are specific to the items for example Selected  property for comobo box and checked property for checkbox etc..
you need to set the Enabled property on items as Avi Bandel said.
Regards
Vishnu

Similar Messages

  • Set ENABLE property

    In my form I have a list item which ENABLE property is set to FALSE.I want to set this property to TRUE if value of another list item is 'File'.I writed this in WHEN-NEW-ITEM-INSTANCE trigger :
    BEGIN
    IF LTRIM(RTRIM(:P_3))='File' THEN
    SET_ITEM_PROPERTY('P_4',ENABLED,PROPERTY_TRUE) ;
    END IF;
    END;
    but did'nt work.
    Please help me!

    You can try to put your code in POST-TEXT-ITEM trigger of P_3.
    If it does not help then also add to your code:
    BEGIN
    IF LTRIM(RTRIM(:P_3))='File' THEN
    -- add this
    SET_ITEM_PROPERTY('P_4',INSERT_ALLOWED,PROPERTY_TRUE) ;
    SET_ITEM_PROPERTY('P_4',UPDATE_ALLOWED,PROPERTY_TRUE) ;
    SET_ITEM_PROPERTY('P_4',ENABLED,PROPERTY_TRUE) ;
    END IF;
    END;
    I hope this will help you.
    Helena

  • Table cell editor enabled property

    Hi,
    I am using NWDS 7.1 EHP1. I have actually created a table and assigned boolean type of context to the table cell editors. Though i make the context value true, the table cells are disabled. Please help me.
    Thanks,
    Prasanthi.

    Hi,
    To which property of the table cell editor have u binded the boolean attribute- enabled or read-only? coz read-only true always makes the field deiabled.
    After u have binded the boolean attribute, have u set the value in ur code? if not the fields remain disabled
    Regards,
    Poojith MV

  • How make a button enable property "true" while i am clicking a row from datagrid in mxml flex4 app

    hi friends,
    i am new to flex, i am doing flex4 web application with mxml tags.
    i have struck in this place,please give some idea.
    i have one data grid with 5 rows and 4columns,and also i am having one button (property enable is false).
    while i am click a particular row from datagrid that time the button property enbale should be change to true.
    where i have to write code.
    any suggession or snippet code,
    Thanks in advance.
    B.venkatesan.

    Hi,
    You can take help of following code :
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
    <fx:Declarations>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <fx:Script>
    <![CDATA[
    import mx.collections.ArrayCollection;
    [Bindable]
    public var Arr:ArrayCollection = new ArrayCollection([{a:"AAA",b:"BBB"} , {a:"111" , b:"222"}]);
    public function enable():void{
    Btn.enabled=true;
    ]]>
    </fx:Script>
    <mx:DataGrid x="91" y="36" dataProvider="{Arr}" click="enable()">
    <mx:columns>
    <mx:DataGridColumn headerText="Column 1" dataField="a"/>
    <mx:DataGridColumn headerText="Column 2" dataField="b"/>
    </mx:columns>
    </mx:DataGrid>
    <s:Button x="210" y="237" id="Btn" label="Button" enabled="false"/>
    </s:Application>
    Thanks and Regards,
    Vibhuti Gosavi | [email protected] | www.infocepts.com

  • Enable Property Not working in Form Personalization- R12

    Hi All,
    I have an requirement to grade out the button item for Production Supervisor- Batch details, The Button Item is Transact Material, This Button should be grade out always for this particular responsibility.
    See below what logic i used for this requirement in Form Personalization.
    1. For the Batch Details Form Created one Personalization with trigger condition WHEN-NEW-BLOCK-INSTANCE and processing mode Not in Enter-Query Mode.
    2. In Actions tab - Type : Property
    Object Type : Item
    Target Object: GME_BATCH_HEADER.TRANSACTIONS
    Property Name: ENABLED
    Value : FALSE
    After i validate it and pressed APPLY NOW- only at that time the "Transact Material" Button showed as Grade out but after i closed the personalization window and reopen the Batch Details form and am seeing that Transact Material still Enabled instead of Grade out.
    I prefectly saved the personalization window.
    I dont knw why it is working only when i see preview(APPLY NOW) option and not working once i reopen the batch details or logout the apps and reloged again still having the same issue.
    Please help me out if any one come accross this type of issue.
    welcoming your comments on this...
    Regards
    Prabu

    Are you making the fields "required" using personalization?
    The Raise FTF action won't produce any message.
    It looks like some other code is firing before your personalization fires.
    It seems user is unable to save the record. So your requirement is achieved.
    If not, please post details of the personalization.
    Sandeep Gandhi

  • How to check the button Disable/enable property in openscript

    I am creating a test script using openscipt 12.2.0.1 and needs to verify whether a button is in disabled or enabled mode.
    I am trying below code:
    boolean enable=adf.commandToolbarButton(
    *125, "/web:window[@index='0' or @title=' - Collections Customer - Oracle Applications']/web:document[@index='0' or @name='13hipll5e2_1']/web:ADFCommandToolbarButton[@text='Pay' or @absoluteLocator='pt1:USma:MAnt1:pt1:TRX_FL:AP1:AT2:_ATp:ctb1']".exists();*
    if(enable)
    fail("Test failed");
    But this code is not working and Test failed for both enabled and disabled button.
    Please suggest the code which i can use for my scenario.
    Edited by: robi sharma on Apr 12, 2013 2:41 AM
    Edited by: robi sharma on Apr 12, 2013 2:42 AM
    Edited by: robi sharma on Apr 12, 2013 2:42 AM
    Edited by: robi sharma on Apr 12, 2013 2:43 AM
    Edited by: robi sharma on Apr 12, 2013 2:43 AM

    Hi Robi,
    Try this...
    String disabled = adf.commandToolbarButton("XPATH").getAttribute("disabled");
    if(disabled.trim().equals("false"))
        fail("Test failed");
    }If you want to convert your string to boolean use the following:
    boolean boolValue = Boolean.parseBoolean(disabled);
    if(! boolValue)
        fail("Test failed");
    }Regards,
    Deepu M

  • 9236 enable shunt cal property crashes crio OS with scan engine

    I would like to inform users of the 9236 Quarter Bridge Strain Gauge Module of a bug. The Real-Time team is aware of this issue and I have been working with an app engineer on it for about a week and he has confirmed my findings. He says the problem is most likely a driver issue or scan engine issue and they are investigating it.
    There is a bug that completely crashes the cRIO operating system with the 9236 module. Currently when a cRIO device is loaded with LV2009 SP1 or LV2010 and using scan engine interface, attempting to write the "shunt cal enable" property of a 9236 module completely crashes the VxWorks OS. If you try to access the property again, the crio crashes and enters an error state where the crio has rebooted twice without being told to. The LED indicator blinks four times to indicate this.
    I have tested this with a few different hardware combinations with both the crio-9014 and crio-9012 controllers, combined with either the 8-channel 9104 back plane or the 4-channel 9102 back plane with the same results. The app engineer was able to duplicate this issue as well.
    To duplicate the bug:
    Load a crio device with 2009 SP1 or LV2010 and configure the device for scan engine. Locate the 9236 module in the project explorer and drag and drop it into a VI to create the IO variable. Right click the output terminal of the IO Variable and go to create > property > enable shunt calibration  on a channel. Once the property is dropped, right click on it and do change to write so that you can write a boolean to the variable. It doesn't matter if you write a true or false to the property, the results are the same. Hit run, watch it crash. When it reboots, hit run again. The crio is now in a state that can only be recovered by physically resetting the device.
    I love the crio stuff and I use it every day because it is very reliable and robust. This kind of thing is rare, which is why I am reporting it to the community as well as NI as it is a pretty big bug that took me a while to narrow down.
    [will work for kudos]

    rex1030,
    Shunt calibration can be accessed using a property node.  The operation will be the same, you still need to acquire two sets of data and compute the scalar.
    You can obtain the necessary reference by dragging the module to the block diagram from the project.  Please see http://zone.ni.com/devzone/cda/tut/p/id/9351 for more information on programmatic configuration.
    Let me know if you have any other questions.
    Sebastian

  • Accordion component property .enabled has no function???

    Hi, the subject pretty much sums it up. I created an
    accordion component, but setting its .enabled property - which
    according to the component help it has (inherited from UIComponent
    class) - has no effect!

    You can also check for problems with the places.sqlite database file in the Firefox profile folder.
    *http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox
    *https://support.mozilla.org/kb/Bookmarks+not+saved#w_fix-the-bookmarks-file

  • How to disable/enable image property in Web Dynpro?

    Hi,
    I was trying to find a help about "How to disable/enable property of an image in Web Dynpro?" but never find it. Let me explain what I'm trying to do:
    I need to show three different status (Released, Rejected and Approved) each one is an image ... <b>How do I do to disable images property before a process and enable them after it?</b>
    Thanks in Advance, and waiting an answer As Soon As Possible !!!
    Tokio

    Your question is not completely clear to me. An image cannot trigger an event, so disabling it has no effect.
    To display different images in a Image element depending on some condition, you can use a calculated context attribute <i>imageSource </i>of type "string" that returns the URL of the image, something like
    public String getImageSource(IWDNodeElement element)
      if (...)
        return "image_for_status1";
      else if (...)
        return "image_for_status2";
      else if (...)
        return "image_for_status3";
      return ""; /* no image will appear */
    Bind property Image.<i>source </i>to attribute <i>imageSource</i>.
    If you put the three image files inside folder src/mimes/components/<componentName>, your method can simply return the file name without calculating an URL.
    Armin

  • Inputfield----- property enabled..... what's wrong?

    Hello Friends,
    I have a tabstrip, which contains ViewContainerUIelement....( view name e.g View2 ).
    In view2, I have defiend two lables and two inputfields....... property of my inputfields enabled I have checked...but when I run the application the inputfields are shows as "read only" ?
    Then I tried to create attribute "Enabled of type WDY_BOOLEAN" set value to "X" and bind it with the enable property of inputfield..........still same result i.e the inputfield is shown as read-only ???
    Does anyone have any clue, what I am doing wrong ???  ( ofcourse the read_only property is not checked )....
    Regards,

    Thanks for your post......... I have already tripple-checked the "enable" property of all above-containers.........but its set to true....... i.e. the check-box is marked....
    I have no clue why the input-fields are not-editable....
    but when I delete the viewcontainer and place in tabstrip simple transparentcontainer and then place inputfields there, .......it works fine....
    Edited by: Shah H on Nov 18, 2008 4:25 PM

  • Enable/disable problem with button on table toolbar

    Hello *,
    In my WD (ABAP) application, on a view I have a table, a toolbar within it and buttons on the toolbar. I am trying to control 'enable' property of one button, binding it to an attribute in view's context.
    When I do this trick just for any button on the view which is not on the toolbar, it works just fine. But when the button is placed on table's toolbar - it just stays disabled all the time.
    Normally I bind enable property to an attribute in the <b>root</b> node. When I change attribute value, the 'normal' button responds correctly (getting enabled or disabled), but the <u>table toolbar button</u> <b>does not</b>. I start wondering if table controls (like toolbar and its buttons) has something to do with a node the table is bound to?
    Any comments about special features of toolbar and its buttons being placed in a table?
    Thanks!

    Looks like a bug to me. There is nothing special with toolbar buttons vs. "normal" buttons (at least not in Web Dynpro Java).
    Armin

  • Can I set an mx control property globaly for all instances of the control.

    Is there a way of setting the value of a variable on a control for all instances of the control in the application? 
    For example, I have several instances of an mx:Label and I want to change the enabled property for all instances at once rather than refer to each one individually by id.

    One way is to subclass Button and change its enabled getter to watch some static property.  You don’t really want to change Button itself because Buttons exist in lots of places like ScrollBars.

  • How to enable a button only when a tilelist item is selected

    Simple question but it seems quite awkward to me. How do I enable a button only when an item within a tilelist is currently selected?
    For example lets say if I have a button called button1 that is disabled by default and a tilelist called tilelist1 what would I have to add into the brackets of the following code (enabled property of the button) to ensure that the button is only enabled when an item in the tilelist is currently selected but disabled when no items are selected:-
    enabled="{}"

    enabled="{tilelist1.selectedItem}"
    that should do it, it's making an implicit comparision with null (tilelist1.selectedItem == null) which will result in a boolean.
    SelectedItem is null when nothing is selected , not null when something is.

  • On basis of drop down by key values i want to enable and disable ui elements is wda

    How to enable and disable ui elements on basis of drop down by key values as i show in screen shot i have 3 values in drop down by key on basis of those values i need to enable and disable ui elements in webdynpro abap kindly reply back

    Hi Sreedhara,
    There are many tutorials on SCN for learning Web Dynpro ABAP. If the following steps don't make sense to you, please do a search for some tutorials and read through the tutorial materials. Hopefully the tutorials will help you to become familiar with some of the basics of Web Dynpro ABAP.
    Here is how to enable or disable a UI element upon selection from a DropDownByKey.
    In your view context, create a context attribute of type wdy_boolean. For now, let's call this attribute IS_ENABLED
    In your view layout, bind the enabled property of the UI element to the context attribute IS_ENABLED.
    In your view actions, create an action-- let's call it SET_ENABLED-- and bind this action to the DropDownByKey element's onSelect event in the view layout.
    In the event handler method for the SET_ENABLED action, use the Code Wizard to read the value of the DropDownByKey selected value, then use the Code Wizard again to set the value of context attribute IS_ENABLED to either true or false.
    Now when a value is selected from the DropDownByKey, the SET_ENABLED action will be triggered and the IS_ENABLED context attribute will be set to either true or false. Since your UI element's enabled property is bound to this true or false value via the context binding, the UI element will change to enabled or disabled.
    Good luck!
    Cheers,
    Amy

  • Enable Node Manager debug using WLST

    Hi,
    I would like to enable debug for node manager using WLST instead of using the Admin console - by selecting the check box for "Debug Enabled" property under Environment > Machine > Configuration > Node Manager in the Admin console.
    I could locate the MBean name to 'NodeManagerMBean' and the property to 'DebugEnabled', but I'm not sure how to script it.
    Can anybody please guide me?
    Thanks in advance
    Edited by: vikascv on Apr 29, 2009 9:23 AM

    Here you go
    Enable Node Manager debug using WLST
    <a class="jive-link-external" href="http://www.togotutor.com">http://www.togotutor.com</a> (Learn Programming and Administration for Free at Togotutor)
    def connection_to_Admin():
    try:
    connect(username, password, URL)
    except wlst.WLSTException, ex:
    print "Caught exception while connecting: %s" % ex
    else:
    print "------- Connected successfully! ---------"
    connection_to_Admin() #Calling the connect Function
    edit()
    startEdit()
    cd('/Machines/MS1/NodeManager/Machine_1')
    cmo.setDebugEnabled(true)
    activate()
    Thanks
    Togotutor
    <b><a class="jive-link-external" href="http://www.togotutor.com">http://www.togotutor.com</a> (Learn Programming and Administration for Free)</b><</td>

Maybe you are looking for

  • Firefox 16 will not close in mac 10.6.8

    I am using a MacBook (MacBook6,1) Mac OS X v 10.6.8 Firefox 16.0.2 When I close or quit Firefox the windows will disappear however the program will continue. I have to do a "Force Quit" to get it to completely shutdown. This seams to happen more the

  • Custom bsp template for MBO.

    1. I've copied hap_document bsp application to my own z*.  2. I created a BAdI implementation based on definition HRHAP00_BSP_TMPL. 3.  I've activated the implementation, went to the basic setting of OSA (transaction OOHAP_BASIC) and register the new

  • Portal cookie scope

    I have 2 application servers using the same portal instance. Each server is registered as a partner application in the login server. I want to use this apps servers in load balancing configuration. If I login in the app server 1 and then try to acces

  • Transport is hang

    Hi friends When i am importing request its status is "Running". at that it is giving RC 0. every time i am going to import monitor and deleting the entries manually. it means that import is successful? what sholud i do to avoid this problem? thanks i

  • Won't Partition After Defrag w/ 14 gig free

    So here is a conundrum for you: I am trying to install windows on my mac and the darn HD wont partition. This is after running iDefrag and deleting a whole bunch of crap on my computer to give me 14 GB of free space. Please help because I cant take t