How to add background images to the grid area manager

Hi all,

Hope everything goes well. I read the book beginning berries black development. In this book, the author has shown that how you create grid area manager. I used the code and created GRDI Manager of fields with 2 columns and added 8 images buutom with labels. every thing works fine until now.

But the background is white. Now, I want to add a background image on my gield grid Manager. How can I do it. Please tell me. Thank you

Hi thanks,

Fixed my problem in this line. I used this line in my BGVerticalFieldManager

 //Constructor
    public BGVerticalFieldManager(Bitmap background) { 

        //super(USE_ALL_WIDTH | USE_ALL_HEIGHT );
        super(USE_ALL_WIDTH);
        ....
    } //end of constructor

now my screen scrolling works very well just like I expected

Tags: BlackBerry Developers

Similar Questions

  • How to add background images to the stage?

    I use the last version (2014.1.1)

    I want to add a photo to be a background image in the stadium.

    So I do:

    1. Add 'compositionReady' to the stage

    (2 key - in: sym.$("Stage").css("background-image","url(images/bg.png)"); "

    but I can't see the picture and to develop tools, the tag had background-image.

    How to solve the problem?

    You are missing quotes in your code.

    SYM.$("stage"). CSS({"background-image":"URL('images/BG.png')"});)

    or

    SYM.$("stage"). CSS ("background-image", "URL('images/BG.png')");

  • How to add an image of the poster/splash for Captivate 6

    Hello

    I would like to add a poster/splash picture to my captivate movie.

    My output is HTML 5. I would like to connect the video in Robohelp and video open in a web browser.

    Before the movie starts the video image is white with a "play" button. Can I add an image?

    Thanks in advance for your help.

    Hi mvk66,

    Thanks for the post.

    Captivate 6, have an option to add an image at the beginning of the film.

    Please follow the steps below:

    1 Goto the Edit--> preferences.

    2. Select the project category--> start and end

    3 uncheck AutoPlay (if enabled)

    4 search for the image.

    5. After you have successfully added to the image, close the Preferences dialog box and publish them on HTML5.

    Hope it helps.

    Thank you

    Mini,

  • How to add png images in the document?

    Hi, I need to add images in the document. Currently I am placing them with the PlaceFileInFrame function. But this function creates links to the images. I could integrate this links later, but I would like to know how to add images (png, bmp,...) in order to document without making links. Also, I would like to know if it is possible to create links to images stored in the web (http, https)? Looks like the answer is 'no', but maybe I'm missing something. Thanks in advance!

    I guess that you are above InDesign CS4.

    After you have placed the image, you should incorporate it.

    You should do: ILinkResource::Embed

    Check ILinkResource::CanEmbed before you embed it.

    There are several ways to find the ILinkResource of pageItem UIDRef.

    Consider the following:

    Get the ILink for your UIDRef page element, and then find ILinkResource of ILink.

    Look at the ILinkManager, ILinkUtils.

    InDesign does not support file-based links. In other words, it doesn't support file:// model.

    However, InDesign offers extensibility to create an image of a document for the web link.

    To do this, you should have your custom link put in work.

    You can see CustomDataLink SDK samples to understand how to do this.

  • How to add an image to the alpha channels

    I want to add an image in black and white in this layer alpha https://gyazo.com/f3507eaa453f720bf7257ed9f7725404

    But I can't get a picture on it. Any help appreciated.

    1) press A ctrl or cmd - A on a Mac to select the content of your layer or simply select all from the menu bar.

    2 in your layers panel, select your alpha channel and then issue - special paste - paste in Place

    The contents of the layer doesn't have to be black and white as it will be converted to grayscale, but depends on the type of mask you're trying to do.

    Hope that helps

    Terri

  • How to add an image in the header

    Hello friends,
    I need to add the image to the rtf template. I downloaded the template in the editor of BI... But it does not show the picture... pls tell me what could be the reason...
    its very urgent
    Thanks and greetings

    You can place it in the help or RTF text too. Where the former (inside the form field) seems better formatting.

  • How to add a link to the html area to launch a dynamic action?

    Hey, guys:

    I need to add a link to a region of html hyper (I wish it could be a button :(), the value of the items in this region is loaded by a process of pl/sql before loading the header. And this link must trigger a dynamic action to update the database. I know how to add a link Super in this region, but how to define this link if I can launch a dynamic action by clicking on this link, could someone give me a hint?

    Thank you very much in advance.

    Sam

    Published by: lxiscas on April 11, 2013 17:04

    When I said updateRec I was just a name. Using the class alias_ncic will produce exactly the same result.
    Learn more about what you're trying to do, I wouldn't do that with DA at all. I would probably do the link send page and launch a process that call your PL/SQL. But if you must do a DA I'll try to explain a technique below.

    When you say

    Then, I pass two values of two hidden variables:

    P216_H_NCIC_APPROVE_TABLE_NAME---> "SOR_ALIAS".
    P216_H_NCIC_APPROVE_KEY_VALUE---> #ALIAS_ID #.

    Your link not pass anything because you never actually call the link, you have a DA of the substitution of the link action.

    So... try something like that. Use it for your link attributes:

    onclick="return false;" class="alias_ncic" title="NCIC Approve" id="#ALIAS_ID#" rel="SOR_ALIAS"
    

    This defines two attributes more to enter the values you need to.

    In yourself DA action on a.alias_ncic add two actions to "set the value.
    1.
    Action: Set
    Set Type: Javascript
    JavaScript expression: this.triggeringElement.getAttribute ("id")
    Assigned items: P216_H_NCIC_APPROVE_KEY_VALUE

    2.
    Action: Set
    Set Type: Javascript
    JavaScript expression: this.triggeringElement.getAttribute ("rel")
    Assigned items: P216_H_NCIC_APPROVE_TABLE_NAME

    Now you have your values defined.
    Make sure that in your PL/SQL Execute Code action you both of these elements in the field "Page to go" so that they values are actually passed.

    That should do it.
    Thank you
    -Jorge

    Published by: jrimblas on April 29, 2013 16:49

  • How to add internet Explorer to the launch area

    I wand to add Internet explorer app running in vmware fusion for Mac launchpad.

    I have chekced "run applications from your mac application window" option in preferences, but I could not see the IE.

    Other applications will appear, however.

    Y at - it someone who can solve this problem?

    I'm sorry for my bad English.

    Take a look at this

  • How to add an image into multiple pages?

    Hello

    First, you should know that before this announcement, I dug into Google but couldn't find a solution.

    How to add an image in the footer of a PDF of size section, for example, 500pages? I won't add one by one in the same page, it is much too long.

    Is it possible to add it in the footer or any other alternative section, while I find myself with the same image in an exact position in all 500 pages?

    Thanks for your response

    Best,

    Eric

    In Acrobat 9, you can select "Document > add watermark ' or ' Document > Add Background" and select a file that has the image. You can adjust the location for your needs. It is available in other versions too, but I don't remember the exact menu items.

  • How to add the background image to the screen

    Hi all

    I want to add the background image to the main screen how can I do it.

    On the main screen, I used

    -a manager of HorizontalFieldManagerField to view the bitmapField (horizontally).

    -a manager of VerticalFieldManagerField to view the bitmapField (vertically).

    already images of display screen (bitmap field) with Horizontal and Vertical Manager, but I also want to display the background image for the screen, how can I reach this help me please.

    Concerning

    Adkins

    Thanks for all the response, I tried and sloved logic here how I did

     VerticalFieldManager mainVerticalManager = new VerticalFieldManager(Manager.NON_FOCUSABLE|Manager.NO_HORIZONTAL_SCROLL|Manager.NO_VERTICAL_SCROLL){
                protected void paintBackground(Graphics graphics)
             {  
    
             }
             protected void sublayout( int maxWidth, int maxHeight )
             {
    
             }
            };
    
    then i added other to manager on to this
    

    My problem is sloved thank you for the reply

  • How to add new images of icons for the different icons

    Hi all

    I want to change some pictures of my desktop icons icon. To do this, I'm right click on the icon on the desktop > properties > change icon. So I want to add some images of icons (which are in fact not available here), then use option eyebrows more..., but when I point the folder where I kept the newly downloaded icons (just the .png images), he did not recognize anything.

    So please tell me how I can add other images to icon? Or any available folder where I can copy/paste the new images?

    Thanks in advance.

    Files of icons ico, png not. You are save in an incorrect format.

    See here... http://FindIcons.com/search/program

    You can save in a variety of formats, but only the format ico will work as an icon

  • How to change the background image of the "submit" button

    Hi all

    I want to change the appearance of a submit button: instead of show a button with text 'Add', I want the button submit to be like an icon 'more'

    I tried to change the background image of the button submit like that, but it doesn't work. What is the ownership change?

          CSSStyle customCss = new CSSStyle();
          customCss.setProperty("background-image", "url('/OA_MEDIA/plus.png')");
          
          OASubmitButtonBean addSubmitButton = (OASubmitButtonBean)webBean.findIndexedChildRecursive("addSubmitButton");     
          addSubmitButton.setInlineStyle(customCss);
    

    Thank you

    Kind regards

    Afaf

    Why not try with just an Image and fireAction on it?

  • How to add an image that fill the browser?

    How to add an image that fills the browser when it is resized? Like this site Freelance Design & photography: cotton - ink.co.uk where the window or the filling of pict cabin browser.

    Thank you

    Hello

    Please, try the following steps.

    1 create a rectangle and make it 100% width by pressing the button width 100%.

    2 give this rectangle at the height of your choice.

    3. fill the image desired in the rectangle using fill option and make 'Center' "scale to fill."

    Please let me know in case you are looking for something else.

    Concerning

    Vivek

  • How can I add new images to the layers panel?

    Hello

    I am brand new with photoshop elements 11.  I'm having a problem understanding how to import new images in the layers panel.  If I type "create a new layer" all that I get is an empty layer.  I want to do is to import an image where I'll cut part of it and layer it on another image.  For example: of lets say I want to put a picture of myself in front of a tree.  I want to take the image myself from a photo and he sleeps on the photo that has the tree on it.  How can I get both of these images in the layers panel even?  I can get the picture of me in the layers panel as layer #1, so I can cut myself out of the picture.  My problem is when I try to import the picture with the tree on this subject, it opens upward in a new tab.  If I try to hit 'create a new layer', only a white layer appears above my first coat.  I tried to drag the new image on the layers panel, but will not join.  All the tutorials I could find and monitor, have already all the images they work with pre-loaded in the layers panel.  I just need to know how to get my pictures in the Panel, so that I can start working with them.

    Thank you in advance for any help you can give.

    Glen

    P.S. I'm working on an iMac 2009

    After selecting, you press Cmd + J and which will put the selection on a new layer.

    Drag your tree to the top of the location of the project in the main image window.

    Organize layers for example you may need to drag the tree stratum under the layer with yourself.

    See my tutorial that uses a background solid colr.

    http://forums.Adobe.com/message/4166187#4166187

  • How to set the background image in the window title?

    Hello

    I am a beginner in flex. I use Flex 4.

    Can someone give me some advice on how to set the background image in the title window?

    Is it possible to do?

    Thank you.

    Hello

    Check the code in the example below


    http://ns.Adobe.com/MXML/2009.
    xmlns:s = "library://ns.adobe.com/flex/spark".
    xmlns:MX = "library://ns.adobe.com/flex/mx" minWidth = "955" = "600" minHeight >
       
           
       

       
    @namespace s "library://ns.adobe.com/flex/spark";
    @namespace mx "library://ns.adobe.com/flex/mx";

    s | {BorderContainer
    background - image: embed(source="image/wheres_the_green_rez.jpg");
    background-image-fill-mode: clip;
    }


       
           
       

    Kind regards

    Anitha

Maybe you are looking for