absolute position won ' [work t

I have a card PCI-7332, leading the two cubes of GE Fanuc Stepper.  I'm using LabVIEW 8.5.  I use a joystick to move the two axes manually and it works fine.  When I change the mode of operation to the ABSOLUTE POSITION and try to type in a position for the engine to move, engine moving.  I tried to write a test case using the same code and it does not move the engines.  But, I can refer to move with an offset from an absolute position (movement reference, reset the zero position, move position offset) and it works every time.

This is the test case that does not work on its own.  Thanks for any help on this.


Tags: NI Hardware

Similar Questions

  • The links don't work is not inside layers div w / absolute positioning / z-index

    My page has a picture of 100% swf full page in a div z-index 1. on the top is another div z-index 2 with links to other pages of my site.

    First of all the links should work in the layer upper div with absolute positioning?

    If yes what Miss me? When I click on the links, nothing happens.

    code-

    " < html xmlns =" http://www.w3.org/1999/xhtml "XML: lang ="fr"lang ="fr"> ".
    < head >
    < meta http-equiv = "Content-Type" content = text/html"; charset = iso-8859-1 "/ >"
    sitename < title > < /title >
    < script language = "javascript" >
    AC_FL_RunContent = 0;

    function MM_preloadImages() {//v3.0
    var d = document; If (d.images) {if(!d.MM_p) d.MM_p = new Array();
    var i, j is d.MM_p.length, a = MM_preloadImages.arguments; for (i = 0; i <.) Length; i ++)
    If (a [i].indexOf("#")! = 0) {d.MM_p [j] = new Image; d.MM_p [j ++] .src = a [i] ;}}
    }
    < /script >
    < script src = "AC_RunActiveContent.js" language = "javascript" > < / script > "
    < style type = "text/css" >
    < / style >
    < link href = "css/layout.css" rel = "stylesheet" type = "text/css" > "
    < / head >

    < div id = "contentWrap" >
    < div id = "contentHead" >
    < div id = "logo" > swf with link < / div >
    < div id = "Visibility" > swf with links < / div >
    < / div >

    < div id = "contentBody" >
    < div id = "body" > content Page, photos and download links < / div >
    < div id = "bodyBG" > box translucent (transparent wmode) swf < / div >
    < / div >
    < / div >


    < div id = "footWrap" >
    < div id = "footSpacer" > < / div >
    < div id = 'foot' >
    < div id = "catlogo" > link of the swf logo < / div >
    < / div >
    < / div >
    < / div >

    < div id = "wrap" random images of > 100% background swf < / div >

    < / body >
    < / html >

    CSS - code

    @charset "ISO-8859-1";
    * {
    margin: 0px;
    }
    #wrap {}
    height: 100%;
    Width: 100%;
    min-width: 1000px;
    min-height: 700px;
    z-index: 1;
    margin: 0px;
    position: absolute;
    }
    {#contentWrap}
    height: 100px;
    Width: 100%;
    min-width: 1000px;
    min-height: 700px;
    z-index: 2;
    position: absolute;
    }
    {#contentWrap #contentHead}
    height: 25px;
    Width: 100%;
    padding-top: 50px;
    padding-bottom: 25px;
    }
    #contentWrap #contentHead #logo {}
    height: 25px;
    Width: 155px;
    padding-left: 50px;
    float: left;
    }
    #contentWrap #contentHead #topNav {}
    float: right;
    height: 25px;
    Width: 567px;
    padding-right: 50px;
    }
    {#contentWrap #contentBody}
    height: 85%;
    Width: 100%;
    min-width: 1000px;
    min-height: 550px;
    }
    #contentWrap #contentBody #body {}
    height: 485px;
    Width: 860px;
    right margin: 50px;
    margin-left: 50px;
    float: left;
    padding: 20px;
    z index: 3;
    position: absolute;
    }
    #contentWrap #contentBody #bodyBG {}
    height: 525px;
    Width: 900px;
    right margin: 50px;
    margin-left: 50px;
    float: left;
    }
    {#footWrap}
    height: 100%;
    Width: 100%;
    z index: 3;
    min-width: 1000px;
    min-height: 700px;
    position: absolute;
    }
    {#footWrap #footSpacer}
    height: 90%;
    Width: 100%;
    }
    {#footWrap #foot
    height: 10%;
    Width: 100%;
    text-align: right;
    }
    #footWrap #foot #catlogo {}
    float: right;
    height: 16px;
    Width: 80px;
    padding-top: 25px;
    padding-right: 50px;
    }

    The only thing that will cause links not working, that is if there is a positioned element by hiding links from mouse events.  In your case, it would be #footWrap div that is SUPERIOR to any other element on the page (with a z-index 3).  "But not' tell you, because div #body has also a z-index 3, to which I say" you forget that div #body is contained in the #contentWrap div that has a z-index of 2, so #body div has a z-index effective from 2-in regard to the rest of the page is concerned. "  The z-index 3 is ONLY IN THE CONTEXT OF THE PARENT DIV.  Div #body would be higher than another brother positioned with a z-index of 2 and less than another child of the same parents with a z-index of 4, but each of them would never to anything other than a z-index of the 2 visa-vis the page.

    Furthermore, your complete disposal scheme is sure to cause problems.  This isn't the purpose for which the absolute positioning was intended...

  • How to catch the absolute position Y field

    Hi all

    There are many field on the screen, he needs to scroll vertically to the browser of the entire domain.

    When the user selects a field, I like to appear a kind of peak near this field.

    However, the problem is that I can't get absolute position in Y field on the screen.

    Here is my source code:

    /*
     * VFMTester.java
     *
     * © , 2003-2008
     * Confidential and proprietary.
     */
    import net.rim.device.api.ui.component.*;
    import net.rim.device.api.ui.*;
    import net.rim.device.api.ui.container.MainScreen;
    import net.rim.device.api.ui.UiApplication;
    import net.rim.device.api.ui.component.*;
    import net.rim.device.api.system.*;
    import net.rim.device.api.servicebook.*;
    import net.rim.device.api.ui.container.*;
    
    /**
     *
     */
    public class VFMTester extends UiApplication{
        public static void main(String args[]){
            UiApplication app = new VFMTester();
            app.enterEventDispatcher();
        }
        VFMTester() {
            pushScreen(new AScreen());
        }
    
        class AScreen extends MainScreen
        {
            VerticalFieldManager vfm;
            public AScreen()
            {
                super();
                vfm = new VerticalFieldManager();
                for(int i=0;i<40;i++){
                    vfm.add(new ButtonField("Button" + String.valueOf(i)));
                }
                this.add(vfm);
            }
            public boolean trackwheelClick(int time, int status){
                ButtonField f = (ButtonField)vfm.getLeafFieldWithFocus();
                final int h = f.getContentTop() - f.getManager().getVerticalScroll();
                UiApplication.getUiApplication().invokeLater(new Runnable()
                {
                    public void run()
                    {
                        UiApplication.getUiApplication().pushScreen(new PopupTest(h));
                    }
                 });
               return true;
            }
        }
        class PopupTest extends PopupScreen
        {
            int y;
            PopupTest(int y)
            {
                super(new VerticalFieldManager());
                this.add(new LabelField("Pop up testing"));
                this.y = y;
            }
            public void sublayout(int width, int height){
                 super.sublayout(width, height);
                 setPosition(20,y);
            }
            protected boolean keyChar(char c, int status,int time)
            {
                this.close();
                return true;
            }
        }
    }
    

    Only the first screen, works very well, on the second screen, it will jump to the top of the lower position.

    Thanks in advance.

    Here is my source code:

    Field.getScreen().getFocusRect(XYRect);
    
  • Absolute position and orientation of the camera

    Hey folks, I'm banging my head against the wall trying to figure what I think should be a fairly simple expression.

    I'm trying to get my camera to an animatic of a moderator move offshore, and is not imported correctly on its system at least that the camera is not related to what whether in sequels.

    So, my relatively simple (I thought) solution was to use the term toWorld on a new camera to watch the old one and generate the absolute position and X, Y, Z rotation.  However, nothing I do seems to put the new camera in the right place, and I can't figure out how to make the rotation of key frames work not at all.

    Little information about the project, the camera has separate X, Y and Z position keyframes and rotation keyframes X and Y as well as Orientation (although I want the final device to have X, Y Z rotation keyframes).  The camera is related to a null value which has alterations Y rotation.

    If anyone can help me to collect these expressions I would be so grateful!  Thank you!

    See if this helps:

    position

    C = thisComp.layer ("camera 1");

    C.toWorld ([0,0,0])

    point of interest

    C = thisComp.layer ("camera 1");

    C.toWorld (C.pointOfInterest)

    orientation

    C = thisComp.layer ("camera 1");

    u = C.toWorldVec ([1,0,0]);

    v = C.toWorldVec ([0,1,0]);

    w = C.toWorldVec ([0,0,1]);

    SINB = clamp (w [0], 1, -1);

    b = Math.asin (sinb);

    co. = Math.cos (b);

    If (Math.abs (co.) >. 0005) {}

    c = - Math.atan2 (v [0], u [0]);

    a = - Math.atan2 (w [1], w [2]);

    } else {}

    a = (sinb< 0 ="" -1="" :="">

    c = 0;

    }

    [radiansToDegrees (a), (b) radiansToDegrees, radiansToDegrees (c)]

    Dan

  • How layer div rather than another without absolute positioning

    Hi again!

    Today, I try to shoot a div containing a SWF inside upward while it is organization layered on another div.

    Web Site: showcase restoration | Homepage

    I don't want to use absolute positioning, because then it goes back only this div and let the rest of the div where they were originally.

    Is it possible that I can exclude the function positioning and just make sure the header div can layer a bit on the empty div, packaging, and cursor?

    Also, I know there are errors with the website that will catch the scanner, I'll be cleaning up those very soon, it's just a matter, that I would get hit first.

    Any help is greatly appreciated!

    You cannot superimpose elements without adding a shape any positioning in combination with top, left, bottom or right attributes. The position "in the stack" (overlay) is normally controlled by the position of the element in the HTML itself, later in the code is closer to the top of the card game if you want. Index-Z must be added to change this default layering, but does nothing without positioning relative, absolute or fixed.

    You just need to understand the differences between a static, absolute and relative positioning (fixed also exists, but would not be used here) and some of its subtleties, to make this work.

    Static positioning is the default when nothing is added to the css. Most of the sites require only never static, as well as the floats, margins and padding to position elements, but because you specifically want an overlap, you will need one of the other three (my guess is on will be the best here).

    Absolute positioning is based on the upper-left corner of the nearest of the positioned element relative (relative, absolute or fixed). If there is no positioned parent, use the top left of the browser view port. Using absolute positioning completely removes the element of the natural flow of the page, leaving no space behind him and it will not interact with other elements on the page.

    Relative positioning is based on the normal position of the element in the document flow. Adding position: relative to an element, without changing what else, will appear to do nothing. Added up, left, down or right: value of attribute sets will move the element this sum of its normal position AND leave the space behind the element normally takes upwards if there is no positioning added. This will be to use very probably, as long as you are not moving your items over long distances (which would create a vacuum away where the element ends upward.)

    Fixed positioning is going to stick an element to something high, low or the adjustment of your use and even few matter how big/small browser view port is or if the page scrolls. You see this most often used with navigation bars "sticky."

  • absolute positioning in IE7 problem

    Hello Dreamweavers,

    I'm having a problem with a new site that I'm working on.

    In the upper left corner, there are two elements to absolute positioning: an image and a H1 title as follows:

    . Primary h1 {}

    position: absolute;

    Left: 20px;

    top: 90px;

    z-index: 100;

    }

    {.masthead}

    position: absolute;

    left: 60px banner;

    top: 20px;

    z index: 101;

    }

    the two elements are in .primary div that has a position: relative.

    Works well in all browsers except IE7

    In the screenshot you can see that the h1 title seems to disappear behind the white square in the show pushing the image down.

    I tried different things, like setting ' display: inline ' to floated elements but no success yet.

    Site is here:

    http://www.productfotografie-fotograaf.nl/

    screenshot is here:

    http://DL.dropbox.com/u/604341/screenshotie7.PNG

    What could this be?

    Bob

    The only thing is that I recently heard say that Matt Cutts saying that you shouldn't br really do that...

    Listen to Matt.

    That was the point. I want the image slightly overlap the H1, since there a reflection that sits on the H1, which gives it a bit of a bright and more of a look "logo".

    OK - do the

    position: relative and include the image of the camera in the

    as well as the text.  Use something like this-

    H1 img {position: absolute; top:-75px ;}}

    and adjust the values of the left/top to overlap anywhere.  In this case, I'll allow you to use absolute positioning.

  • Video absolute Position after stabilization of the movement

    I don't know if it's the best way to accomplish the task, but I'm trying to do is stabilize the different sections of a video clip.  I imported a video file about 30 minutes long in first pro and the same video in sequels.  Video resolution was filmed in 1080 p and I created sequences/compositions of 720 p, so I'll have to some extra pixels to work with.  There are several times in the video clip where I have a few moments of shaky cam, so the goal was to resume these sections from first to the after-effects to stabilize the movement and bring back the clips stabilized.  If you have a better workflow than what I do, do let me know.

    The issue I'm having is that I can't do the absolute position of the video clip of sequels after the stabilization of the motion so I can line perfectly in first pro.  The attribute of the position of the video in the aftermath will align not obviously the video when it is used in first because the motion stabilization has been applied.  How to find the absolute position off the coast of the video in the aftermath of implement first?

    Also, would the normal workflow involve export new clip stabilized sequelae and important in the creation and place it on the current video file aligned exactly?  If so, what should my export setting be to not lose quality?  Because it will be then again made when I made the first sequence.

    You don't have to stabilize the whole clip. If you stop tracking at any given time the clip will remain in this position until you restart monitoring. You can assign different trackers for each item you want to stabilize, apply each tracker a different null, then the images for null 1 (tracker 1) then 1 to 2 null null and so on to complete the shooting of parents. This would also allows you to define a position of the keyframes in the clip to bring it slowly back to a good starting point for the next section you want to stabilize.

    I hope you have followed that. Let me know if you have any other questions.

  • AP elements continue to go left - have the absolute positioning!

    I am item "SEE the BASKET" that prevents the PA is vertical, but moves to the left. I have watched and read the forums, but after trying the suggested fixes none of them doesn't seem to work! Positioning is well vertically, but the box continues to move to the left. I have to move its position to get near my desired location.

    Here is a link to my page in question as well as the settings of my div. Any help would be appreciated.

    http://www.kineticcreativeco.com/boatings/ourstore.html

    CS3 running

    37px height

    902 left

    absolute position

    top of page 529 px

    visible visibility

    width 83px

    index-z (highest in the file) 25

    Your done APDiv his work based on where you placed it in the code.

    She was invited to sit and stay at the absolute coordinates compared to the top LHS of the browser window - what he is doing. When you resize the window of the browser, the rest of the page elements move the apDiv, giving you the optical illusion that the apDiv moves when, in fact, the opposite is true.

    You have coded the APDiv outside and above of

    If it is positioned over the top LHS of the browser window.

    If you want it move with the page - relative to elements inside of the

    -then you need to put the APDiv inside
    and
    Should be assigned the position: relative (which is already the case).

    Then change

    ...

    TO

    ...

    Then adjust the top and left of the Divap1 coordinates based on its new placement inside

    .

  • Absolute positioning

    Hey guys

    Quick question, my site I'm working on a absolute objects that are positioned. It looks fine when in dreamweaver, but when I view in the browser its been not align as should be. Now, I put a link to the picture of how it should look and a link to the actual site. Please take a look and tell me what I'm doing wrong thank you.

    Image link: http://www.flyingant.co.za/Picture.html

    Site link: http://www.flyingant.co.za/

    Your

    Ashveer

    When you use absolute positioning, your element is the position in relation to the element of his parents who has a position (relative or absolute) on himself. If this isn't the case, it will be the position relative to the body tag. Please note that when you use absolute positioning, the element is out of circulation of normal documents.

    Solution:

    1. Place your buttons in a parent container, with a relative position value without offset to it.
    2. Your buttons of the absolute positioning will be positioned in relation to the container.

    I hope this helps!

    --

    Martin

  • Absolute positioning text

    Hello

    For purposes of variable passage, I had to create a mx:Box that contains a few elements of mx:Label to pass elements of text. However, I don't want users to see these text elements, (I changed the text so that it is white in color, but there are still near the top of my application space). I tried absolute positioning by specifying the x and position, but it doesn't seem to work. The mx:Box code is attached. If there are other ways I can fix it other that manipulate my Flex as CSS code, I would appreciate it too.

    Alice

    Thanks to all who responded. Interestingly, I used visible = "false" on the part of the area surrounding the mx:Label and all elements had disappeared from view.

    Alice

  • How to find the absolute position of the end of the text, it can be one or more,

    How to find the absolute position of the end of the text, it can be one or more,

    in the position I need to inseart the image of the size of the font that it friendly ordinary view sequiential - image as custom image

    Please help us find the position of the text, and even for a function more, I demanded the conclusion the text length

    I want to do we will be right and the other will be left how I can I align is their way to find the width of the label or text?

    Thank you

    This should help align your labels layouts, depending on what you did you do could go with absolute layout, docking station or stack (allows you to align the top to bottom or left to right)

    I'm not too sure that everything, however, to determine the length of the text, I would think that you could store the text in a string and then somehow programmatically count each letter & do return a result... not exactly on how to do it but it's an idea

  • Absolute positioning is not possible?

    I have an element with a parent. I want to place at the bottom of that parent. I can only this margin with reflow. As soon as I do the elements absolute position Collard (so I can designate postiion it is, using 'down' rather than 'margin-top) the child is released from the parent, feeling low: 0 square at the bottom of the scene. #fail in the real world, I would never top of the margin for it.

    So what do I do in a situation like this?

    The same thing you would do in the browser right? Ensure that the parent is itself relative or static position?  If it's static position so all children are compared to the other next of kin who is the relative or absolute position.

    -C

  • How to force the "absolute positioning"?

    Hello

    I want to ask a question about exporting CCS.

    I read in http://www.adobe.com/devnet/fireworks/articles/export_css_images.html and a few other items, the placement mode is forced to "absolute positioning" where there is overlap of objects (or overlapping slices, which I am not sure of).

    I tried with this and used the trick to manually create a pair of small slices overlapping on a page to force the absolute positioning. However, in doing so, is it definitively settle "absolute positioning" mode, even when there is neither duplication of objects or slices by setting in Fireworks?

    Bob

    I found a way after reading the discussion on the overlapping of text http://www.adobe.com/devnet/fireworks/articles/export_css_images.html:

    1. create two text object.

    2 move them so that they overlap.

    as long as there is overlapping of text, the entire page will be exported using absolute positioning.

    Bob

  • Floating a div with absolute positioning

    Hello, I'm floating a div wrapped around and have another filling of the space to the right. I used absolute positioning to align two div on the bottom of the package, and I think that's what it's a waste. If I remove the bottom: 20px; then the right div takes up 100% of the envelope and executes a push of the div floating left down. If I put the float: located on the div then the div will not develop far enough and will be at the top of the div by default. How can I set these two div so that the right one fills the available space, but the two are aligned vertically at the bottom? Here is the code I have so far:

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; charset = utf-8 "/ >"

    < link rel = "stylesheet" href = "style.css" type = "text/css" / > "

    < title > embroidery by CJ < /title >

    < script type = "text/javascript" >

    function MM_swapImgRestore() //v3.0 {}

    var i, x = offline. MM_sr; for (i = 0; a & & I <.) Length & & (x = a [i]) & & x.oSrc; i ++) x.src = x.oSrc;

    }

    function MM_preloadImages() {//v3.0

    var d = document; If (d.images) {if(!d.MM_p) d.MM_p = new Array();

    var i, j is d.MM_p.length, a = MM_preloadImages.arguments; for (i = 0; i <.) Length; i ++)

    If (a [i].indexOf("#")! = 0) {d.MM_p [j] = new Image; d.MM_p [j ++] .src = a [i] ;}}

    }

    function MM_findObj (n, d) {//v4.01

    var p, i, x;  if(!d) d = document; If ((p = n.IndexOf ("?")) > 0 & & parent.frames.length) {}

    d = parent.frames [n.Substring(p+1)] .document; n = n.Substring (0, p) ;}

    If (!) () x = d [n]) & & copyrights) x = d.all [n]; for (i = 0;! x & & i < d.forms.length; i ++) x = d.forms [i] [n];

    for (i = 0;! x & & d.layers & & I < d.layers.length; i ++) x = MM_findObj (n, d.layers [i] .document);

    If (! x & & d.getElementById) x = d.getElementById (n); Return x;

    }

    function MM_swapImage() {//v3.0

    var i, j = 0, x, a = MM_swapImage.arguments; document. MM_sr = new Array; for (i = 0; i <(a.length-2); I += 3).

    If ((x = MM_findObj (a [i]))! = null) {document. MM_sr [j ++] = x; if(!x.oSrc) x.oSrc = x.src; x.SRC = a [i + 2] ;}

    }

    < /script >

    < / head >

    < body onload = "MM_preloadImages('contact1.png','about1.png','producst1.png','index1.png')" >

    < div class = "header" >

    < div class = 'wrapper' >

    < div class = "logo" >

    < img src = "logo.png" width = "438" height = "56" alt = "Embroidery by CJ" / > "

    < / div >

    < div class = "nav" >

    < div class = "link4" >

    < center >

    "< a href ="contact.html"MM_swapImgRestore" onmouseover ="MM_swapImage ('Contact',", 'contact1.png', 1) "> < img src =" contact.png "alt ="Contact"name = 'Contact' width = height"73"="15"border ="0"id ="Contact"/ > < /a >

    < /Center >

    < / div >

    < div class = "link3" >

    < center >

    "< a href ="about.html"MM_swapImgRestore" onmouseover ="MM_swapImage ('About',", 'about1.png', 1) "> < img src =" about.png "alt ="About"name = 'About' width ="56"height ="16"border ="0"id ="About"/ > < /a >

    < /Center >

    < / div >

    < div class = "link2" >

    < center >

    "< a href ="products.html"MM_swapImgRestore" onmouseover ="MM_swapImage ('Products',", 'producst1.png', 1) "> < img src =" products.png "alt = 'Products' name = 'Products' width ="83"height ="20"border ="0"id ="Products"/ > < /a >

    < /Center >

    < / div >

    < div class = "link1" >

    < center >

    "< a href ="index.html"MM_swapImgRestore" onmouseover ="MM_swapImage ('Home'", 'index1.png', 1) "> < img src =" index.png ' alt = 'Home' name = 'Home' width = "54" height = "16" border = "0" id = "Home" / > < /a >

    < /Center >

    < / div >

    < / div >

    < / div >

    < / div >

    < div class = "container" >

    < div class = "sidebar" >

    < / div >

    < / div >

    < / body >

    < / html >

    And style.css:

    @charset "utf-8";

    / * CSS document * /.

    HTML, body {}

    margin: 0;

    padding: 0;

    background-image: url (bg1.png);

    background-repeat: no-repeat;

    background-color: #F0F0E3;

    }

    / * Header * /.

    . Header {}

    position: relative;

    height: 110px;

    background-image: url (bg.png);

    background-repeat: repeat-x;

    -webkit-box-shadow: 0px 10px 1px #1E1E1E;

    -moz-box-shadow: 0px 10px 1px #1E1E1E;

    -ms-box-shadow: 0px 10px 1px #1E1E1E;

    -o-box-shadow: 0px 10px 1px #1E1E1E;

    box-shadow: 0px 10px 1px #1E1E1E;

    }

    . Wrapper {}

    Width: 960px;

    margin: 0 auto;

    }

    .logo {}

    float: left;

    position: absolute;

    bottom: 20px;

    }

    . NAV {}

    float: right;

    }

    {.link1}

    Width: 25%;

    }

    {.link2}

    float: right;

    Width: 25%;

    }

    {.link3}

    float: right;

    Width: 25%;

    }

    {.link4}

    float: right;

    Width: 25%;

    }

    / * Container * /.

    . Container {}

    Width: 960px;

    margin: auto;

    margin-top: 10px;

    }

    / * Buffer * /.

    . Sidebar {}

    Width: 17.5%;

    padding-top: 3%;

    text-align: right;

    background-image: url (transparent1.png);

    }

    Add a line similar to

    . NAV {}

    Width: 800 p;

    float: right;

    background-color: blue;

    margin: 90px 0 0 0;

    }

    Incidentally, it is the shortcut method to apply a margin. Rule's TRorBLe or top, right, bottom and left. Adjust the function values.

    GRAMPS

  • Cannot attack or absolutely position a panel during execution

    As far as I see it, I can't do what I want to do in Flex. Am I wrong?

    I want to place several panels in an Application to create the structure of an XML tree structure read running.

    I need set the position of each new Panel with respect to the previous groups.

    This means that I have to read the position of the panels created previously.

    To do this, I need their ID in order to remedy.

    To do this, I would need to build an ID for each panel when running, but apparently, this can be done in Flex.

    Even though it may be, I see no way to specify the absolute positioning with a call to addChild.

    So, is this not possible in Flex?

    I considered a tree control, but it seems to me that it uses only the icons, not components, such as panels.

    And my tree is more rooted, and I don't see how a tree control can handle this.

    So it seems that I must do all this in graphic mode and have to rewrite all the goodies of Flex from scratch,

    which would vitiate all the benefits of the use of Flex.

    Any suggestions?

    Hello

    You can do what you described.

    The first is of about ID. You can set all properties for execution. For example,.

    var btn:Button = new Button();

    BTN.ID = "myButton1";

    this.addChild (btn);

    This ['myButton1'] .label = "my button"; How to get a control by ID.

    The second is about positioning.

    addChild() function is not all parameters of positioning. It depends on the properties of control that you have added and control that you added.

    Each control has properties: x, y, up, down, left, right. So you can define what you want.

    In some controls, like VBox, HBox, childs place, in a special way. See docs for more details.

    Hope this helpful.

Maybe you are looking for

  • If my iWatch is worn inside my wrist, the heart rate always App will report correctly?

    I do not wear the watch face outside my wrist.  If I carry it inside, the sensors still detect a specific heart rate?

  • Keyboard broken on T410

    I broke 2 keys on my Lenovo T410 recently and I will try to find replacement keys or even a new keyboard to replace the broken one, although I seem to be unable to find a dealer in Switzerland who can provide Lenovo keyboards. Tried to call the Hotli

  • Digital and analog inputs simultaneously - NI USB-6009 and NI USB-6212 - ANSI C

    Hello I'm reading at all times and at the same time analog and digital inputs. Digital and analog samples must be sampled at the same clock and acquisition should be started (triggered?) at the same time (I don't want, after some time, analog recepti

  • Product required for the connection key

    I was playing Fallout for a while now, but have not played then signed in Games for Windows - LIVE. When I try to connect, a window will appear asking me my product registration code. I've used it when you install the game, why he asks me once again

  • Missing programs

    I have microsoft office on my PC but under my login girls she cannot access to Word or Excel and they do not appear on the list of programs? While on my login they are pinned to the start menu and on the list of programs. How can my daughter use them