How to position a foreignwindowcontrol

Hi all

How to position a foreignwindowcontrol.

Here is my code. I thought pivotx and pivoty would work, but after the addition of these two properties, I found the image is cut off at the bottom, but it is positioned correctly.

Page {
    Container {
        ForeignWindowControl {
            id: foreignwindow
            objectName: "foreignwindow"
            visible: true
            preferredWidth: 720
            preferredHeight: 520
        }
    }
}

You would like to move from the position and dimensions to the container above and use a LayoutUpdateHandler to size the control ForeignWindow correctly. This document gives a detailed explanation on how to manage the changes in the layout with ForeignWindows...

http://developer.BlackBerry.com/native/documentation/Cascades/graphics_multimedia/opengl_es/tutorial...

Tags: BlackBerry Developers

Similar Questions

  • How can position the keyboard to the bottom of the screen?

    How can position the keyboard to the bottom of the screen? Please see screenshot below, the keyboard is not at the bottom of the screen.

    Press and hold the keyboard at the bottom right of the keyboard icon. A window pop up that will have two options - Split and the Dock. Click on the option to dock alongside re your keyboard at the bottom of the screen.

    See you soon,.

    GB

  • Satellite L655-11Z (PSK1JE) - how to position the external fan coolers?

    Hello

    I buy laptop cooler and I would like to know how to position the fan for best results rigorous. I read manual from top to down, but only the bottom showing pic of this laptop is only for "this is batery. I would like to know, where (from the bottom) is the position of the disc HARD, GPU and CPU and if the coolers are sucking air in or blow air.

    Pictures would be appreciated.

    This is the photo I found in the Manual:

    Click on: [http://img543.imageshack.us/img543/5746/zadnistrana.jpg]
    (you can download and locate the position if you like, this will help a lot)

    Thanks for the tips!

    Hi zblebt,

    Of course, there s no problem using these external laptop coolers but I don t understand why.

    You have an internal fan problem or why you think external cooler?

  • How to position hbox

    Friends,

    My requirement is that, inside a loop, I try to create hbox and wants all hboxes must be aligned from left to right on the Panel that is to say I want to set the hbox according to my wish. At present, all hboxes are created one under the other, and I don't know how to control their positioning on the Panel. Please suggest how to position hboxes on board somehow.

    Also note that I have created these hboxes with a script.

    The component of the Panel has a layout property that defines how his children will be positioned. The default value of this property is "vertical". If you change "Absolute", you can put your VBoxes wherever you want in the control panel.

    private function addBoxesToPanel (): void

    {

    var myBox:VBox = new VBox();

    myBox.x = 245;

    myBox.y = 87;

    myPanel.addChild (myBox);

    }

    ...

    Does that help?

    Dany

  • [JS] CS4 how to position a graphic within a span of

    I have a JS script that I'm conversion CS3 CS4 and I find that the positioning of a chart in a framework behavior has changed.  I have the code that defines the geometric limits from a graph to a negitave value in the setting, in CS3, it works very well.  However using the same code on CS4 to define the geometric limits does not produce the same result.  Graphic design is always placed at 0,0 and it ignores the negitive top and left values provided.

    Does anyone know what has changed with the geometric boundaries of a graphic within a span of recrangle?  How the position of the image in the frame would fix that affecting the geometrical boundaries does not seem to work any longer.

    Thank you

    Sheldon

    Your problem is because of the style of the object you are applying. The

    settings for editing in the style of the object Resize graph when you

    apply the style. Move the geometric limit after setting the

    style application and it will work as expected.

    Substances

    http://www.in-tools.com

    Innovations in automation

  • How to position a navigation bar?

    I have a picture on the side of my website I'm building. I want to place on top of this image (navigation bar) navigation buttons, but I can't understand how to position the buttons correctly. I can't get the bar to float to the right side. How better to position the navigation bar? Can anyone give me a tip? I'm using CS3 on Mac.
    Thank you
    Lou

    1] use layers of the AP. Paste the image into a layer. Paste the navigation bar in a
    layer. The layer. Not recommended as AP layers will probably
    cause you headaches.

    2 If your navigation bar buttons are images and no text, recreate the buttons
    in Photoshop/Fireworks blend into the background, slice it, and
    Put the pieces back into a table. Kind of recommended, but
    not the best solution.

    [3] use as defined in the CSS background image. The navigation bar will sit on
    back on top of the background. Best solution, but requires some comfort
    with CSS.

    --
    Alec
    Adobe Community Expert

  • How to position a window dynamically?

    I want my vi "get serial number" custom to be in one of two positions on the screen.  How can I get the screen of system settings in order to determine the coordinates (left, top) of the vi window and set the position of the window in the vi?

    Thank you

    Mike

    For those of you that are not attached to the PC, a more independent method of the platform for the size of the screen would be the display property WkSpace, just pass a reference of application to the property node, select Properties DisplayWkSpace.

    -Darin

  • How to position an element programmatically in a cluster

    Hello, I was wondering how can I programmatically position an element (for example, the numerical control), which is part of a cluster. My goal is to position the control at: case 1: down at the center of the cluster 2: thanks to the lower left part of the cluster. v k

    Hi v - k

    You can do this by using the nodes property of the control.

  • How to position the taskbar at the bottom of the screen

    original title: task bar/bar

    My tool bar/task bar which must be at the bottom of the screen somehow got switched to the top of the screen.  How can I get that back down?

    Right-click on the taskbar and unlock it. Take an empty place and slide it downwards. Lock the taskbar.
     
    See also: how to move the taskbar from its default position Windows or put it back to its default position
    http://support.Microsoft.com/kb/253679  
  • How to position ListField or ObjectListField

    Nobody knows how to set the x, position y ListField or ObjectListField?

    I test on the Simulator Blackberry 9700 ATT, running OS 5.0.

    I am using an ObjectListField to create submenu in OS 5.0 and I put the width using getPreferredWidth(), so that it does not occupy the entire screen. So it's starting to look like a menu system, but it is default x, position is 0.0 and I need to change that.

    Thank you

    Steve

    setMargin works very well for this.

    You can use it like this

    myfield.setMargin (y, 0, 0, x); up, right, down, left

  • How to position a button in a HorizontalFieldManager

    I want to put buttons in my position required that is added to the horizontal field Manager, how do

    I want to change the position of the buttom, how?

    and I want to put the buttons in the center of the horizontal domain manager

    These links will be useful for you to create custom Manager

    http://www.BlackBerry.com/developers/javaknowledge/userInterface/kpa0203190635.shtml

    http://supportforums.BlackBerry.com/T5/Java-development/implement-own-custom-manager/m-p/236133;jses...

  • How to position the page element?

    Hello

    I created a report in the same region, has also created a page element in the same region. The page element is now on the top of the report, but I need to show in the report. How can I achieve that?

    Thank you

    Victor

    Depends on your version of the apex. 4.1/4.2ish there is an attribute on the region of the "Position of the display element.

    Enter this below content.

  • How to position the two regions-By-Side

    Hello.

    I use Apex 4.2.1 with mod_plsql and Oracle 11R3. Apex app that I created using the theme 21.

    I've created a classic report of which fields is a HTML link.  When you click this link, a box of HTML appears (it appears only when the link is clicked).  This HTML area contains form multiple users of the fields will be filled.

    I'm trying to get the area of HTML form to appear to the right of the region of report (with, say, an inch of space between the two regions) but I'm not not a success.  Instead, the HTML form area appears immediately under the report.

    I searched this Forum of ideas and saw recommendations on the creation of a 'container' type HTML region that serves as a 'parent' for my report and areas of HTML form.  And so, I did this.  My region to report has the sequence 10, while my form HTML region has 20 sequence.

    I tried to play with the options in the 'Presentation of the grid' section of the page:

    Start the new grid = 'Yes '.

    Start the new row = 'No '.

    New column = 'Yes '.

    I configured the report to the "model No." and did the same for my region of HTML form.  Still no help.

    The Point of the screen for all my regions (the region HTML container, the report and the form HTML region) is the position of '01 '.

    All unavailable.  The form HTML box stubbornly under the regional report.

    At this point, I want you to know that, even if I build applications web/database using Apex (indeed, I used more than eight years now), some days (like today) when I wish Apex would act more like FrontPage or DreamWeaver.  I would use my mouse to drag a box to a point on the page and have the Apex automagically to write the CSS for proper positioning.  Sigh!

    Anyway, anyone know how to get my form HTML box to appear on the right side of my region to report (with an inch or two of space in between)?

    Any help/advice would be appreciated.

    Thank you.

    Elijah

    You should not need the region parent if you have only two areas on your page.  What page model that you use? The default value?

    For your form HTML box:

    Checkerboard

    Start the new grid: No.

    Start the new row: No.

    Column: automatic new column: Yes

    Scope of column: Automatic

    Column attributes: valign = "top" style = "" padding-left: 30px; ""

  • How to position the two buttons at the top of the div inside a container div element?

    Hello!

    Good news...

    I created my very first thumbnail slider for my site that actually works!

    Bad news...

    The buttons that allow to scroll the div element, which is encapsulated in a container of Center, are are more placed on top of the div.

    Here's the html code:

    < div id = "centerContainer" >

    < div id = "aemcSlider" >

    < ul >

    < li >

    "< a class ="aemcPkgBut"href =" "target =" "alt ="AEMC Packaging"title ="AEMC Packaging"> < / has >

    < /li >

    < li >

    "< a class ="aemcGroundFlexBut"href =" "target =" "alt ="GroundFlexAd"title ="GroundFlex Ad"> < / a >

    < /li >

    < li >

    "< a class ="aemcClampBut"href =" "target =" "alt ="Clamp-On Announces"title ="Clamp-On Announces"> < / has >

    < /li >

    < li >

    "< a class ="aemcMetrixBut"href =" "target =" "alt ="Metrix Announces"title ="Metrix Announces"> < / has >

    < /li >

    < /ul >

    < / div >

    < div id = "leftBut" >

    "< a class ="arrowLeft"href =" "target =" "alt ="Left"title ="Left"> < /a >

    < / div >

    < div id = "rightBut" >

    "< a class ="arrowRight"href =" "target =" "alt ="Right"title ="Right"> < /a >

    < / div >

    < / div >

    Here's the CSS:

    Key container:

    #centerContainer

    {width: 800px; margin: 0 auto; background-color: #0e210e; position: relative}

    Div element:

    #aemcSlider

    {

    text-align: center;

    list-style: none;

    Width: 450px;

    height: 114px;

    margin: 0 auto;

    padding-top: 0px;

    padding-right: 0px;

    padding-bottom: 0px;

    padding-left: 0px;

    top: 67px;

    position: relative;

    overflow: hidden;

    }

    #aemcSlider a {margin right:-12px ;}}

    Left and right buttons:

    a.arrowLeft

    {

    Width: 29px;

    height: 96px;

    float: left;

    position: absolute;

    margin: 0 auto;

    display: block;

    background-image: url (.. / Images/arrowLeft.png);

    background-repeat: no-repeat;

    left: 311px;

    top: 91px;

    opacity: 0;

    }

    a.arrowLeft:hover

    {

    background-image: url (.. / Images/arrowLeft.png);

    opacity: 0.5;

    }

    a.arrowRight

    {

    Width: 29px;

    height: 96px;

    position: absolute;

    float: right;

    margin: 0 auto;

    display: block;

    background-image: url (.. / Images/arrowRight.png);

    background-repeat: no-repeat;

    opacity: 0;

    left: 720px;

    top: 92px;

    }

    a.arrowRight:hover

    {

    background-image: url (.. / Images/arrowRight.png);

    opacity: 0.5;

    }

    Here are the things I did to solve problems:

    If I set the div as a container for absolute, the left button disappears.

    I get the same effect when I change the relative position.

    I tried to change the position of relative to the two buttons.

    I also tried to position the buttons outside the div hand and no go.

    How can I position the relative div under these controller button?

    Any help would be appreciated muchly.

    ~ THE

    I don't see a slider.  The code of your slide seems to have a style inline with the width: 0px which is not normal.    Width should be about 400 px.

    I suspect that your arrows need a much z-index superior to appear on the top layers of cursor.  But that's just a guess because I don't see a slider.

    Nancy O.

  • How to position your script menu item

    Hello

    How position you your menu item to the right place.

    I want to create a new document type.

    How can I get my menu under the new submenu item.

    Thank you.

    P.

    The MenuItem add function shows you how:

    Add MenuItem (associatedMenuAction: MenuAction[, to: LocationOptions = LocationOptions.AT_END][, reference: MenuElement] [, withProperties: Object])

    so all it takes is telling your LocationOptions.AFTER add the new menu item.

Maybe you are looking for

  • Bluetooth is not ready

    Hello I've always used internal bluetooth on my Satellite 5100 201 without any problem (Windows XP SP2). But today I installed the new version of the bluetooth 3.20 stack (previous uninstall) and now the bluetooth device is not recognized. I see it i

  • Need a replacement for my A40 Pro Sat HD

    Hello My hard drive is quickly giving up the ghost, and I need to buy a replacement for it. I backed up all my vital info and my cd XP Pro ready to install the new drive. However, I'm not sure which car to buy for reploace the one I have. Is there a

  • Cannot use median filter inside the While loop

    Hello I try to use the filter median insade loop some time. This seems to be a problem. I have attached the VI. Help, please. This entry is a number of sample as 1,1.1,1.05. This output is zero. Thank you Vincent

  • NAT, stop communication OSX VPN configuration problem.

    Hello It is my first time posting in this forum. I have trouble getting Mac computers (my test is OSX 10.8.2) to correctly connect the VPN to the company. We have a Cisco ASA5510, who manages the VPN applications.  Here are some details: -Windows com

  • Toolbar buttons disappear

    I downloaded 4.1.1.888 for 64-bit Windows with JDK included. When I start it up, I see a splash screen, then the main window appears. Just a moment, I can see the icons of toolbar buttons, then they disappear. I tried 4.1.0.881 and see the same probl