Adjustment of position of a field

Hello

I play the video in media Player and I would like it to appear in a specific position. The following code updates the video is the top left corner:

VideoControl videoControl (alarm) = player_.getControl ("javax.microedition.media.control.VideoControl");
A field (Field) = videoControl.initDisplayMode (VideoControl.USE_GUI_PRIMITIVE, "net.rim.device.api.ui.Field")
videoControl.setDisplaySize (160, 120);

videoControl.setVisible (true);

How can I change the position of the field?

Thank you.

Since you have no control over the field you want to position (you find the field of video player control), you need to add this to your own Manager field, then by using the configuration manager.  I suspect that this will help you:

-How to create a custom handler for a screen presentation
Article number: DB-00117
http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800505/800508/...

Tags: BlackBerry Developers

Similar Questions

  • How can I get the position of a field in a Manager?

    Hi all

    I just want to know that how I can the position of a field in a Manager (Vertical or flow)?

    If I get the x, position y, I can do a pop-up screen depends on this position...

    Can someone help me solve this problem?

    Thank you very much.

    Welcome to the forums.

    I use getFocusRect to fetch the XYRect of the target field. You can get the details from there.

  • How to adjust the display width of fields?

    work in jdev 11.1.2.3.
    the form looks like DESIGNER Visual, all fields of the same length, and there is no width attribute to adjust. When run, some too long display fields.
    How to adjust the display width of fields in the design?
    Thank you.

    Hello

    You don't need to repeat once again, unless you have changed the properties after initial drag and drop.

    If you have changed, use the value #{bindings.yourAttribute.hints.displayWidth} to the columns property.


    label = "#{Bindings.Name.hints.label} '"
    required = "#{Bindings.Name.hints.Mandatory} '"
    * Columns = "#{Bindings.Name.hints.DisplayWidth}" *.
    maximumLength = "#{bindings.name.hints.precision} '"
    shortDesc = "#{bindings.name.hints.tooltip}" id = "it38" > "

    Thank you
    NGO

  • A password is adjustable to apply after a field on the PDF form entry?

    A password is adjustable to apply after a field on the PDF form entry?  So requiring a password after the PDF is closed with a field entry and asking the password after the reopening of the PDF document

    If you ask a password to open document for standard password security, the answer is no.

  • My home page is Google, but the club logo and the research seems higher on the page than normal... can I adjust the position?

    I had to set the parameters on Google to not use Google Instant in their search parameters as no cursor showing on the google search field. After the change, it seems that the logo and Google search box seems higher on the page of Firefox. I would like to be able to adjust the height of the logo/Google search box. Please tell me if I can make that adjustment.

    Reset the page zoom on pages that cause problems: view > Zoom > reset (Ctrl + 0 (zero); Cmd + 0 on Mac)

  • Question on how to set the position of the field.

    Is there anyway to set the field position TOP of the screen as Screen.setTitle (Field)?

    My problem is when I add my Manager (who has a backgrond color) for the title. I see a gray line between the title and the body region (the body has a background color even my manager), so I did ' t like it.

    Reason I want to 'FIX' my manager at the top of the screen position is I want to see my manager every time I scroll the screen each time as setTitle().

    THX in advance

    -Maz-

    Try using setBanner() instead of setTitle(). I think that the banner does not normally include a field separator (which is what this line gray).

  • Adjust the input box text field on the form with Dreamweaver Bootstrap CC

    I'm building my first form contact us in Dreamweaver CC using bootstrap.

    I generated the form using the Insert > function form.

    However, I am not able to adjust the height of the text fields. Some need to lodge a comment like than others.

    I tried adding a CLASS, but have not hit on the answer...

    ANYONE?

    Also, how do you code the button send to an email address.

    Thanks in advance,

    MaryAnn

    Instead of using...

    Insert > form > text

    use...

    Insert > form > text box (to halfway through the Insert menu)

    To get the form to work, ask your host if they have a form to email script, you can use it on their server. Most is. If they aren't, search "form - language supported - email script" in Google. Make sure that the language on the server side you choose is supported on your server.

  • How to adjust the position of the legend in the base widget

    Hello Eric,

    First of all thanks a lot for the help so far.

    However, the solution to my problem before placing the legend continues to elude me and I would be grateful for any help.

    My pictures are all set to a common width 500 px and I have tried adjust the layout of each page individually in order to show its high legend to the left of the image.

    I published the site as bilyz.businesscatalyst.com to illustrate, but I do not understand the activity of editing facilities allowance...

    Problem 2 affects the positioning of navigation on the following pages of the 'about', 'services', 'contact', I created a third master for these pages but seem unable to change the position of the menu.

    I hope you can help

    Kind regards

    Bill

    Hi Bill

    I am little confused with this line "what should I do to give access in Design view?", as if you want to give access to the change in design mode or if you want to change the captions in design mode.

    Speaking of the last, you can modify labels in Design view by clicking each slide show.

    The position of the legend should be positioned in the same place for all default slides, we cannot change it differently for separate slides. Looking at your design, I suggest you to use any composition of y to achieve.

    Insert image text frame in the area of containers and tiles can carry small images, configure autoplay and it would be the same effect as the cursor.

    Thank you

    Sanjit

  • Offset from cursor position to the fields (in an iFrame) only on the Apple iPad

    Hello, I made an animation that once completed, it displays an iFrame that has a few fields.  The entry fields have very well on a laptop pc or mac computer, but when I use an Apple iPad, the positions of the cursor are far outside the fields as I type.

    Here is the Web site page: http://pbpromos.com/ipad-input-fields-error/

    Here I have the same iframe, one inside the border and the other outside edge.  Both work fine on a pc or a mac, but if you try to use an Ipad, you'll see that edge, we show the cursor in the input field down and outside the box.

    You can see for yourself, I put it to you to test and see this error.

    The animate oam file is: https://www.dropbox.com/s/hvydp2x61f6aq13/test-ipad-input-fields.oam

    Here is a link to the files of edge, the .a and java files:

    https://www.dropbox.com/sh/5ljxhc81gu97bcn/zphJ6pMc2J

    Very much appreciate everything you can do on this!

    Appreciate greatly all what you can do for me, because I'm pretty desperate for a solution or a workaround.

    Gotcha - have - try you with sensitive scaling disabled? After looking at this seems to be the culprit. Worth a try to isolate the problem.

    Sarah

  • How to position a dynamicaly field

    I want to change contact information for a text field in javascript. How can I do?

    An example of what I'm trying to achieve:

    If (this.getField ("text1") == 'something') {}

    move the field

    }

    If (this.getField("text1").value == 'something') {}

    this.getField("text1").rect = [0, 0, 100, 100];

    }

  • I would like to know if it is possible to automatically adjust the length of a field in a form, ACROBAT PRO. which means that if I type a long word in this area 1, the 2nd field would not until now.

    2016-06-01 10-04-11.png

    No, it's not really possible. You can try to move the 2nd field based on the length of the field by using a script, but there will be speculation, at best.

  • Variable width tool not work - cannot adjust the position of the points of width - Illustrator CS6

    Hello

    I'm having a Mare with variable width tool in Illustrator CS6...

    When I add points of variable width for a stroke I can't move the position of the decimal point of width. I watched several videos showing the width point slide seamlessly along the racing line - but I am unable to do this in my session of Illustrator!

    However, if I move the cursor width-tool on the end of the race only point, a (~) symbol will appear and I am able to slide that point only along the race. But this isn't a suitable way for me to realize the effects I'm trying since.

    I would be very grateful of any advice or experience with this issue.

    Thank you very much!

    When you create a new point width, you can move it in the direction of width but does not change its position. Howeven after the point is created, you can move your cursor near the point which is along the central axis of the race, to move along the racing line.

    You can also watch http://tv.adobe.com/watch/csinsider-design/illustrator-a-closer-look-at-the-variable-width - tool-for-illustration /

    Let me know this was useful.

  • Adjust the position of the child node in a StackPane

    Hello

    I have a question on the setting the positions of child nodes in a StackPane.
    I added 2 child nodes to a StackPane.
    For the 1st child node, I need to be always as big as the parent StackPane.
    For the 2nd child node, it should be as large as necessary to place a few small pictures and it must always be "anchored" to the upper right of the parent StackPane.
    2 childs nodes will be overlapping always.
    Is this doable with a StackPane or would it be better to use another class of component?

    Thank you.

    Yes, you can do it in a StackPane.
    The first node of a subclass of component and ensure that it has an unlimited width and max height and it will completely fill the available surface of the StackPane.
    Use the static StackPane.setAlignment (node, Pos) method to position the knot 2.

    import javafx.application.Application;
    import javafx.geometry.Pos;
    import javafx.scene.Scene;
    import javafx.scene.layout.*;
    import javafx.scene.paint.Color;
    import javafx.scene.shape.Rectangle;
    import javafx.stage.Stage;
    
    public class StackPanePositioning extends Application {
      public static void main(String[] args) throws Exception { launch(args); }
      @Override public void start(final Stage stage) throws Exception {
        Pane n1 = new Pane();
        n1.setPrefSize(200, 120);
        n1.setStyle("-fx-background-color: green;");
        Rectangle n2 = new Rectangle(50, 50,   Color.RED);
        StackPane.setAlignment(n2, Pos.TOP_RIGHT);
    
        StackPane stack = new StackPane();
        stack.getChildren().addAll(n1, n2);
        stage.setScene(new Scene(stack));
        stage.show();
      }
    }
    
  • What is an effective way to adjust the position of all the clips on the timeline

    In one of my projects, I leave cuts on a timeline. And it seems that the position of a few clips has been accidentally changes. I need to have the same position for all the clips. Is there a way to define the position of all the clips in the world - what is the best way to tacke this? Thanks in advance. -renized

    Press A key for the track Selection tool.  Click the first clip that you want to settle and every item after that will be also selected.  You can move them as a group.

    If you need clips on more than a selected track, hold CTRL when you click.

  • Adjust the position of the tab bar

    I got my tab bar just above the page before I updated and now does not know how to put them there once again.

    My bookmarks bar has moved to the top of the browser - where I had (or want to) is not no more!

    I have a LARGE space (on the edge of the browser) between the top of the current page and the URL

    In short, it's a mess - why could she not keep my settings as they where, in the previous version?

    I've already lost over an hour trying to settle this - an hour I could have made more productive things - so yes thanks for stealing my time as well!

    As you may have guessed, I'm a bit annoyed and angry with this.

    If something is not broken don't then fix - it's an old adage, but it's true!

    Sorry for the headache. Looks like you want to put legs on bottom and much more. The best way to do this is to use the add-on classic theme restaurateur.

    This article has instructions for download and put the tabs on the bottom - How to make the new look of Firefox as the old Firefox. With this add-on, you should be able to almost any change at your leisure.

    Let me know how it goes.

    -Michael

Maybe you are looking for