Default appearance of disabled items

Hi, i would like to have some informations on visual attributes of disabled items :
--Is it possible to change the default appearance of disabled items?
--How oracle forms manage visual of disabled items?
--Is it possible to change background or foreground color of disabled items?
Thank you very much.
Edited by: Tabit7 on Jul 19, 2011 6:30 AM

This seems a pretty simple thing to test. For example, I created a sample form and in the When-New-Item-Instance trigger I added the following code:
:BLOCK1.ITEM1 := 'TEST';
Set_Item_Property('BLOCK1.ITEM1',BACKGROUND_COLOR,'r255g255b000');  /* YELLOW */
Set_Item_Property('BLOCK1.ITEM1',FOREGROUND_COLOR,'r255g255b255');  /* WHITE */Good so far. Background is Yellow and Forground is White. Then I disabled the item.
Set_Item_Property('BLOCK1.ITEM1',ENABLED, PROPERTY_FALSE);and the text Forground color changed to light black or dark grey. So to answer your questions:
--Is it possible to change the default appearance of disabled items?Yes - but, not all attributes of the disabled item can be modified.
--How oracle forms manage visual of disabled items?The basic appearance of the item doesn't change except for the forground color.
--Is it possible to change background or foreground color of disabled items?Background color = YES, Forground color = NO.
If there are other attributes you want to change, Font Style, etc, I suggest you try to set the property and see what happens. As it turns out, you can also change the FONT_SYTLE of a disabled item as well. ; )
Hope this helps,
Craig B-)
If someone's response is helpful or correct, please mark it accordingly.

Similar Messages

  • How to change the font color of a disabled item

    Can I change the default color of a disabled item from gray to something else? I've tried to put style="color:darkblue" in the HTML form element attributes but it didn't worked.

    Hi,
    Code probably run, but IE do not just understand CSS what code set ?
    I did find something related
    http://www.askthecssguy.com/2007/05/shawn_asks_the_css_guy_about_s_1.html
    Regards,
    Jari
    Edited by: jarola on Oct 27, 2010 11:24 PM
    And this
    http://stackoverflow.com/questions/602070/changing-font-colour-in-textboxes-in-ie-which-are-disabled

  • Disabled item problem on Apex 4.1.1.00.23

    Hello gentleman's
    I've got a problem. On my application i have a page with a text field with the options 'Disable' and 'Save Session State' setted to 'yes'. When i put some value on the text field using javascript and try to submit the page the following error message appears:
    'Session state protection violation: This may be caused by manual alteration of protected page item P1_TEXT. If you are unsure what caused this error, please contact the application administrator for assistance. Contact your application administrator.'
    I really need to save the session state of the text field, even when it is disabled, does anybody know anything about this issue?? I reproduced the error on apex.oracle.com:
    http://apex.oracle.com/pls/apex/f?p=1942:LOGIN:1277533900325401
    login: test
    password: test
    Best Regards
    Rogério

    What you're seeing is the intended and desired functionality of disabling an item and proof of APEX's built-in security robustness.
    To accomplish what you want:
    Turn off the 'Disable' option and set the 'HTML Form Element Attributes' to readonly="readonly"Keep in mind though, that now your "disabled" item can be modified by any user that knows how to access and manipulate DOM objects. If that is a concern you may need to come up with some way to validate the item values allowed.

  • Visual attributes of disabled item. plase help

    I have a form where when i disabled an item, this item item became unreadable, the font has blanc shine and when changing visual attributes property, can not find how to fix it. Do you have any idea? Thank you very much for your help. Thnaks.

    Thanks, i think of this but the items are mainly checkbox and radio button, i need to keep enabled to false.
    But would like to know is it possible to change the default visual displaying of disabled items?
    Edited by: Tabit7 on Jul 18, 2011 9:41 AM

  • Disable Item in tabular form in Apex

    I would like to disable items in tabular forms.
    If line status is Draft then all items of tabular form are enable other disable.
    How to write this condition and where should i write because in dynamic action tabular Item is not showing...
    Edited by: 926257 on Apr 9, 2012 12:53 AM

    hi
    926257
    you can do that using java script
    these links may helpful to you
    <a href>Tabular form: how to dynamically enable/disable columns and rows
    <a href>Tabular Form: Enable/Disable a field based on the status of a check box
    <a href>http://www.codetoad.com/javascript/enable_disable_form_element.asp</a>
    <a href>http://www.tizag.com/javascriptT/javascript-getelementbyid.php</a>
    thanks and regards
    pavan

  • Changing the default view for Line Items in an Auction.

    Hello All,
    We have a version 5 client who is asking for us to change the default view for line items in an auction.
    Currently, if you have an auction setup, and you go to the Line Items tab, the default view is the "Basic View". The client would like to change the Default from "basic view" to "price view".
    Is there a way to change this default in the system? Can this be configured using query groups? Any information would be helpful.

    Hi wood cloud,
    This is not possible, bcz there is no VLV for that drop down and we cant set it  to the price view.
    Thanks,
    Ankur Goyal

  • HOW DO I SEND AN EMAIL ON MY IPHONE OR IPAD AND MAKE IT APPEAR ON THE MAIL APPLICATION ON MY MAC?   IT ONLY WORK THE OTHER WAY ---SENDING AN EMAIL ON MY COMPUTER ---APPEARS IN SENT ITEMS ON MY IPHONE AND IPAD.

    HOW DO I SEND AN EMAIL ON MY IPHONE OR IPAD AND MAKE IT APPEAR ON THE MAIL APPLICATION ON MY MAC?   IT ONLY WORK THE OTHER WAY ---SENDING AN EMAIL ON MY COMPUTER ---APPEARS IN SENT ITEMS ON MY IPHONE AND IPAD.

    IT IS FOR GMAIL.

  • Access for the disabled item

    Hi All!
    I have a disabled htmldb item, how can i read or access for this item's value? I would like to work with this value in the apex process.
    Now, if i use this disabled item (:P1_DIS_ITEM) in the process i get null value... But there is a value in...
    thx

    Hello:
    Disabled items are cleared out from session state upon Submit.
    Create a hidden item on your page and populate this hidden item just as you populated the disabled-item.
    In your page-process refer to the hidden item instead of the disabled item.
    Varad

  • Disabled item in plot legend when scrollbar is visible

    Problem is that plot legend shows only the plots being displayed correctly, while plot legend scrollbar is not being displayed, which is being controlled using LegPlotMin and LegNumRows properties. But when plot legend scrollbar is enabled (when number of plots exceed a certain number) then one disabled item (already being displayed in the enabled item above it) becomes visible. How to not show it while plot legend scrollbar is visible?
    Second question. If plot legend scrollbar is visible and the user has scrolled it to the bottom and left it there and then selects options where the number of plots are less than a certain threshold and the scrollbar is set to invisible, using property node; then the only lower disabled plot names are shown. So how do I set the scroll position for plot legend scrollbar. I could not find any scroll position property for plot legend scrollbar.
    Thanks

    It is true that you cannot set the index of the topmost displayed plot in a plot legend. It's a missing property! To accommodate long legends, I have used two graphs, one hidden behind the other. Both receive all the data, and their two legends are aligned side by side. In fact, I wrote a routine to align legends of stacked plots, which I've attached here for you. Maybe you'll find it useful!
    Attachments:
    align legends.llb ‏144 KB

  • Cannot set the default value of an item in the detailed table

    Hi,
    I have Master-Detail group, both are Table formats.
    I need to set the default value of an item in the details row to the value of an item in the selected row in the Master table.
    I tried Default Display Value=#{row.MasterItem}, but it seems it is trying to access current details row instead of the Master.
    I tried #{bindings.MasterGroupColumnName.inputValue}, but it does not work.
    Any ideas
    Thanks in advance
    Mohamed

    I think I now what I'm doing differently, I had the "New Rows" JHS property of the detailed table group "empty" instead of the default "2" value.
    It seems that "Default Display Value" expression works only for the new records specified in the "New Rows" property. But when I try to "Add" new record using the "Add Row" button, the new record inserted does not have the default values generated, only has values populated for the items of the FK (in the view link) but not the ones set through the property.
    I guess in a nutshell, how I can get the details item to behave like the FK columns?
    Thanks much
    Mohamed

  • On OSX 10.6.8 Mac Mail sent items do not show the Bcc field. Adjusting settings in mail/prefs/viewing/custom/bcc has no affect on Mail, ie Bcc still does not appear on sent items. Anyone got a fix?

    On OSX 10.6.8 Mac Mail sent items do not show the Bcc field. Adjusting settings in mail/prefs/viewing/custom/bcc has no affect on Mail, ie Bcc still does not appear on sent items. Yet another example of Mac caring not a jot about the performance of versions of OS and software running on on older hardware. Anyone got a fix by any chance? Oh and fyi I need to see the Bcc in sent items to confirm sent email is attaching to Salesforece - when I see the Bcc I know I can delete it as a copy will be in SForce. Big thanks W.

    On OSX 10.6.8 Mac Mail sent items do not show the Bcc field. Adjusting settings in mail/prefs/viewing/custom/bcc has no affect on Mail, ie Bcc still does not appear on sent items. Yet another example of Mac caring not a jot about the performance of versions of OS and software running on on older hardware. Anyone got a fix by any chance? Oh and fyi I need to see the Bcc in sent items to confirm sent email is attaching to Salesforece - when I see the Bcc I know I can delete it as a copy will be in SForce. Big thanks W.

  • HTMLDB_ITEM.TEXT : disable item !

    Hello,
    I have a question regarding the use of HTMLDB_ITEM.TEXT,
    Exemple, if my report contains the following :
    select
    HTMLDB_ITEM.HIDDEN(1,p.id) id,
    HTMLDB_ITEM.TEXT(2,p.year) year,
    HTMLDB_ITEM.TEXT(3,p.name) name
    FROM person p
    where p.id = :P1_ID
    - the column year is diplayed but I have to disable it.
    - the column name is updated by the user.
    the save process is the following :
    for i in 1..wwv_flow.g_f01.count loop
    if wwv_flow.g_f01(i) is not null then
    update person set name = wwv_flow.g_f03(i)
    where id=:P1_ID and year = wwv_flow.g_f02(i) ;
    end if;
    end loop;
    works fine.
    My problem is : I must disable the column year, I have do the following :
    select
    HTMLDB_ITEM.HIDDEN(1,p.id) id,
    HTMLDB_ITEM.TEXT(2,p.year,3 ,2, 'DISABLED=DISABLED') year,
    HTMLDB_ITEM.TEXT(3,p.name) name
    FROM person p
    where p.id = :P1_ID
    Now, wwv_flow.g_f02(i) is no longuer recognized !!!!!!
    Any help !
    Jina.

    Jina,
    Perhaps this posting helps?
    Re: Bug: Disabled items on tabular form
    Regards,
    Marc

  • Posted One-Time Ledger Re-appear in Plan Item

    Hi Expert,
    I have a contact with Actual Rental and One-Time Ledger Rental (dated 15.05.2007 with RM6000). The cash flow appear correctly (just appear actual rental) before i enter a new one time ledger rental.
    When i insert a new One-Time Ledger Rental dated 01.05.2009 (RM500), why the old posted One Time Ledger Rental (15.05.2007, RM6000) row appear also in cash flow in Display Plan Item view ? If i save new one time retnal and execute Periodic Posting (RERAPP), the old one time ledger also incuded.
    I tried for other contract is ok, this only happen to one of the contract. Can anyone help me why before insert one-time rental it display fine but after insert new one time rental, the old row also appear as plan item ?
    Thanks in advance
    Regards,
    Oscar

    -

  • End of year as default value in date item [SOLVED]

    Hi
    I'd like the last day of the current year (i.e. 31.12.2008) to be the default value of an item (in Forms 6i) (Format dd.mm.rrrr).
    The default value in the database is
    TO_DATE('31.12.'||TO_CHAR(sysdate,'yyyy')) and there it works fine.
    In Forms I have a WHEN-CREATE-RECORD Trigger with:
    my_item := TO_DATE('31.12.'||TO_CHAR(sysdate,'yyyy'));
    (generated from Designer)
    However, whatwever I write there I always get some "crap" in the form, most of the time 20.12.0031.
    I can see that it has something to do with the language settings, but don't know where to make some changes.
    Can anybody help my on this, I am aware, trivial matter.
    Thanks
    Karine
    Message was edited by:
    kpa

    Try this:
    my_item := TO_DATE('31.12.'||TO_CHAR(sysdate,'yyyy'), 'dd.mm.yyyy');

  • How to set the default value of an item type DATE PICKER to the day of yest

    Hi
    How to set the default value of an item type DATE PICKER to the day of yesterday ?
    Thank you very much !
    Christian.

    Hi Christian,
    Have a look at this thread Re: Default the Date Picker to Today
    It covers this issue in detail.
    Regards
    Paul

Maybe you are looking for