Content is hidden behind background altough in a higer layer

I'm working on a digital publishment in Indesign and for some reason i cant put new content on top of my background layer. to buttons I made before are on top of the background, but the new images arrent vissable in the desktop viewer (swf previewer works just fine). the new images are in the layer above the background image just like the buttons I'd already made but so far nothing comes on top in the viewer. i even copy pasted one of the buttons and this one did not show either.  (my background is a slideshow btw)
anyone any suggestions.
thanks in advance

Thanks Kglad,
Simply moving the button layer above the background layer showed the button rectangles, hence changing the display list I believe.  Thanks again for quick reply.
Date: Sun, 24 Feb 2013 13:10:44 -0800
From: [email protected]
To: [email protected]
Subject: buttons / popups hidden behind background why ?
    Re: buttons / popups hidden behind background why ?
    created by kglad in Flash Pro - General - View the full discussion
is the parent of the background and the parent of the popup the same? if yes, that re-adding the popup to the display list will add it above the background. if no, you will need to rethink your setup or re-add the parent of the popup so it's above the parent of the background.
     Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5098686#5098686
     Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5098686#5098686
     To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5098686#5098686. In the Actions box on the right, click the Stop Email Notifications link.
     Start a new discussion in Flash Pro - General by email or at Adobe Community
  For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

Similar Messages

  • Buttons / popups hidden behind background why ?

    In CS5.5 the popup button areas I draw on an ' over ' state are drawn under the background - whether background is a bitmap or sold color.  The corresponding popup text also appears behind the background.  Arranging and sending to front or back doesn't help.  I had this working before and suddenly I can't do it.....I'm trying to make a map with rollover popup text.  Making the background layer invisible allows construction but the swf  has hidden popups.
    This is the quick tut I learned it on ...followed it and it worked at first.  Now following it doesn't work for anything new.  Tried on 2 computers. Does it work for anyone? 
    waveav.us/rollover.pdf
    Thanks!

    Thanks Kglad,
    Simply moving the button layer above the background layer showed the button rectangles, hence changing the display list I believe.  Thanks again for quick reply.
    Date: Sun, 24 Feb 2013 13:10:44 -0800
    From: [email protected]
    To: [email protected]
    Subject: buttons / popups hidden behind background why ?
        Re: buttons / popups hidden behind background why ?
        created by kglad in Flash Pro - General - View the full discussion
    is the parent of the background and the parent of the popup the same? if yes, that re-adding the popup to the display list will add it above the background. if no, you will need to rethink your setup or re-add the parent of the popup so it's above the parent of the background.
         Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at http://forums.adobe.com/message/5098686#5098686
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/5098686#5098686
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/5098686#5098686. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Flash Pro - General by email or at Adobe Community
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • div drop shadow hidden behind background image of div below

    I am trying to show the <div navigation> drop shadow on top of the <div mainImage> background image. How can I fix the css to show it on top of the bar picture? Here is the site in progress... http://cishenanigans.com/index2012.html
    Thanks!

    You should use z-index. But this works only on absolute or relative positioned elements.
    In your case, replace this:
    #mainImage {
    margin: 0px;
    padding: 0px;
    height: 300px;
    width: 1020px;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(../images/mainImage.jpg);
    to this:
    #mainImage {
    margin: 0px;
    padding: 0px;
    height: 300px;
    width: 1020px;
    background-repeat: no-repeat;
    background-position: center center;
    background-image: url(../images/mainImage.jpg);
    position: relative;
    z-index: -10;
    That should do the trick

  • Carousel hidden behind of image background

    Hi all
    I'm new to actionscript 3.0. I'm facing a problem on my flash file that I created. I did a carousel through scripting but the carousel was hidden behind a background image that i added on one of the layer. What can be the problem for the carousel to be hidden behind the background image? Can someone help me out?
    here is the code for the carousel:
    const NUMBER_OF_ITEMS:uint = 8;
    var menuItems:Array = new Array();
    var txtArray:Array = ["Pop/Rock", "Hip Hop", "Electrónica", "Jazz", "Ambient", "Folk", "Clásica", "Metal"];
    var focalLength:Number = 350;
    var vanishingPointX:Number = stage.stageWidth / 2;
    var vanishingPointY:Number = stage.stageHeight / 2;
    var angleSpeed:Number = 0;
    var radius:Number = 128;
    var angleDifference:Number = Math.PI * (360 / NUMBER_OF_ITEMS) / 180;
    for (var i:uint = 0; i < NUMBER_OF_ITEMS; i++) {
    var menuItem:MenuItem = new MenuItem();
    var startingAngle:Number = angleDifference * i;
    menuItem.currentAngle = startingAngle;
    menuItem.xpos3D =  -  radius * Math.cos(menuItem.currentAngle) * 0.5;
    menuItem.ypos3D = radius * Math.sin(startingAngle);
    menuItem.zpos3D = radius * Math.cos(startingAngle);
    var scaleRatio = focalLength/(focalLength + menuItem.zpos3D);
    menuItem.scaleX = menuItem.scaleY = scaleRatio;
    menuItem.x = vanishingPointX + menuItem.xpos3D * scaleRatio;
    menuItem.y = vanishingPointY + menuItem.ypos3D * scaleRatio;
    menuItem.alpha = 0.3;
    menuItem.menuItemText.text = txtArray [i];
    menuItem.mouseChildren = false;
    menuItem.addEventListener(MouseEvent.MOUSE_OVER, mouseOverItem);
    menuItem.addEventListener(MouseEvent.MOUSE_OUT, mouseOutItem);
    menuItem.addEventListener(MouseEvent.CLICK, itemClicked);
    menuItems.push(menuItem);
    addChild(menuItem);
    addEventListener(Event.ENTER_FRAME, moveCarousel);
    function moveCarousel(e:Event):void {
    angleSpeed = (mouseY - stage.stageHeight / 2) * 0.0002;
    for (var i:uint = 0; i < NUMBER_OF_ITEMS; i++) {
    var menuItem:MenuItem = (MenuItem)(menuItems[i]);
    menuItem.currentAngle += angleSpeed;
    var scaleRatio = focalLength/(focalLength + menuItem.zpos3D);
    menuItem.scaleX=menuItem.scaleY=scaleRatio;
    menuItem.xpos3D=- radius*Math.cos(menuItem.currentAngle)*0.5;
    menuItem.ypos3D=radius*Math.sin(menuItem.currentAngle);
    menuItem.zpos3D=radius*Math.cos(menuItem.currentAngle);
    menuItem.x=vanishingPointX+menuItem.xpos3D*scaleRatio;
    menuItem.y=vanishingPointY+menuItem.ypos3D*scaleRatio;
    sortZ();
    function sortZ():void {
    menuItems.sortOn("zpos3D", Array.NUMERIC | Array.DESCENDING);
    for (var i:uint = 0; i < NUMBER_OF_ITEMS; i++) {
    setChildIndex(menuItems[i], i);
    Thanks in advance!
    Regards
    horray

    The problem lies in that for loop you have at the bottom that is setting things in the carousel to be at index 0 and up.  See if it helps changing it to ....
    for (var i:uint = 0; i < NUMBER_OF_ITEMS; i++) {
         setChildIndex(menuItems[i], numChildren-1);
    If not, then you still need to deal with keeping the background at child index 0 in order to keep the carousel atop it

  • JLabel text hidden behind another component in GridBagLayout

    Hi everyone
    I have looked for an answer to this but come up short so here I am.
    I am using GridBagLayout to position some Jlabels and a JScrollPane
    I have a JLabel in gridx = 0 and gridy = 0 which spans 2 columns
    under that in gridx = 0, gridy = 1 I have a JList inside a JScrollPane
    it only spans the 1 column but fills the entire column.
    next to this in gridx = 1, gridy = 1 I have a JLabel which should fill the rest of the row. It does this but the text is hidden behind the JScrollPane.
    I have tried changing the fill to REMAINING but then the label does not fill the required area.
    Any ideas why this is happening and how to fix it
    my code is
    contents = (JPanel) getContentPane();
    tabbedPane = new JTabbedPane();
    panel = new JPanel();
    panel.setLayout(gridbag);
    //left hand side
    label = new JLabel("Video Database System",JLabel.CENTER);
    gridConstraints.gridx = 0;
    gridConstraints.gridy = 0;
    gridConstraints.gridwidth = 2;
    gridConstraints.weightx = panel.getWidth() * 0.3;
    gridConstraints.weighty = 0.03;
    gridConstraints.anchor = GridBagConstraints.NORTH;
    gridConstraints.fill = GridBagConstraints.BOTH;
    gridbag.setConstraints(label,gridConstraints);
    label.setOpaque(true);
    label.setBackground(Color.blue);
    label.setFont(boldFont);
    panel.add(label);
    //scrolling list
    list = new JList(FileAccess.titleDVD);
    scrollPane = new JScrollPane(list);
    gridConstraints.gridx = 0;
    gridConstraints.gridy = 1;
    gridConstraints.weightx = 0.3;
    gridConstraints.weighty = 0.7;
    gridConstraints.gridheight = 7;
    gridConstraints.anchor = GridBagConstraints.WEST;
    gridConstraints.fill = GridBagConstraints.VERTICAL;
    gridbag.setConstraints(scrollPane,gridConstraints);
    panel.add(scrollPane);
    //labels in the right hand side, this is the label where the text becomes hidden
    label = new JLabel("TITLE",JLabel.LEFT);
    gridConstraints.gridx = 1;
    gridConstraints.gridy = 1;
    gridConstraints.weighty = 0.7;
    gridConstraints.weightx = 0.9;
    gridConstraints.anchor = GridBagConstraints.NORTH;
    gridConstraints.fill = GridBagConstraints.HORIZONTAL;
    gridbag.setConstraints(label,gridConstraints);
    label.setOpaque(true);
    label.setBackground(Color.yellow);
    panel.add(label);
    tabbedPane.add(panel,"Video Information");
    Thanks

    import java.awt.*;
    import javax.swing.*;
    public class hugh extends JFrame {
      public hugh() {
        JPanel tabPanel = new JPanel(new GridBagLayout());
        GridBagConstraints gbc = new GridBagConstraints();
        gbc.weightx = 1.0;
        gbc.weighty = 1.0;
        JLabel topLabel = new JLabel("Video Database System", JLabel.CENTER);
        topLabel.setOpaque(true);
        topLabel.setBackground(Color.pink);
        topLabel.setPreferredSize(new Dimension(275,20));
        gbc.gridwidth = 2;
        tabPanel.add(topLabel, gbc);
        JPanel scrollPanel = new JPanel();
        scrollPanel.setBackground(Color.red);
        scrollPanel.setPreferredSize(new Dimension(375,300));
        scrollPanel.add(new JLabel("JList goes here . . ."));
        JScrollPane scrollPane = new JScrollPane(scrollPanel);
        scrollPane.setPreferredSize(new Dimension(200,300));
        gbc.gridy = 1;
        gbc.gridwidth = gbc.RELATIVE;
        tabPanel.add(scrollPane, gbc);
        JLabel sideLabel = new JLabel("TITLE", JLabel.CENTER);
        sideLabel.setOpaque(true);
        sideLabel.setBackground(Color.pink);
        sideLabel.setPreferredSize(new Dimension(75,20));
        gbc.gridwidth = gbc.REMAINDER;
        tabPanel.add(sideLabel, gbc);
        JTabbedPane tabbedPane = new JTabbedPane();
        tabbedPane.addTab("Video Information", tabPanel);
        getContentPane().add(tabbedPane);
        setDefaultCloseOperation(EXIT_ON_CLOSE);
        setSize(400,400);
        setLocation(400,300);
        setVisible(true);
      public static void main(String[] args) {
        new hugh();
    }

  • Spry Horizontal submenu hidden behind image

    This is driving me nuts. I am using Dreamweaver CS4. I have created a horizontal menu bar just above an image. When i hover over the main menu item the submenu is hidden behind the image. I have not been able to figure this one outy. i am very new to CSS and Dreamweaver. This is a template that i want to use across my entire site. You can goto http://www.gray-wolf.net/MainPages.html.
    @charset "UTF-8";
    /* SpryMenuBarHorizontal.css - version 0.6 - Spry Pre-Release 1.6.1 */
    /* Copyright (c) 2006. Adobe Systems Incorporated. All rights reserved. */
    LAYOUT INFORMATION: describes box model, positioning, z-order
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    cursor: auto;
    width: 800px;
    font-family: Arial, Helvetica, sans-serif;
    background-color: #008080;
    height: 40px;
    float: left;
    top: 100px
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
    z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    width: 8em;
    float: left;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    z-index: 1020;
    cursor: default;
    width: 8.2em;
    position: absolute;
    left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
    left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
    width: 8.2em;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
    position: absolute;
    margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
    left: auto;
    top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
    border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
    display: block;
    cursor: pointer;
    background-color: #EEE;
    padding: 0.5em 0.75em;
    color: #333;
    text-decoration: none;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
    background-color: #33C;
    color: #FFF;
    width: auto;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
    background-color: #33C;
    color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarDown.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarDownHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarRightHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
    position: absolute;
    z-index: 1010;
    filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
    ul.MenuBarHorizontal li.MenuBarItemIE
    display: inline;
    float: left;
    background: #FFF;

    Your unexpected (and undesired) wolf call on entering that page scared the begesus outta me.  Most people don't take kindly to such surprises!
    You do realize that the page you linked to is a TEMPLATE page, but it is named with an HTML extension, right?  You did that just to show us the template?
    Also, it appears that you have built your entire site inside of the Templates folder -
    <a href="Templates/pgpage1.htm" title="Page 1 of my Photo Gallery">
    That's improper.  Nothing should be in the Templates folder other than the template files themselves.
    Finally, your use of absolute positioning as a primary page layout method is going to get you into serious trouble.  Please read this -
    http://apptools.com/examples/pagelayout101.php
    Now - here's the problem:
    You have applied a style of 'overflow:hidden' to div#nav.  Remove that.  With that in place, the submenus cannot flow OUT of div#nav.

  • Updating a Label content from code behind using dispatcher

    hi,
    I am trying to update a label's content from code behind.
    This part of the code is running in background worker. I wrote the following code to update a label's content:
    volumecontrol.Dispatcher.BeginInvoke(new Action(() =>
    volumecontrol.Content = volumeupdate;
     i tried using both BeginInvoke and Invoke but the application exits with the error:
    System.InvalidOperationException' occurred in WindowsBase.dll
    Using Invoke works when updating the UI from another thread but it not working in this case:
    Pls help.
    Thanks,
    Shaleen
    TheHexLord

    When you do that new action stuff you're capturing variables.
    If that means you grab a control's value across from outside the {} then you're trying to capture the variable on the background thread.  If that's some sort of control you're messing with then that will cause a problem as they have thread affinity.
    Because you don't want to be blocking the UI thread at all you should use BeginInvoke rather than Invoke.
    To explain this clearly - and provide a way you could use to explore what's going on and learn  - we need a separate thread which can be done using Task.Factory.StartNew.
    This bit of code allows you to put code onto a background thread:
    Task.Factory.StartNew(() =>
    // On a separate thread to the UI here
    Create a new solution, add a textBlock and Button:
    <StackPanel>
    <TextBlock Name="tb"/>
    <Button Name="btn" Click="btn_Click">Change the text</Button>
    </StackPanel>
    Then in the button click you can play around with what's going on.
    Just to be clear.
    That textblock is a control and it is created on the UI thread.
    To get from that task thread back to the UI thread you should use Dispatcher.BeginInvoke.  With no control name.
    Let's start with a broken piece of code:
    private void btn_Click(object sender, RoutedEventArgs e)
    Task.Factory.StartNew(() =>
    string thingummy = tb.Text + "Banana";
    Dispatcher.BeginInvoke(new Action(() => { tb.Text = thingummy; }));
    When you click the button it'll error because when you access tb.Text there you do so on a background thread and tb has thread affinity.
    This, however, will work OK.
    Task.Factory.StartNew(() =>
    Dispatcher.BeginInvoke(new Action(() => { tb.Text = tb.Text + "Banana"; }));
    That's OK because the Action runs on the UI thread where tb was created and all is good.
    Anonymous methods and actions capture variables ( you can google that for more info ).
    If you wanted to use a variable which was created on the background thread you can set it here:
    Task.Factory.StartNew(() =>
    string thingummy = "banana";
    Dispatcher.BeginInvoke(new Action(() => { tb.Text = thingummy; }));
    or here
    string thingummy = "banana";
    Task.Factory.StartNew(() =>
    Dispatcher.BeginInvoke(new Action(() => { tb.Text = thingummy; }));
    They both work.
    They are not accessing properties of a UI control because you're just setting the variable to a string.
    All of which means you could have a variable in your code which is set to volume or whatever that is from your control  ON THE UI THREAD and then modify that variable on the background thread.  Variables do not have thread affinity.  A
    double, string or whatever isn't a control.
    And this approach might well be more convenient.
    Hope that helps.
    Recent Technet articles:
    Property List Editing ;  
    Dynamic XAML

  • My Iphoto pictures are hidden behind gray boxes and everytime i close iphoto my library is backing up all photos

    My Iphoto are hidden behind gray boxes and the library startes backing up the entire photo s everytime i shut down.

    If ssls6 solution is not working for you, try this
    I just did it on my iMac and it works.
    Here are the steps it took:
    1- Log into your old account
    2- Go to Macintosh HD, Users, "your old account user name", Pictures
         In the pictures folder, you will see a file called iPhoto library.
    3-Right click on it and select "show package content" from the menu.
    4-In the window that will open, find the folder called "Originals" (these are your original photos)
    5- right click on it and select "Copy Originals"
    6-Close that window
    7- Go to Macintosh HD, Users, "your old account user name", and open the Public folder.
    8- in the window of that folder, right click and select "paste item"
         This will copy the Originals folder in the public folder.
    9- Right click on the Originals folder that was just copied and select "get info"
    10- In the information window that will open, click on Sharing and Permissions and on the + sign at the bottom.
    11- Click on your new user account in the list of choices and click select.
    12-Still in the information window, in sharing and permissions, click on your new account and under the privilege menu, select "Read and write", then close the information window.
    13- Log out of your old user accont and into your new user account.
    14- Launch iPhoto, click on the file menu and on "import to library"
    15- In the window that opened, navigate to Macintosh HD, Users, "your old account user name",  Public folder, click on the Originals folder and then click import.
    This will import all the photos from your old account into your now iPhoto library.
    It's many steps, but it works and you will get back all your photos.

  • How to print PDF file content from ABAP in background?

    Hi,
    Is it possible to print PDF file content from ABAP in background?
    I have some PDF content which I need to print it, these PDF files are generated outside the SAP.
    Please have you any suggestions?
    Thank you
    Tomas

    <b><u>Solution:</u></b><br>
    <br>
    The target output device must support PDF print, this is only one limitation.<br>
    <br>
    REPORT  z_print_pdf.
    TYPE-POOLS: abap, srmgs.
    PARAMETERS: p_prnds LIKE tsp01-rqdest OBLIGATORY DEFAULT 'LOCL',
                p_fname TYPE file_table-filename OBLIGATORY LOWER CASE,
                p_ncopi TYPE rspocopies OBLIGATORY DEFAULT '1',
                p_immed AS CHECKBOX.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fname.
      DATA: lv_rc     TYPE i,
            lv_filter TYPE string.
      DATA: lt_files TYPE filetable.
      FIELD-SYMBOLS: <fs_file> LIKE LINE OF lt_files.
      CONCATENATE 'PDF (*.pdf)|*.pdf|' cl_gui_frontend_services=>filetype_all INTO lv_filter.
      CALL METHOD cl_gui_frontend_services=>file_open_dialog
        EXPORTING
          file_filter             = lv_filter
        CHANGING
          file_table              = lt_files
          rc                      = lv_rc
        EXCEPTIONS
          OTHERS                  = 1.
      IF sy-subrc NE 0 AND lv_rc EQ 0.
        MESSAGE 'Error' TYPE 'E' DISPLAY LIKE 'S'.
      ENDIF.
      READ TABLE lt_files ASSIGNING <fs_file> INDEX 1.
      IF sy-subrc EQ 0.
        p_fname = <fs_file>-filename.
      ENDIF.
    AT SELECTION-SCREEN.
      DATA: lv_name   TYPE string,
            lv_result TYPE boolean.
      lv_name = p_fname.
      CALL METHOD cl_gui_frontend_services=>file_exist
        EXPORTING
          file                 = lv_name
        RECEIVING
          result               = lv_result
        EXCEPTIONS
          OTHERS               = 1.
      IF sy-subrc NE 0.
        MESSAGE 'Bad file!' TYPE 'E' DISPLAY LIKE 'S'.
      ENDIF.
      IF lv_result NE abap_true.
        MESSAGE 'Bad file!' TYPE 'E' DISPLAY LIKE 'S'.
      ENDIF.
    START-OF-SELECTION.
    END-OF-SELECTION.
      PERFORM process.
    FORM process.
      DATA: lv_name     TYPE string,
            lv_size     TYPE i,
            lv_data     TYPE xstring,
            lv_retcode  TYPE i.
      DATA: lt_file TYPE srmgs_bin_content.
      lv_name = p_fname.
      CALL METHOD cl_gui_frontend_services=>gui_upload
        EXPORTING
          filename                = lv_name
          filetype                = 'BIN'
        IMPORTING
          filelength              = lv_size
        CHANGING
          data_tab                = lt_file
        EXCEPTIONS
          OTHERS                  = 1.
      IF sy-subrc NE 0.
        MESSAGE 'Read file error!' TYPE 'E' DISPLAY LIKE 'S'.
      ENDIF.
      CALL FUNCTION 'SCMS_BINARY_TO_XSTRING'
        EXPORTING
          input_length = lv_size
        IMPORTING
          buffer       = lv_data
        TABLES
          binary_tab   = lt_file
        EXCEPTIONS
          failed       = 1
          OTHERS       = 2.
      IF sy-subrc NE 0.
        MESSAGE 'Binary conversion error!' TYPE 'E' DISPLAY LIKE 'S'.
      ENDIF.
      PERFORM print USING p_prnds lv_data CHANGING lv_retcode.
      IF lv_retcode EQ 0.
        WRITE: / 'Print OK' COLOR COL_POSITIVE.
      ELSE.
        WRITE: / 'Print ERROR' COLOR COL_NEGATIVE.
      ENDIF.
    ENDFORM.                    " PROCESS
    FORM print USING    iv_prndst  TYPE rspopname
                        iv_content TYPE xstring
               CHANGING ev_retcode TYPE i.
      DATA: lv_handle    TYPE sy-tabix,
            lv_spoolid   TYPE rspoid,
            lv_partname  TYPE adspart,
            lv_globaldir TYPE text1024,
            lv_dstfile   TYPE text1024,
            lv_filesize  TYPE i,
            lv_pages     TYPE i.
      CLEAR: ev_retcode.
      CALL FUNCTION 'ADS_SR_OPEN'
        EXPORTING
          dest            = iv_prndst
          doctype         = 'ADSP'
          copies          = p_ncopi
          immediate_print = p_immed
          auto_delete     = 'X'
        IMPORTING
          handle          = lv_handle
          spoolid         = lv_spoolid
          partname        = lv_partname
        EXCEPTIONS
          OTHERS          = 1.
      IF sy-subrc NE 0.
        ev_retcode = 4.
        RETURN.
      ENDIF.
      CALL FUNCTION 'ADS_GET_PATH'
        IMPORTING
          ads_path = lv_globaldir.
      CONCATENATE lv_globaldir '/' lv_partname '.pdf' INTO lv_dstfile.
      OPEN DATASET lv_dstfile FOR OUTPUT IN BINARY MODE.
      IF sy-subrc NE 0.
        ev_retcode = 4.
        RETURN.
      ENDIF.
      TRANSFER iv_content TO lv_dstfile.
      IF sy-subrc NE 0.
        ev_retcode = 4.
        RETURN.
      ENDIF.
      CLOSE DATASET lv_dstfile.
      IF sy-subrc NE 0.
        ev_retcode = 4.
        RETURN.
      ENDIF.
      CALL FUNCTION 'ZBAP_RM_PDF_GET_PAGES'
        EXPORTING
          iv_content = iv_content
        IMPORTING
          ev_pages   = lv_pages.
      lv_filesize = XSTRLEN( iv_content ).
      CALL FUNCTION 'ADS_SR_CONFIRM'
        EXPORTING
          handle   = lv_handle
          partname = lv_partname
          size     = lv_filesize
          pages    = lv_pages
          no_pdf   = ' '
        EXCEPTIONS
          OTHERS   = 1.
      IF sy-subrc NE 0.
        ev_retcode = 4.
        RETURN.
      ENDIF.
      CALL FUNCTION 'ADS_SR_CLOSE'
        EXPORTING
          handle = lv_handle
        EXCEPTIONS
          OTHERS = 1.
      IF sy-subrc NE 0.
        ev_retcode = 4.
        RETURN.
      ENDIF.
    ENDFORM.                    " PRINT

  • VBA dialog box hidden behind EPM processing window

    I have a BPC 10 report where I want to validate selections made by the user before refreshing.  I wrote a simple piece of code to test using one condition.  If the condition is met, I want to display a message and prevent the report from refreshing.  This is working fine but when the VBA dialog box appears, it gets hidden behind an EPM processing box and not readily visible.  I had to hit alt-tab to bring it to the forefront.  Any ideas why this would be happening?  I don't recall this type of behavior when using v7.5.
    Function BEFORE_REFRESH()
       If some_issue = true Then
          MsgBox "alert user"
          BEFORE_REFRESH = False
       End If
    End Function

    Hi All,
    not sure I've undestand your request but if you want to have a form on top you can use some windows API that give you the z-order you want, just search on google "vba form stay on top"
    e.g. see please  http://support.microsoft.com/kb/184297
    Regards
         Roberto

  • Spotlight menu hidden behind menu bar in Leopard when "Show Desktop" Expose

    The Spotlight menu is partially hidden behind the menu bar in Leopard when using "Show Desktop" (part of Expose). I tried using "Show Desktop" with keyboard shortcut keys and screen corners, and this behavior still exists. I tried toggling Spaces on and off, and the behavior still exists.
    This has been an issue since day one of using Leopard, and on every bootup. It's absolutely reproducible, and this is a bug, unless someone can prove me wrong? (Hopefully, I'm wrong.)

    Fixed in 10.5.2.

  • Spotlight hidden behind menu bar in Leopard?

    I updated to Leopard three days ago with no problems. Today, however I suddenly find my spotlight drop down box is three quarters hidden behind the menu bar and I cannot get it to appear in front of it. Weird. Does anyone have an idea what's going on? Thanks......!

    I had the same issue and tried all the suggestions (desktop from expose, enable/disable spaces, etc), but I had some important things going on and didn't want to logout. I pressed the display key on my Macbook. That's the one that switches from mirrored displays to extended desktop. That did it.
    It's the F7 key on my 8 month old macbook. Not sure if the new ones have it, but try "detecting displays" (I use dual displays so it sort of makes sense to me... you may not have this enabled if you only use the one display).
    Cheers!
    -Neil

  • Window hidden behind menu bar

    Some of the windows have become semi hidden behind my menu bar, im really not shure how i managed to do this; But it is really annoying.
    Now i cant move the windows, and thats a drag. You can see what i meen on this screenshot:
    http://img251.imageshack.us/img251/5491/bilde22mo3.png
    MacBook Mac OS X (10.4.7)
    Is there any solution to this? I tried GeekBind to move the window, but that didnt work either.

    Also, many programmes have a "Window" > "Zoom" menu option, which usually causes the front window to resize to dimensions suitable for the current monitor resolution...

  • Hi, i've just bought my first macbook pro, i just installed office mac and when i open the page i cannot see the minimise maximise and close buttons as it's hidden behind the apple menu bar, also when it's at full screen, those buttons do not appear

    hi, i've just bought my first macbook pro, i just installed office mac and when i open the page i cannot see the minimise maximise and close buttons as it's hidden behind the apple menu bar, also when it's at full screen, those buttons do not appear

    Try to edit the size of the page using the sides of the page, or if you are desperate, force quit using command-Q. In full screen put your cursor on the top of the page, and the menu bar will appear. If it doesn't keep "pushing" it up until it does. Hope this helps!

  • Title Bar hidden behind Apple Mac menu bar

    Hi
    I am using Elements Organizer 12.1 and, for some reason, the title bar is hidden behind my Apple Mac menu bar.  Does anyone know how to click behind the menu bar so I can access the Elements title bar?
    Thanks
    Richard

    The first thing to try is to go to system preferences>displays and set your screen resolution down as far as it will go. You may need to try a few different settings, but eventually it may snap back into place and then you can go back to the correct setting for your display.

Maybe you are looking for

  • Different id's for different phones but share aps?

    my entire family (iphones, ipads, i touches... all have aps purchades under my apple id (the only one set up for the family). is there a way to have seperate id's to use for contacts and calendars so everyone does not automatically get all of my info

  • SQL Developer: Not able to view tables

    I am new to sqldeveloper and oracle products. I've recently installed sqldeveloper onto my pc, i am able to connect to the database but when i try and expand the tables item in the treeview i dont get the tables displayed and the error Warning, unhan

  • RoboHelp 8 Spell Checker Issue

    I am using RoboHelp 8 and am having trouble with the Spell Checker. It flags normal words (like "lesson"), and even when I add these words to the dictionary in one topic, the words are not retained in the dictionary, and it flags the same words in ot

  • Home nw w/ two distinct wireless signals

    I've got a AEBS (gigabit) and and WRT54G. I've got the WRT54G set up as a router (not gateway) device, attached to the AEBS, broadcasting a G-only signal (unique SSID to reflect this). I'm doing this so I can set up the AEBS for N-Only access (again,

  • Photoshop and Lightroom Download

    I recently signed up for CC and downloaded both Photoshop and Lightroom.  I can't find them on my computer.  Where should I look?  They aren't in my downloads and there aren't any icons on my desktop.