Hide/Show a button on a tile, based on the tileset you're in.

Hey,
I made a new tileset Z_CustomerPlan, it has an existing tile in it, capshort1.
I added a button to this existing tile capshort1, named Z_BTNPreviewAll.
But this button should ONLY be visible when in the new tileset Z_CustomerPlan because capshort1 is used in some other tilesets.
i tried to do this with the following code in the onload event of capshort1:
if not mcore.uftileset = "SZ_CustomerPlan" then
     ctrlZ_BTNPreviewAll.visible = false
end if
but this isnt working, it makes the button invisible on all tilesets, including Z_CustomerPlan.
So im trying to show/hide the button based on the tileset... is this the right way?
Some help would be nice.
Cheers,
Maarten

Hey Vadim,
After an intensive investigation i came to the following conclusion...
if not mcore.uftileset = "SZ_CustomerPlan" then
     ctrlZ_BTNPreviewAll.visible = false
end if
does not work, BUT..
if not mcore.uftileset = "sZ_CustomerPlan" then
     ctrlZ_BTNPreviewAll.visible = false
end if
..does work
can you spot the difference?:)
apparently it HAS to be a little s
just glad its working now, i put it in the beforeload like you suggested, thx for the tip
cheers,
Maarten

Similar Messages

  • Where is hide/show toolbar button?

    Hello all,
    I have purchased Aperture as a retail package, and I am running Snow Leopard.  I have a "hide/show Toolbar" button in the upper left of the title bar, as indicated in the included screenshot.
    I used Aperture on a friend's machine, and he does not have the oblong "hide/show toolbar" button.  His OS is Lion with Aperture installed from the Mac Store.
    Does anyone have any ideas about why he would not have this convenient button, while I do?
    nathan

    Hello Nathan,
    if you want a button in the toolbar to toggle it on and of, you could do the following:
    Create an AppleScript to toggle the Toolbar on and off
    Save the script as an application
    Assign a nice icon to it, just like the drop of toothpaste, the button used to look like
    Drag the Apple Script to your Finder toolbar
    This AppleScript seems to toggle the toolbar - I have not done much testing so far:
    (* Toggle the Finder Window Toolbar , Autor LDF *)
    tell application "Finder"
      activate
              set wi to front window
              set vis to (get toolbar visible of wi)
              if vis then
                        set (toolbar visible of wi) to false
              else
                        set (toolbar visible of wi) to true
              end if
              return vis
    end tell
    The only problem is, you can easily hide the toolbar this way, but once the toolbar is hidden, you cannot turn it on again, since the button now is hidden , so you may wish to put a link to the script in the Dock as well
    Cheers
    Léonie

  • Need AS3 Widget Hide/Show Forward Button on Playbar

    I found an AS2 set of widgets that will Hide/Show each button on the Playbar.  I need this for AS3 for Captivate 5.5. 
    Some pages we want it and others we do not.
    Has anyone created this type of widget for AS3?
    Thanks!

    Hi Jo_Help,
    I've create an AS3 Playbar Widget that has the ability to enable/disable individual playbar buttons using actions.  If this is something you'd be interested in, please email me for a trial.  Jim AT Captivate Dev dot com.

  • Hide multiple rows in a dynamic table based on the row value.

    Hi,
    I need to hide multiple rows in a dynamic table based on the specific value of that row.
    I cant find the right expression to do that.
    please help

    Go to the Row Properties, and in the Visibility tab, you have "Show or hide based on an expression". You can use this to write an expression that resolves to true if the row should be hidden, false otherwise.
    Additionally, in the Matrix properties you should take a look at the filters section, perhaps you can achieve what you wish to achieve through there by removing the unnecessary rows instead of just hiding them.
    It's only so much I can help you with the limited information. If you require further help, please provide us with more information such as what data are you displaying, what's the criteria to hiding rows, etc...
    Regards
    Andrew Borg Cardona

  • I having problem keep ask me connect to itunes......can't restore...keep show there is no sim card installed in the iphone you are attempting to activate.....how?

    I having problem keep ask me connect to itunes......can't restore...keep show there is no sim card installed in the iphone you are attempting to activate.....how?
    ITUNES show keep show there is no sim card installed in the iphone you are attempting to activate.....how?

    rajafromcalifornia wrote:
    how can i get rid of this error There is no sim card installed in the phone u are attempting to activate please disconnect and a sim card in the phone please help me and my iphone cannot go to menu display can u help me please
    You cannot active a phone if it does not have a SIM card in it. Period. End of discussion.
    If you get this error and it has a SIM card in the phone then either the SIM card is defective or the phone is defective. Get a new SIM card and try again. If the problem occurs with the new SIM card the phone needs to be repaired.

  • HT204269 itunes showing 'backup is corrupt or not compatible with the firmware you restored'.Please help.

    itunes showing 'backup is corrupt or not compatible with the firmware you restored'.Please help.

    Hi Ckuan,
    Thanks a lot for your advice.    
    Deleting the correupted back up means to delete the information of one month since the last back up I made is one month ago.....right? 
    This back up I made right before I restored my iphone.  During the restore however my OS was upgraded to 5.1.1. and reading the comments on the internet it seems I am not the only one whom experience this problem. 
    Can it be that if I downgrade my OS back to 5.1. the back up will not be considered as corrupted?  If so, how do I downgrade the iphone?
    Thanks in advance.

  • Hide/Show Create button on a report/form page

    Hi, I included one form and the related report on one page.
    When I create a new record, it will show in the report below.
    I make the ID column as the link, which assign the ID to the ID item in the form. DML will do the rest work for display.
    However I got a issue. when I click the edit button for one row, the create button doesn't disappear. Although it has a condition of "VALUE OF ITEM IS NULL". I un-hidden the ID item and it do have value when I edit some row.
    Is this because of some refreshing reason or...?
    Your help will be great appreciated.
    Edited by: Gadfly on 2009-3-16 下午8:02

    BTW, this hide/show pattern of 'KEY VALUE is null' works well when I use two pages(one form and one report.)

  • JComboBox - Hide/Show Arrow Button

    hello all,
    im stuck. i want a jcombobox to have its arrow button hidden unless the mouse is over it
    rite now i have the jcombobox implenting the mouselistener . but i have no idea how to get the object to show/hide the arrow button. i read something about using the ComboBoxUI to hide the button but thatz pernament rite? unless i keep refreshing the ui whenever the mouse moves in or out of the object
    any advice will be greatly appreciated.
    thx

    Open src.zip with Winzip. Look at BasicComboBoxUI.java. Figure out what changes you need to make to make the button disappear. It probably can be done pretty easily if you pick the right spot to change. But don't change BasicComboBoxUI.java. Write your own class that extends BasicComboBoxUI and override the method you picked to change. You may end up rewriting the whole method or just calling super.whatever() and then tweaking.

  • Use embedded .swf to hide/show a button

    Captivate 4
    Flash CS4
    ActionScript 2.0
    Afternoon Fellow Captivators!!
    okay - so here's the thing, I have a custom interaction that i have built in Flash.  I want to force the user to go through this entire interaction before proceeding to the next slide.  The easiest way, in my eyes, to do this would be.
    1) Hide the "next" button, toggle it's "visible" to off
    2) The user then goes through the entire animation/interaction
    3) at the end of the interaction, the animation communicates with Captivate to now SHOW the "next" button - or toggle it's visibility to on...
    Does anyone else know of a way to do this - I've been looking through all of the Captivate variables, and don't see anything to toggle the visible option for it.
    Thanks for the help!

    If you want to accomplish this in Captivate 4, Paul Dehurst has a Widget that will do what you need.  He offers it for FREE at his site here:  http://www.raisingaimee.co.uk/index.php?option=com_content&view=article&id=113:hideshow-bu ttons-widgets&catid=31:captivate-4&Itemid=55
    If you use it, you might consider making a donation to him for his incredible work!
    The downside is that Paul has retired from Widget making and there is no update for Captivate 5.  Anyone want to take this development on for Cap 5?

  • Hide/Show Radio Buttons

    Hi friends,
    I have a radio button page item which is showing two values like
    <li>4 Stars
    <li>5 Stars
    I need to show these two radio buttons according to the employee number that is firing on the field Employee Number.
    Suppose, for an example i need to show 4 Stars if he is an ordinary employee. If he is an CEO means then it has to show both 4 Stars and 5 Stars button.
    How i can achieve it friends..
    For that i tried by using DA, but it failed. I have the query to restrict the radio buttons according to the employee number which is working fine in sql developer at the back end. But im going wrong in implementing it in APEX via DA, as it is not working over there.. This is the query
    SELECT '5/Stars' d, '5/Stars' r
    FROM DUAL
    WHERE (:P85_EMP_NUMBER) = (SELECT employee_number
    FROM apps.xxhy_ams_details_v
    WHERE UPPER (job_name) = 'CEO')
    UNION
    SELECT '4/Stars' d, '4/Stars' r
    FROM DUAL
    WHERE (:P85_EMP_NUMBER) IN
    (SELECT employee_number
    FROM apps.xxhy_ams_details_v
    WHERE grade_name BETWEEN 1 AND 4
    OR (:P85_EMP_NUMBER) =
    (SELECT employee_number
    FROM apps.xxhy_ams_details_v
    WHERE UPPER (job_name) = 'CEO'))
    UNION
    SELECT '4/Stars' d, '4/Stars' r FROM DUALBrgds,
    Mini

    Hello
    Are you using a Select List or other LOV item for employee selection?
    If you are you can use cascading lov under the radio button
    - you add <emplyee select list item> to Cascading LOV Parent Item(s) and to Page Items to Submit
    - and then on the List Value Definition you use something like:
    SELECT '5/Stars' d, '5/Stars' r
    FROM DUAL
    WHERE :P2_EMPLOYEE = (SELECT EMPNO FROM EMP WHERE JOB LIKE 'PRESIDENT') --:P2_EMPLOYEE is select list
    UNION
    SELECT '4/Stars' d, '4/Stars' r FROM DUAL
    If you are receiving employee number on your page you can just use List Value Definition of radio button like:
    SELECT '5/Stars' d, '5/Stars' r
    FROM DUAL
    WHERE :P2_EMPLOYEE2 = (SELECT EMPNO FROM EMP WHERE JOB LIKE 'PRESIDENT') --:P2_EMPLOYEE is text field or hidden
    UNION
    SELECT '4/Stars' d, '4/Stars' r FROM DUAL

  • How to hide/show a column in reports 10g according to the parameter value

    Hi,
    I want to hide a column in the report according to the parameter value, is it possible?
    For example, there is a parameter called P_TYPE. I want to hide a column called 'BALANCE' if the P_TYPE=0.
    This column is not the last one in the table, so if it is hide then that empty space should be occupied by next column.
    Is it possible means please explain me how to do it?
    Thanks in advance,
    SAN

    Create a format trigger (for both the header and the column item) that returns False on you condition.
    Set the horizontal elasticity to Contract (for both the header and the column item).
    Sometimes Contract doesn't work. Try Variable in that case. This has the disadvantage that the field can also expand.

  • Problem in Hide/Show in a Table Row

    Hi,
    i have to create 4 pages and each page has a table region with displaying records and a column "LINK" to go to the next page with the parameters from that record. Every link has a batchId and one another Id as parameter to next page. The next page reads the parameters and queries the corresponding table for details of that results table region contained in that page.
    Thus i have 4 pages with 4 table regions and each table region is associated with a view object which is based on an EO connected with a database table. (4 VO's).
    Now in every table i have a detail region (hide/show) which shows error records for a row ....
    thus there are 4 ViewLinks for all 4 VO to a single ERROR VO.
    I have 4 instances of ERRORVO in AM like ERRORVO1, ERRORVO2, ERRORVO3, ERRORVO4.
    Now, the hide/show region is working properly on the first 3 pages with proper navigation to pages.
    Then, i created the 4th page and created the table region in the 4th page.
    From the 3rd page i have passed 2 parameters through the link and also retainAM=Y.
    i have captured both parametres and call a method to populate data in table of 4th page.
    Successfully done..running properly....
    Now i added the detail region which is a table as previous pages in the 4th page with ERRORVO4...
    Then when i run the page i get the 1st page and thrugh link i move to 2nd and to 3rd page. But when i click on the link on 3rd page to move to 4th page i m getting "NullPointerException" with "check Inner table properties"
    Now i removed the detail region (Hide/show) only from the 4th page and again run the page . its working properly for all 4 pages with proper navigation but i am not able to see errors with hide/show on 4th page and it is required.
    i m not getting what could be the reason...
    do i need to remove retainAM=Y from the page navigation links.?????
    and is there anything like we cant create more no. of instances (4) of a single VO in an AM.....????
    Any alternative for showing the errors on 4th page with Hide/Show or without Hide/Show????

    Thiago,
    Thanks for the quick reply.
    I am now getting the following error below:
    Am I suppose to add another field to my VO select?
    oracle.apps.fnd.framework.OAException: Detail View Attribute Name is not set for the table even though a detail named child has been specified. Please specify a Boolean or String ("Y" or "N") view attribute for this table property.
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1146)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1794)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:463)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:384)
         at OA.jspService(OA.jsp:40)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)

  • How do I keep Hide / Show Region open

    Hi,
    I have a page with one region based on a hide/show template. The current behaviour on a page submit is that the region always hides.
    I'd like it so that if the user opens the region that it will remain open after the page refreshes.
    Thanks,
    Brian

    This is a hack so I wouldn't count on it, but it worked for me (in variation, I needed a bit different thing). And, remind you, it only holds one of them open for a page (my logic is, that when they are hidden no more than one should be open at once).
    1) the page should have an item that holds the information - I'll call it OPEN_REGION. I am knowingly ignoring the usual Pn_ naming convention so all pages with Hide / Show regions could have their own OPEN_REGION but the name could still be uniquely referenced in javascript. It should be a hidden variable in the topmost region in the template (which must not be one of those enhanced HIde/Show regions).
    2) make a new javascript function to set the item and submit page. Be careful to make sure you use valid variables or javascript errors display when no OPEN_REGION item is on the page (for example).
    function myHideShow ( region )
    if (document.getElementById('OPEN_REGION'))
    if ( document.getElementById('OPEN_REGION').value != region )
    document.getElementById('OPEN_REGION').value = region;
    }else{
    document.getElementById('OPEN_REGION').value = '';
    doSubmit();
    2) edit the region template. Set it to call your own function.
    Where it sais:
    href="javascript:hideShow('region#REGION_SEQUENCE_ID#','shIMG#REGION_SEQUENCE_ID#','#IMAGE_PREFIX#jtfuhide.gif','#IMAGE_PREFIX#jtfushow.gif');"
    make it (set the page item to the region sequence number):
    href="javascript:myHideShow('#REGION_SEQUENCE_ID#');"
    3) edit your page template, in the footer add the opening of the region. Be careful to make sure you use valid variables or javascript errors display when no OPEN_REGION item is on the page (for example).
    <script>
    if (document.getElementById('OPEN_REGION'))
    if (document.getElementById('OPEN_REGION').value != '')
    theRegion = document.getElementById('OPEN_REGION').value;
    hideShow('region'+theRegion, 'shIMG'+theRegion, '#IMAGE_PREFIX#jtfuhide.gif', '#IMAGE_PREFIX#jtfushow.gif');
    </script>
    That should do it, but be aware, that I am not in Oracle team, just a simple programmer trying to find my own solutions and Javascript has helped me here sometimes.
    For example, try to use #TITLE# substitution string in BODY part of the Page Template...

  • Hide Upload Document button in a sharepoint library programmatically

    Hi,
    How to hide Upload Document button in a sharepoint library programmatically?
    Thank you,
    AA.

    Hello,
    hope these references will help you out
    http://www.solwebsolutions.com/blog/entry/css-for-hiding-upload-options-in-sharepoint-library-ribbon
    http://sharepoint.stackexchange.com/questions/32606/remove-button-from-ribbon-in-a-specific-toolbar
    Good luck,

  • Horizontally laid-out hide-show regions/ mini-tabbed pages

    I'd like a mini-tabbed page layout, I can almost achieve this by having hide-show regions in which only one hide-show region is visible at a time, however the regions are stacked vertically, not horizontally. I don't want to use regular tabbed regions, because
    a) I'm already using two levels of tabs,
    b) I want these tabs to be all on the same page so I can use page-level processes.
    Cheers, Mark

    Hello Murray
    Thanks for going to the trouble of creating the little test site.
    Other browsers appear to load the pages much quicker. This may be because they are able to more inteligently handle our code, I don't know. Safari on our Macs zooms through it.
    In IE6 if I open a large Lesson and click next I see, at the bottom of the screen in the Status Bar, "(21 items remaining)" and then "(20 items remaining)" etc. which counts down and then disappears. Interestingly if the next screen happens to display the same image this does not happen, just the message "Done". If the next screen has a different image then the count down from "(21 items remaining)" again as all the linked resources (I presume) are downloaded.
    I have opened your site in IE6 (Windows XP Pro) and I don't see the message. However the image is so small that I may not because it is so fast to load.
    It may be related to how IE6 handles Temporary Internet Files, I'm not sure.

Maybe you are looking for

  • What is a good replacement for the ATI Radeon X1900 XT on a late 2007 Mac Pro

    I recently took my late 2007 Mac Pro to the Apple Store because it was running quite loud.  They diagnosed the problem as the fan on the ATI Radeon x1900 XT video card.  Whie the card works fine otherwise, I was thinking of replacing it.  I noticed s

  • Customer ageing report

    Dear All, I checked in SCN and did not find answer for my query so posting here. This is with reference to customer ageing report, we are developing z report for customer ageing since we could not get customer specific report either through standard

  • Background does not show up when creating a PDF in InDesign

    I have placed the same image in Illustrator and the PDF does show up the image.

  • "Disable Check for SQL Express" against SQL Server Agent

    Good afternoon, Seeing as it has been a know issue for many years now[1], is there a reason why Microsoft has yet to include a "Disable Check for SQL Express" override (similar to the Automatic Configuration (& other) monitors) for each of the follow

  • Checking performance on XE, what is the best tools.

    Hi, all I'm trying to see how better to use tuning tools and I'm on XE now. What is the simplest way to start with? I do autotarace for now, which also give me Plan, is it good enough? or Does Expaln Plan shows something else? I also tried to play wi