How to change the color of the item in the tree.

Hi
I am using TREE for navigation and it has nodes. I would like to change the color of the node if it is clicked.
Any ideas?

Hi Denes,
I had same query like I was looking for, how to highlight node
which user has clicked ! I followed your stesp like :-
select "emp" id,
"mgr" pid,
CASE
WHEN PROJECT_NAME = :F200_USER_SELECTED
THEN '<span class="HighlitTreeNode">'
|| PROJECT_NAME
|| ' '
|| '</span>'
ELSE PROJECT_NAME
END name,
'f?p=&APP_ID.:16:&SESSION.::NO::F200_USER_SELECTED,F200_USER_SELECTED_TABLE_ID,F200_USER_SELECTED_TABLE_NAME:'||"LOB" ||','||"ID"||','||"TABLE_NAME" link,
null a1,
null a2
from TREE_PROJECTS
and set Stylesheet to :-
<style>
a {text-decoration:none;font-weight:bold;}
a:hover {text-decoration: underline; color: darkred;
font-weight:bold;}
.HighlitTreeNode {font-size:12px;font-weight:bold;color: darkred;
margin-left:20px;white-space:nowrap;}
</style>
====================
This has solved my query completely.
Thanks a ton for such a nice tip !
Regards,
-DVS

Similar Messages

  • How to change  delivery  block for all item in the schedule lines via va32

    dear sap expert:
    i onle can  change delivery block for one  sales order item in the schedule line  every times via va32,it will take so many time because there are hundreds of item  in a sceduling agrrement. how to change all the item  one times.
    please give me a way to resovle the problem.
    best regards.

    dear:
      the fast change function cann't resovle the problem,i first double click the item of schedule agreement  ,then select the schedule lines option, finally in the delivery block input the reason of bolck.
    best regards.

  • How to change a property of all items of the specific type?

    Hello,
    this should be fairly simple:
    tableA ( id, Flag)
    There are 2 pages :
    Page 1 : allows user to select P1_ID based on the result set from TableA
    Page 2 : there is a bunch of items on this page - text fields, text areas, radio and check boxes, reports etc. There values in those items are based on the following logic :
    select <bunch of columns correspond to the page items >
    from view1, view2 ...
    where <where clause>
    and
    some_column =:P1_ID
    Question:
    I need to disallow users to change values in the items of text type on the page 2, if value of P1_ID ( TableA.id) has a value in Flag.
    How this can be done ?
    The ideal solution would be if i can have a routine that would not require hard coding items names.
    Thank you
    Andrew
    Edited by: andrey on Jan 31, 2009 12:51 PM
    Edited by: andrey on Jan 31, 2009 12:52 PM

    Andrew:
    The property that you set is the 'Read Only' property for the page-item. This is done from the 'Edit Page Item' page
    The conditions under which this property evaluates to true can be determined dynamically (no hard coding). Take a look at the list of possible Conidtion Types. So, if u want the condition to be table-driven you could choose the 'Exists (SQL query returns at least one row)' and the SQL query could be something like
    ' select 1 from <you_table> where id=:p1_id '
    Varad

  • How to change highlight color of PDF texts to the standard golden yellow on Preview app?

    I use the Preview app to read my PDF books. I also read these same books on my iPad. When I read my books, I like to highlight the text. I'm used to highlight my text with the standard golden yellow on my iPad. When I use Preview, the only choice of yellow color I've found is a somewhat orange yellow that's called "yellow". Besides that, I see only 5 highlight options. Anyway, I'd like to highlight my text on Preview with the standard golden yellow, the same color that is available in almost all PDF editing apps. Anyway, how can I highlight my pdf texts with the standard golden yellow on the Mac Preview app?!

    Here is a picture to show the difference between the standard golden yellow (above) and the mac preview called yellow (below - looks like orange to me).
    Is there a way to highlight the pdf texts on Preview app in the golden yellow color, shown above?

  • Change the color of text item after execute query

    Dear friends
    I would like to know how can I make a tabular form like grid and chang the color of text item when (for exp in emp table) the value of sal column between 2000$ and 4000$.
    I used the SE_IEM_PROPERTY command but it change all of the text items of sal column.
    please help me
    thanks a lot

    Highlight the Existing Record in Forms
    (Compatible with 4.x, 5.x, 6.x & 9i)
    Step 1: Create a New Visual Attribute(BLUE_VA) (Color of highlighted record)
              Font – Arial
              Size – 8
              Style – Plain
              Font width - Normal
              Font Weight - Bold
              Foreground Color – Black
              Background Color – Blue
              Fill Pattern – Transparent
    Step 2: Create another Visual Attribute (WHITE_VA) (Default Color of the record)
              Font – Arial
              Size – 8
              Style – Plain
              Font width - Normal
              Font Weight - Bold
    Foreground Color – Black
              Background Color – White
              Fill Pattern – Transparent
    Step 3: Add Following code to Block-level Trigger WHEN-NEW-RECORD- INSTANCE, POST-BLOCK
    (Add to the block, which has these records)
    -- Following code will only highlight an item
    DISPLAY_ITEM(<block_name>.<item_name>,'BLUE_VA');
    -- Following code will highlight complete Record (ref: DISPLAY_ITEM example)
    DECLARE
              cur_itm VARCHAR2(80);
              cur_block VARCHAR2(80) := :System.Cursor_Block;
    BEGIN
    cur_itm := Get_Block_Property( cur_block, FIRST_ITEM );
    WHILE ( cur_itm IS NOT NULL ) LOOP
    cur_itm := cur_block||'.'||cur_itm;
    Display_Item( cur_itm, 'BLUE_VA');
    cur_itm := Get_Item_Property( cur_itm, NEXTITEM );
    END LOOP;
    END;
    Step 4: Add Following code to Block-level Trigger PRE-RECORD, PRE-BLOCK
    (Add to the block, which has these records)
    -- Following code will only highlight an item
    DISPLAY_ITEM(<block_name>.<item_name>,'WHITE_VA');
    -- Following code will highlight complete Record (ref: DISPLAY_ITEM example)
    DECLARE
              cur_itm VARCHAR2(80);
              cur_block VARCHAR2(80) := :System.Cursor_Block;
    BEGIN
    cur_itm := Get_Block_Property( cur_block, FIRST_ITEM );
    WHILE ( cur_itm IS NOT NULL ) LOOP
    cur_itm := cur_block||'.'||cur_itm;
    Display_Item( cur_itm, 'WHITE_VA');
    cur_itm := Get_Item_Property( cur_itm, NEXTITEM );
    END LOOP;
    END;
    I am using the above code in one of my forms and I so far haven't seen any problem

  • I can't figure out how to change a color photo to grayscale/black in InDesign so that we can do a separation that keeps the photos only on the black separation.

    I can't figure out how to change a color photo to grayscale/black in InDesign so that we can do a separation that keeps the photos only on the black separation.

    Yes, I can view/hide the OSK with no problem but the keyboard, itself, changed somehow.

  • How to let the user define the colors for each plots in the graph (I use LabVIEW 7)?

    How to let the user define the colors for each plots in the graph (I
    use LabVIEW 7)?

    Hi,
    Take a look at this example, it uses property nodes to select tha
    active plot and then changes the color of that plot.
    If you want to make the number of plots dynamic you could use a for
    loop and an array of color boxes.
    I hope this helps.
    Regards,
    Juan Carlos
    N.I.
    Attachments:
    Changing_plot_color.vi ‏38 KB

  • How to change font size, maximum column size in the result screen ?

    hi All
    That's great when using SQL Dev.
    But I also have a trouble that how to change font size, maximum column size in the result screen ?
    My users think that font in result screen is shown very small, and whenever the data in each colum is long then it's not shown full data in column, they must double click for extend the size. Have the option to default the max size for showing full data in each column ? I try but still not to do that .
    Appreciate for anyone to help us.
    Thanks all.
    Sigmasvn

    You can't change the font for the results screen yet, however you will be able to select an auto-fit option for selected columns, so if some columns have slitghtly wider text you'll be able to set the column widths to handle these wider columns.
    Also, there s the option of switching the layout of a record in the grid.
    Sue

  • How to go back to a particular item of the preivous block

    Hi,
    In the pre-block trigger, how to navigate back to a particular item of the preivous block? I've tried go_item('block1.item2'), but it only goes to :system.cursor_item. What if the system cursor item is not item2, how can go back to item2?
    Vanessa

    Have you try this,
    go_block('block1');
    go_item ('block1.item2');

  • How to display the color of time period and the legend in Calendar view?

    Hi,
    Sorry to disturb you guys with a quite simple question.
    I want to do a calendar view to display the period of absence for the portal user. I've setup the iView but it displays neither the color of time period nor the legend.
    The problem is:
    1) If I test with <i>static legend</i> (that is, I input the time period directly in the form instead of using data service),
       a) I could only define <b>one</b> time period, because it's impossible to map the <i>out</i> port of calendar to <i>in</i> port of form on defining the event as 'goto'.
       b) I can't see the color displayd while deploying although there is just one time period! Neither the legend. I' ve given the label and color of the legend and assigned the action as default in design board. Why it doesn't work?
    2) If I test with <i>dynamic legend</i> following the chapter "<i>Display Date on a Calendar</i>" in the <i>Modeler's Guide</i> of VC;
        I assigned @RECORDNR to 'ID legend field', and used BAPI_ABSENCE_GETLIST as dynamic legend data service to edit the legend, and assigned the color for every ID. But neither color nor legend could kindly appear. What's the problem? Is there any error in the edit of entry list of the legend?
    Please help me! Thanks!!!

    Is there any advice?
    I'll greatly appreciate your help!

  • How to change front color in Visual composer

    Dear friend,
    i am taking numerical expression box into visual composer table view
    and try to change the front color in style tab for that field property
    but front color is  not changing in output(back ground color is changing ).
    how to change front color in visual composer?
    and can we change the symbol color too?
    thanks and regards,
    dushyant.

    Hi Vani!
    1. Unfortunately one of my requirements is that I can only get data from queries and not from Web Services or other sources, so no WS calling would be allowed in my deployed I-View, but thanks anyway for your suggestion.
    2. You are right, I was not clear enough in my first post. Let's say I have 3 rows and 12 columns, what I want is the following:
    ROW3 = ROW1 / ROW2
    obviously for each column. Do you have an idea about how it could be done??
    Thanks a lot,
    Andrea

  • How to change background color in online editor

    How to change background color in online editor

    Jeff,
    if you try to change all the plsql keywords to the same background color (that is not either white or black or blue) via the options panel in SQL Developer (Code Editor > PLSQL syntax colors), you will get the new background color in the worksheet only for the areas with plsql text, while the areas without any text will have the same background color as the base color scheme you started with. This means that there is no way to change the "general background" color via the options panel, but you have to use the same background color of one of the predefined color schemes.
    This seems to me a bug, but probably it's not considered high priority, so it will not be fixed for the time being.
    I would like to stress the fact that being able to change the color scheme of the development environment that you use every day about 8 hours a day can make quite a difference on your eyes at the end of the day.
    Thanks,
    Paolo

  • How to change background color of multilevel textbox in oracle form 6i

    hi
    How To Change background Color of the Text.
    In One Multilevel Block 10 Record is Display At a Time in a Text Box (Name is AMTt)
    This Text Box display , Buffer and Record Length is 10
    In Case Of Amount is Less 500 then Text Color Is Red(Or Any) and In Case Amount Is More 500 Then Color is Green (Or Any).
    Me Use This Code in PRE_RECORD EVENT
    TCMTL is Block name
    TCMTL_AMT is Text Box Name
    if :TCMTL.TCMTL_AMT >5000 then
         g_fun.msgbox('Values is more');
         Set_Item_Property('TCMTL_AMT' , BACKGROUND_COLOR, 'r50g100b100');
    else
         g_fun.msgbox('Values is Less');
         Set_Item_Property('TCMTL_AMT' , BACKGROUND_COLOR, 'r50g100b10');
    end if;     
    but This Code Is Refer Only 10th Value and change color depend on value.
    so
    possible to Different color in One Block Text Box Then how?

    DECLARE
         cur_itm VARCHAR2(80);
         cur_block VARCHAR2(80) := Name_in('system.trigger_block') ;
         BEGIN
         cur_itm := Get_Block_Property( cur_block, FIRST_ITEM );
    WHILE ( cur_itm IS NOT NULL ) LOOP
              cur_itm := cur_block||'.'||cur_itm;
              --:global.VISUAL_ATTRIBUTE:= 'BACKGROUND_COLOR';
              --:global.VISUAL_ATTRIBUTE:= get_item_property(cur_block||'.'||cur_itm ,Background_Color);
              IF :TCMTL.TCMTL_AMT >= 500 THEN
                             Set_Item_Instance_Property( cur_itm, CURRENT_RECORD, VISUAL_ATTRIBUTE,'r50g100b100');
                   ELSE
                             Set_Item_Instance_Property( cur_itm, CURRENT_RECORD, VISUAL_ATTRIBUTE,'r5g100b10');
                   END IF;
                             cur_itm := Get_Item_Property( cur_itm, NEXTITEM );
                   END LOOP;
                   next_record;
    END;
    this is my in that how to set a VISUAL_ATTRIBUTE, and where to set so get a background color of text and change

  • In elements 10 how to change screen color around photograph being worked on?

    In elements 10 how to change screen color around photograph being worked on?

    If you mean just the background of the tab or image window, right click it and choose what you want. If you mean for the whole program, no can do, sorry.

  • How to change highlight color for menus?

    What controls the highlight color used for Firefox menus? ... like Find, Print and About ... the main menus.
    I used the Stratiform Plug-in to change my font color to blue and now it's exactly the same as the highlight color ... so highlighting makes the entry's text invisible.
    I want my highlight color to be YELLOW only, regardless of any theme I might use.

    Good idea ... but (in XP) the color for Selected Items only affects Windows menu entries. It looks like some other setting affects the Firefox ones. I've attached a couple of captures to show what I'm seeing.
    Thanks for trying.

  • How to change background color in small windows?

    MacBook Pro, OS 10.6.3, G5.
    When I open an image to edit, the adjustable small windows, e.g., Navigator, size, opacty, all have a dark gray background that makes reading the number almost impossible.  Surely I am doing something wrong but I'll be danged if I can figure out how to change that background.  In fact, in the individual preferences also, e.g., Units & Rulers, the "adjustable" small windows (Column Size: width, gutter; New Document Preset Resolutions: print resolution, screen resolution) are also very dark. 
    I have used Elements for Windows for years and have just received Elements 8 for Mac and this is extremely frustrating.  I appreciate your help and your patience as I try to sort this out and solved

    I greatly appreciate the two responses above. However I think I may be out of luck. The first response doesn't seem to include the Mac operating system, which I am using, and the second may not have understood my problem - but I could not figure out how to follow the advice given using "preferences" to even try it. It appears to be a matter of terrible user-oriented design by Adobe. I have in fact started again using my earlier version on my old XP Windows machine, as my brand new version is essentially useless to me - I simply can't read the dark grey numbers on the dark grey "windows".

Maybe you are looking for

  • 16:9 and not 16:9

    Something to do with how quicktime works is confusing me, may you explain it please? A few months ago I was using QT 7.1.x. When I exported a file with QT conversion from FCP from a 16:9 sequence, and made sure i selected my desired frame size and th

  • Cd burn error

    Hi, Im new to burning discs on itunes..i have my playlist already on there and i keep getting an error saying medium write error failed..how do i fix this? im making a CD for my mom haha

  • HT4528 My Siri is not working

    My Siri is not responding it seems frozen

  • Does anyone have problems viewing CMYK in Mail

    I send a lot of jpegs (Both RGB and CMYK) in my emails with the Mail program. When viewing the images in the Mail program, I have never had any problem until this morning. (Last night I downloaded and installed 10.4.4) Now cmyk files are reversed. (N

  • How do i upgrade from Tiger to Lion

    I have an iMac that is about 4 years old and is running OS X 10.4.11 Tiger and I want to upgrade to the new OS X Lion.  How do I  go about doing this? Thanks for the help