How to make Transperant container visible , invisble by code

Dear experts ,
I want make transaperant container visible or invisible based some boolean value .
I have gone thr' class    CL_WD_UIELEMENT and CL_WD_TRANSPARENT_CONTAINER. I have found method SET_VISIBLE .
Let suppose name of my transperant container TC_COSTCENTER .Please let me know what code I have to write . Where should I write ?
I am writing it code in WD_INIT as this process is based on value that I get on boolean value which tell decide visibility of Transperant container.
Waiting for reply . Urgetly .
Points will be given surely .
Cheers
Parry

Hi Parry,
The dynamic programming way is follows:
you need to first get a reference to the root element 'ROOTUIELEMENTCONTAINER' from the view reference available within the wddomodifyview method. the variable returned is of type cl_w_uielement_container. you can use the method get_root_element( ) of the interface if_wd_view for this purpose.
next get a reference to the transparent container by using the method get_child of the class cl_wd_uielement_container( using the variable returned from the prevoius call) and cast it to a variable of the class cl_wd_transparent_container. to this method you need to pass the id of your transparent container.
Once you have the reference you can use the method set_visible( ) to make the container visible or invisible at runtime.
However you need to be careful about the placement of this code within the wddomodifyview method because it would get executed every time. Thus the best way is to store the reference to view in a component controller the first time and later on use this attribute anywhere within your component.
Regards,
Shweta

Similar Messages

  • How to make the library visible IN AN EXTERNAL disk?

    Hello.
    Searched this forum (found about 25 identical questions and answers "how to make the library visible").
    I turned mine and it is constantly visible now.
    Before installing Lion made a bootable image.
    When I connect the external HD, I see it in the Finder side bar, click on users>myname and the library folder doesn't show up.
    Tried the 3 ways to make it visible but they all bring back and show the Lion's library on my MBP, not the one in the external HD.
    Any ideas?
    (BTW, I am just an "amateur user", not too heavy, so just, please take in consideration that if you explain to me slowly I will understand quicly)...
    Thanks in advance.
    Saul

    Thank you Baltwo.
    Don't I know you from CCC? (If judging from your answer I do, always hit the nail in the head)...
    Yes, I guess I used the wrong terminology. Anyway, I did a bootable disk/image/clone, however it's called, with CCC (Carbon Copy Cloner), which BTW I am using for at least 3 years and saved several times my behind.
    So, if I understood you right, you mean booting from my external HD and make the library visible (I don't remember if the clone was made after installing Lion or still while in Snow L, but will check).
    I'll try and update here if it worked.
    Thanks again and have a good evening.
    Saul

  • How to make phone phone vibrate through j2me code

    how to make phone phone vibrate through j2me code
    thanks in advance

    Some like this
    Display.getDisplay(this).vibrate(800);

  • How to make a tabstrip visible and invisible again?

    Hi
    I have a GUI with Fields, Texts, Checkboxes, Radio buttons, a Button and of
    course a tabstrip with 7 tabs.
    Before I want to show some data in the tabs of the tabstrip, I have to fill the fields, check a radio button and checkboxes. After filled all entries needed, I will start
    the preparation of the data with clicking on the button.
    Before the click on the button the tabstrip has to be invisible. After the preparation
    of the data I will make the tabstrip with its tabs visible.
    All this is in the same dynpro (e.g. 0100). I don't build it together with to dynpros.
    I tried with LOOP AT SCREEN ... ENDLOOP, but the tabstrip does not appear.
    The only attribute accessable is "activetab".
    How to make that happen?
    Thanks for your help
    Frowin

    Hi
    Suppose you have 3 screen:
    - 1 main screen (100)
    - 2 subscreen    (101, 102)
    In the subscreen 101 you need to design your tabstrip (so you need to move your tabstrip from main screen), the subscreen 102 has to be empty.
    In the PBO of screen 100:
    PROCESS PBO.
    MODULE SET_SUBSCREEN.
    CALL SUBSCREEN SUBAREA INCLUDING V_REPID V_SCREEN.
    In the module SET_SUBSCREEN, you insert the code you need to choose the right subscreen:
    IF _SHOW = 'X'.
      V_SCREEN = '0101'.
    ELSE.
      V_SCREEN = '0102'.
    ENDIF.
    The flag _SHOW is setted in PAI after pressing the button:
    MODULE USER_COMMAND.
        CASE OK_CODE.
           WHEN 'SHOW'. _SHOW = 'X'.
    Max
    Edited by: max bianchi on Jan 9, 2008 5:03 PM

  • How to make all columns visible in an interactive report by default

    Hello All,
    I have an interactive report with the first column is visible and the rest are hidden by default. Is there any way that i can make them all visible by default so the users do not have to go into actions to display them in report?
    Thank you
    Sezer

    Login as developer > run the interactive report > actions > select all columns you want
    Now got to actions > save > default > primary > apply
    http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/ir_using.htm#CHDFDFJA

  • How to make table borders visible in BI Publisher report

    Hi,
    I'm trying to create a BI Publisher report that contains a number of table and want to make sure the borders of the table visible after publishing. Can you anyone tell me how?
    Edited by: user11001592 on Jan 22, 2010 2:50 AM

    In Word, if you have set the borders on then you should see them in the output. In Word it has a setting to let you see 'gridlines' even if they are not set ie you have turned the borders off. Highlight the table and set all the borders on and re-try. If that fails, try building the table from scratch and copy the cell contents across to the new table
    Tim

  • How to make tab borders visible?

    Just updated to ff 29 and the tab borders are almost invisible.
    In the previous versions of firefox you could see where one tab ended and next started, in current there is this very light half length grey line that is almost invisible on right and nothing on top.
    How do I make it so that the tab borders are visible? (Something like a full black line on left/right of tabs and some clear border between the tabs and the menu bar on top)

    I use Firefox as my primary browser at work. I start every day with ELEVEN tabs (two pinned), all renamed and locked for specific tasks I do throughout the day. I am on the phone all day. I add and close ADDITIONAL tabs all day for different tasks.
    Additionally, I am over 50 and am having some problems with my eyesight. I've just recently gotten progressive lenses but even that doesn't help me with the new Firefox design.
    It's very hard to tell where one tab begins and one ends. I could not wait to switch themes in order to find one that works for me at work. However most of the themes are just as bad - I can barely tell where one tab ends and the other begins. It's hard to click through the 11 tabs I need for work, let alone the additional tabs I open for different tasks.
    Additionally the font is so light that on many themes (and I have looked at least 200), I cannot read either the tab names or my shortcuts on the Bookmarks Toolbar.
    '''HELP'''

  • How to make transperent widget.

    Hi all,
    I am new to this xlet things and it has been long time since I worked on java. so, this might have a simple solution which I am overlooking.
    I have HStaticIcon in the background and trying to put HStaticText on the top. I want to make static text background transperent so, All I want see is text and background image.
    Is there any way I can do it?
    Thanks

    Text elements have a method that allows you to choose how you want to draw the background. You get what you need with the .setBackgroundMode() method. More exactly with something like
    HStaticText example = new HStaticText(the constructor you need);
    example.setBackgroundMode(HStaticText.NO_BACKGROUND_FILL);Try to get a good color combination or text size so you can still read the text after this change.

  • How to make my Library visible in open dialog?

    I know how to get to my Library in the Finder, but how can I make it visible in an Open dialog? I want Disk Inventory X to scan it.

    Which Mac do you have?
    Which operating system is it running?
    You posted in Mac OS X Lion 10.7 forum but you profile claims you have an eMac with a PowerPC and it is running 10.3.4.
    Please straighten this out because they are two totally different computer and operating systems.

  • How to make logical link visible in workcenter group (not type AA, BB, CC)?

    In Marketing Workcenter MKT-MKT-WCC there are 5 assignment blocks with grouplinks. Except the classified link groups (AA=Create, BB=Search, CC=Reports), there are 2 non-classified groups.
    How to add a Z-link in these assignment block.
    When we create a new Z-group, add Z-links and make them visible in the businessrole, they don't appear. Only when we set the Z-group to classified, for example Create, the link becomes visible.
    Please advise,
    Toine

    Hi Toine
    If you create a Direct Link Group(including direct links with pos number), then
    assign the same to your Nav Bar Profile with some position number.
    If you do this, then by default Direct Link Group will be visible in the Business Role
    but, the links under the Direct Link Group will be invisible. So make the Direct links
    under the link group to visible and then relogin.
    It should work 100%, because i have already done the same.
    Please let me know with the steps you are following if it is still not working.
    Thanks
    Arun

  • How to make the properties visible for a bean in IDE?

    Hi,
    I have a jpanel and have two buttons ,OK and cancel inside it.
    I made this class as a bean, and put in the component palette of IDE.
    Now when i click and drop that bean in a frame., and try to set the properties, the IDE will be giving me only the outer component which is a JPanel properties,
    I want to work with the properties of inner components OK and Cancel.
    How can i acheive this?

    Yes, Write wrapper methods for the properties you are interested in. Introspection does not examine beans which are declard in a class in IDEs, IT only follows an inheritence tree.
    So if you have a button and want it to be visible in your new bean, you will have to expose the properties of the bean again using wrapper methods. You could use the propertyChange model to notify the button on property changes.

  • How to make web portal visible globally

    I have just begun setting up to use Profile Manager on my OS X Lion Server and am happy so far except for the fact that the URLs are not visible outside the host machine.  Maybe there is something I need to do to configure the web services but I am not much of a web administrator. 
    Can anyone tell me if there is a trick to make the URLs for https://my_host.my_domain_name.org/mydevices and profilemanager visible from other nodes of my LAN.  (I don't even need them to be visible from the world outside my LAN but if I have to, I can do that.)
    I tried substituting the IP address on the LAN of the my_host.my_domain_name.org of that URL and it got as far as checking certificates and then declared that the server is not found reporting the server name in its my_host.my_domain_name.org form so I guess that I'm not having a DNS problem.
    I have tried checking the box that says to allow PHP applications in the Web server admin pane of the Server application on the Lion server and that does not seem to make a difference.

    I dug into the DNS settings on my other server ('cause that's where we run DNS services for our LAN, not on the Lion server) and found that I had not updated the entry for the Lion server since I had last changed its name.   Once I fixed that things began to work better.

  • How to Make all Layers Visible in Final Photo?

    Hello, I'm new at PS and CS5. While retouching a portrait, I've created 5 layers. When the eye is open on all layers in the layers palette the only layer that seems to be active is the one on top of the list. If I move a different layer to the top, then that layer is active and the others, even though marked active, are not visible in the actual photo. I tried merging all the layers and there was no difference. What am I missing? Thanks.

    If you're duplicating a layer to make changes, then you are duplicating all the pixels on that layer.  I don't know why a tutorial might suggest that, except perhaps to give you a point to go back to if something goes wrong.  It's important to note that such a layer, assuming you keep it at 100% opacity, will completely occlude all layers below it.
    A similar technique which builds upon lower layers and does involve all layers being visible is this:
    1.  Create a new, completely transparent layer.
    2.  Use tools such as Clone, Fill, Paint, etc. to draw on the transparent layer (setting them to sample from layer(s) below).
    In this fashion you can have the entire original image intact, yet create a derivative work that involves layers that have just the changes on them.
    Again, the key here is opacity.  If a layer is transparent (or partially transparent, or parts of it are transparent), you can see through it to information from layer(s) below.
    If a layer is 100% opaque and there are no "holes" erased in it or masked from it, then any layers underneath are not participating in the look of the image.  But they may still be there to provide you a handy reference for what the image looked like before changes, etc.
    -Noel

  • How to make List.contains(Object) work when you write your own .equals func

    I have a list of objcts of a class defined by me. I want to use the List.contains(String name) function to tell me if it contains an object of that name. I have overriden the .equals function as shown in [1]. I then use the code at [2] to to test it, with a bit of debugger output as shown in [3]. It is not working, my overriden method is not getting called by List.contains(String name).
    Can anyone tell me how to get this to work?
    [1]     @Override public boolean equals(Object esId) {
            if(esId.getClass().isAssignableFrom(String.class)) {
                System.out.println("object name " + this.eslimId + " compare to " + esId + " = " + this.eslimId.equals(esId));
                return this.eslimId.equals(esId);
            } else {
                System.out.println("wrong class");
                return super.equals(esId);
        }[2] graphics.getProcedures() returns private List<ProcedureGraphicSet> procedures;
    System.out.println( " graphics.getProcedures().get(0).equals(\"ESLIM_009\")= " + graphics.getProcedures().get(0).equals("ESLIM_009"));
    System.out.println( " graphics.getProcedures().contains(\"ESLIM_009\")= " + graphics.getProcedures().contains("ESLIM_009"));[3]
    object name ESLIM_009 compare to ESLIM_009 = true
    graphics.getProcedures().get(0).equals("ESLIM_009")= true
    graphics.getProcedures().contains("ESLIM_009")= false

    This is a gross violation of the contract for the equals method, and you are basically getting bitten by that. The equals method must be symmetric, meaning this must hold for all objects A and B:
    A.equals(B) == B.equals(A)This does not hold for your equals method because for any string A and custom object B:
    A.equals(B) == falseAnd, apparently, the List.contains() method is choosing to compare objects that way.
    You must iterate through the list and check the names yourself, or use some sort of functional package which provides a List.contains() type method which takes a Predicate object of some sort.
    Edited by: jtahlborn on Feb 11, 2008 11:03 AM
    Edited by: jtahlborn on Feb 11, 2008 11:03 AM

  • Apimac HideFolders malfunctioning--How to make hidden folders visible?

    I used Apimac HideFolders to hide some folders on an external hard drive. At present, the folders do not appear in the Finder; but when I open HideFolders to make them visible, they are listed as "Visible." Since the "Show" option is greyed out, I look to see what happens when I click "Hide," and the Status changes from "Visible" to "Missing."
    I downloaded PathFinder, and with it I can see that the files are still there on the drive.  What can I do to make them visible?  Thanks in advance.

    As has been mentioned here before, they are incredibly unhelpful. Their website doesn't list a phone number and their "support page" for the app is written by someone whose first language is definitely not English.

Maybe you are looking for

  • Saving MS Word docs with Parental Controls

    I have set up an account for my kids using parental controls and have managed to add apps I needed, blocked sites, etc. My son is using MS Word for homework, but how can he save work under the kids login and I access it in the main account? Thank you

  • Getting information about index param,eters

    hi there, i 've created an index about some pdf dokuments within my file system by setting the FILE_DATASTORE to the appropiate directory and indexing the documents. now i want to index some other documents within another directory, so i think i must

  • Blur Problems (bug report submitted)

    I've submitted a bug report and will submit this again since its a better version of when I sent them before. The problem is this: - Adobe Acrobat Professional shows blur in certain situations. In another situation, the same file opens correctly. The

  • CSS 3.0 Problem

    Facing some problem plz help me out:- How to create rounded box with help of CSS 3.0

  • How do I get a copy of version 2.2 of Measurement and Automation Explorer?

    I am also interested in what new features/changes were made in V2.2 relative to 2.1. I noticed 2.2 on some systems here at Intel but didn't see it on the I web site.