Get parent frame of an inline (anchored) box?

Hi
How can I obtain the parent frame of an inline (anchored) frame? I can obtain it with "IsPageItemAnchoredObject", but this doesn't seem to work if the inline frame is overflowed.
Thanks
Hans

No.

Similar Messages

  • Javascript can't get parent frame's dom

    the code like this:
    <pre><nowiki>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    </head>
    <input type="hidden" name="username" id="username" value="" />
    <frameset id="MainFrame" cols="0,0,*" border="0" frameSpacing="0" frameborder="no">
    <frame id="left" name="left" src="left.php" noresize scrolling="no" style="padding-left:20px;">
    <frame id="action" name="action" src="right.php" noresize scrolling="no">
    </frameset>
    </html>
    </nowiki></pre>
    does firefox will omit the code:
    <pre><nowiki><input type="hidden" name="username" id="username" value="" /></nowiki></pre>
    so when i in left.php or right.php can't get the input value?

    A good place to ask questions and advice about web development is at the MozillaZine Web Development/Standards Evangelism forum.
    The helpers at that forum are more knowledgeable about web development issues.
    You need to register at the MozillaZine forum site in order to post at that forum.
    See http://forums.mozillazine.org/viewforum.php?f=25

  • How to refrash a parent frame when a model dialog box is still active?

    say a JFileChooser is active

    What will trigger the refresh, meaning, what event
    occurs that you need to refresh?i read a zip file and paint its tree structure, in this process i need to refrash the status bar at the main frame to display "busy".

  • Inline Text Boxes getting converted to inline tags on text reflow in parent

    Hi,
    We extract text from a text box in a Indesign CS3 document. The text box can have inline text boxes. The text of the inline boxes is extracted as well.
    The text extracted from all the text frames is processed in an xml and processed. After processing, it is reflown into the boxes.
    When we try to import the text in the parent text frame having inline boxes, the inline text boxes are converted to inline tags.
    Can we keep the inline text boxes as it is rather than they getting converted to the inline tags.
    Thanks.

    Hello Harbs,
    Thanks for the reply. By recreating the boxes, do you mean to say that we draw the boxes again and place them in the main text frame as an inline box.
    But the problem again is that if we attach the xml element of the parent element to the text frame, it will flow all the contents including the inline boxes which will be again convert them to inline tags.
    Or is it that we flow the parent text and then look for all the inline tags and draw boxes in place of these tags. But the question here is how do we differentiate between an genuine inline tag and the one which is converted from an inline box.
    Can you help in describing the solution in your mind.
    Thanks

  • How to get pagenumber of anchored Box

    In javascript, how to get page number of anchored textbox.
    if i gave "textframes[0].parent" means it shows an error.
    Thanks

    Usually, the "textframes" array of an object points to the textframes contained in that object. Therefore, if you ask something with textframes what the parent is of "textframes[0]", you will get that same object again.
    In this case you are getting an error because there are (apparently) no text frames inside the anchored object.
    To try out stuff like this you can use the "constructor.name" construction:
    alert (app.selection[0].parent.constructor.name);
    with the anchored object selected results "Character". That cannot ever be a part of a page, so you have to get up another level:
    alert (app.selection[0].parent.parent.constructor.name);
    will tell you it's a Story. Now that's obviously wrong, because a story can run over several pages. Looking into the Object Model, you will see a character also has a property "parentTextFrames" (described as "The text frames that contain the Character. Can return: Array of TextFrames or TextPaths."). Checking with
    alert (app.selection[0].parent.parentTextFrames[0].constructor.name);
    now returns the text frame of the story where the actual character -- in this case the Anchored object -- is located in.
    For simple documents and scripts, you are done here: the parent of a text frame is the page. If this frame in turn could be anchored inside something else, or the anchored object could be inside a table or something like that, or the objects could be on the pasteboard or on a master page, you'll need additional checks.

  • Need to get the parent frame

    I am popping up a dialog box from a JScrollPane made up of a JTable and some buttons. I do not know how to specify the Frame owner part of the constructor. How do I get the parent frame in for the JDialog constructor?
    Everything worked but then I realized my "dialog" was not a dialog box at all, just another frame... oops! This is an assignment so I have requirements I must adhere to. Now I am trying to convert it so it will truly be a Dialog box.
    I promise you I have read ALL of the trails and API and searched forums. Can anyone assist?

    try: SwingUtilities.windowForComponent( Component );
    and cast the result to a JFrame
    or try this link:
    http://forum.java.sun.com/thread.jsp?forum=57&thread=189331
    which I found by search the Swing forum using the keywords - (parent frame)

  • How do I get a pop-up JDialog to return a result back to the parent frame?

    I have a button in a frame that opens up a JDialog with more buttons. Depending on the button pressed, the JDialog calculates an array and then closes the dialog. I'd like the results from the JDialog to be passed back to the parent frame. Is there any built in JDialog function allowing a passback upon closing to the parent frame or anything like that?
    If not, what's the best way to go about it?

    Is this a modal dialog? Then setVisible(true) blocks. The caller can retrieve the result after that call:
    dlg.setVisible(true);
    //now get result;

  • Owb error(please pass a parent frame)

    Hi all,
    While synchronizing mapping in a process flow i am getting "this message is not modal pass a parent frame" error.My mapping has operating mode of "set based fail over to row based".Any idea why i am getting the error?

    Anyone??????????

  • Parent.frame.location problem in firefox

    Hello! I'm making a JSP page which opens a new page with 2 frames. The left frame has links which changes the location of the right frame. The right frame either displays an oracle report or another JSP that displays a PDF file. The thing is, I use parent.frame.location to change the display and it works ok with IE, but not in firefox. Anyone know why this is and how to fix it?
    Thanks.

    This is a JavaScript problem. So someone probably knows the answer but you are more likely to get an answer on a JS forum rather than a JSP forum.

  • Find reference of parent frame

    Is it possible to get a reference of the parent frame to a component? I have an inner class as an actionListener to a JButton that I need to manipulate the properties of a frame. I can get a reference to the component by using the getSource method of the event, but I am stuck from there. Is is possible and if so, how? Thanks in advance.

    SwingUtilities.windowForComponent(...);

  • Transfer Focus From a Child Dialog To its Parent Frame

    Hi
    I m working on a Multimedia Desktop Application. I have done alomst 90% of work. Here I have a problem to transfer focus from a Child Dialog to Parent Frame. Remember the whole applicatio does not use Mouse every thing is handled on key events. So I required to transefer the focus from a Child Dialog to its Parent Frame from key board. I also cant use ALT+TAB because
    1- Child is a dialog
    2- This is a Multimedia Application which will be deployed For TV production and can't allow any Computer
    Components to be viewable.
    So I want only key press to transfer the focus between Child and The Parent.
    Thanks.
    Khurram

    First u tell me what do u do on the forumI answer questions - when I know the answer.
    I give advice on how to use the forums efficiently so you get the best chance to have your question answered and you don't waste other peoples time.
    And the post-URL you mentioned, was mistakenly submitted two times.Then respond to your own thread saying you posted it twice by mistake.
    any ways I did never see any article posted by you, nor the solutions on the other's posts by you. you just made comments on others posts.which only goes to prove that you never bother to search the fourm before you post a question.
    and please let others try to review on my problem.others can still reply

  • Wmode=opaque, origin of x, y of mousewheel event based on parent frame

    wmode=opaque, origin of x, y of mousewheel event based on parent frame.
    as a result , mousewheel on the dropdown of combo box, dropdown closed.
    Header Area
    Tab Area
    SWF Area is here.
    wmode=opaque
    The x, y of mousewheel is missing for value of top and left area.
    wmode=window
    The x, y of mousewheel is correct.

    http://forums.adobe.com/thread/628143

  • Extended JDialog to pop-up in center of parent frame

    I have a JDialog extended, and I want it to pop up in the center of the parent frame when A button is pressed in the frame. The button is in the constructor of the main frame, and uses an anonymous inner class to attach the action listener to the button. I am calling the outter class (MainFrame) with the "this" reference, and I get bogus results. MapParameters is extended from JDialog.
    when I instantiate the JDialog with this line "mp = new MapParameters(MainFrame.this,true)" It puts the dialog in the upper left corner of the screen, which is the same results as if I were to use "null" where "MainFame.this" is.
    What am I doing wrong?

    You have to calculate the locations if you want to center the dialog on the frame. Add this code to either your the MainFrame where you create the dialog or in the JDialog extended class. Make sure the size of the dialog is set (ie it has been laid out if you are using a layout manager or set it using setSize if you are laying out components manually) before this code is executed.
    //Center the dialog
    Dimension frameSize = frame.getSize();
    Dimension dialogSize = dialog.getSize();
    if (dialogSize.height > frameSize.height) dialogSize.height = frameSize.height;
    if (dialogSize.width > frameSize.width) dialogSize.width = frameSize.width;
    dialog.setLocation((frameSize.width - dialogSize.width) / 2, (frameSize.height - dialogSize.height) / 2);

  • Problem with Jtree to xml tranform..how to set/get parent of a node?

    Hi,
    I am trying to develop xml import/export module.In import wizard, I am parsing the xml file and the display it in Jtree view using xml tree model which implements TreeModel and xml tree node.I am using jaxp api..
    It is workin fine.
    I got stuck with removal of selected node and save it as a new xml.
    I am not able to get parent node of selected node in remove process,itz throwing null.I think i missed to define parent when i load treemodel.Plz help me out..give some ideas to do it..
    thanks
    -bala
    Edited by: r_bala on May 9, 2008 4:44 AM

    there's no way anyone can help you without seeing your code.

  • How to get the frame rate of my application

    Hi again...
    How can I get the frame rate of my application?
    I also want the frame rate value to be the title of the frame, updated every second. How do I do that?
    thanks in advance...

    To get the path where your application has been installed you have to do the following:
    have a class called "what_ever" in the folder.
    then you do a litte:
    String path=
    what_ever.class.getRessource("what_ever.class").toString()
    That get you a string like:
    file:/C:/Program Files/Cool_program/what_ever.class
    Then you process the result a little to remove anything you don't want:
    path=path.substring(path.indexOf('/')+1),path.lastIndexOf('/'))
    //Might be a little error here but you should find out //quickly if it's the case
    And here you go, you have a nice
    C:/Program Files/Cool_program
    which is the path to your application.
    Hooray

Maybe you are looking for

  • Can't Connect Printer to Wireless - Insists the Right Password is WRONG!!!

    Help! My stupid HP Officejet Pro 8600 N911A Inkjet won't let me setup wireless printing on it....the 2nd time-- the FIRST time it worked great- easy peasy.  Same password for the wireless router today as last time. It's a Verizon router, password's o

  • Best practices for sharing a SAN-attached tape loader between servers.

    When configuring zones to allow a tape loader to be shared by multiple servers, is there a preferred zoning method? For instance, I have my primary fabric configured so that the zone for each data server using a LUN on my array consists of the primar

  • Crashing on Mac OS 10.8.3

    After installing Mac OS 10.8.3 and the latest version of Flash 11.7.700.169 I cannot open flash from preferences. It completely locks up, must force quit. Also crashes when loading farmville game from facebook. Please help, the wife is frantic to far

  • Updating fields on Tabular Forms created with wizards

    I have created a Tabular Form using the creation wizard in version 2.0. When we update database records, we always place a date and a user ID into the record to track the last time updated. In HTML-DB I typically create an "After Submit" process call

  • Sharing files between 2 Macs

    I am trying to enable file sharing between my new iMac and my (2007) model Macbook Pro. I am succesfully able to share files from the old mac to the new one, as I can connect via the macbook,  but when I try and connect from the new Mac it "fails".