set a background image for a text box or label?

Hey gang,

I would like to put a background image for a text box or label.

is there a way to do this?

also if I put the bottom level of the container root and do the rest orders slightly transparent (opacity: 0.8 or something), the background appear through?

Thank you

J

for your text box, define backgroundVisible: false & and/or upgrade the opacity to the low enough that you can see through it and place your background image behind the text box. (I belive opacity changes will affect the text as well).

for labels, I used the method of the container as you described.

Tags: BlackBerry Developers

Similar Questions

  • Cascades: How to set the background image for the menu drop down and etc...

    Hello

    Is there an easy way to set the background image for the menu drop down and etc, current support only black as a background?

    Thank you

    Tom.

    Welcome to the forums!

    This is currently not supported unfortunately.

    I encourage you to save a feature for this request:

    https://www.BlackBerry.com/JIRA/secure/dashboard.jspa

    See you soon!

    Martin

  • How do you define the background color for a text box

    In older versions, that I was able to set the background color in a text box, I want to do the same in this newer version and I can not find where I would choose this option

    Hi alanb.

    Please type your text in the text box, now in the right pane of comments you will see your text, right click & Select "Properties".

    In the properties box, select the fill color to fill in the color in the text box.

    I would like to know if it works.

    Kind regards

    Nicos

  • How to set up make-style for the text box in the apex.

    Hi all

    I created a text box in the apex and now I'm changing the font for that text box style and I applied here like this is this correct one or any suggestions on this.
    --
    HTML Form Element Attributes: style="font-family:Arial;font-style:Regular;
    The apparoach is the right one or not.
    {code}
    
    
    Thanks,
    Anoo..                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

    David wrote:

    I created a text box in the apex and now I'm changing the font for that text box style and I applied here like this is this correct one or any suggestions on this.

    --
    HTML Form Element Attributes: style="font-family:Arial;font-style:Regular;{code}
    The apparoach is the right one or not.
    

    N ° attribute is missing a quote from endpoint, and "Regular" is not a valid value for the http://reference.sitepoint.com/css/font-style">make style property.» Valid values are normal | italic | oblique as shown.

    Also, it is recommended to specify a default value of generic downturn at the end of the specifications of font family :
    {code}
    style = "do-family: Arial, Helvetica, without serif;" make-style: normal; »
    {code}
    (There's really no need to ask such questions icies and waste of time to wait for answers: to bookmark a good reference CSS like Sitepoint link above or the http://www.w3.org/TR/CSS21/#minitoc"> W3C CSS specification and refer to them as needed.")

  • How do I set the background image for the menu I have the DSP in Muse

    I design a layout and I want to bring converted of the PS to dream. Anyone know how I can do this.aa.png

    I am trying set high and the low image of the menu in muse.

    I would like to know how I can do better.

    Thank you

    Kristina

    Hi Kristina,

    You can disable the image that you have pasted above and also to create a toggled State for all menu items. In fact, there are 4 States: Normal, rollover, mouse and mouse down, but you will use usually two images because some States share the same image. Next, you need to use the menu widget and provide your cutting of images for all States in this widget. Check this link http://www.adobekb.com/building_your_first_website_pt4.html to this section all about:

    See you soon,.

    Mario

  • Background image for a scene in JavaFX2.0

    Hi all

    I am new to JavaFX2.0 and need to know how to set a background image for a scene.

    Thanks in advance.

    Hello
    Here is an simple example:

    bgTest.CSS

    .root {
        -fx-background-image: url("mybg.jpg");
    }
    

    BackgroundImage.java

    package playground;
    
    import javafx.application.Application;
    import javafx.scene.Scene;
    import javafx.scene.control.Button;
    import javafx.scene.layout.StackPane;
    
    import javafx.stage.Stage;
    
    public class BackgroundImage extends Application {
    
        StackPane root;
        Scene scene;
        Button button;
    
        public static void main(String[] args) {
            launch(BackgroundImage.class, args);
        }
    
        @Override
        public void start(Stage stage) throws Exception {
            stage.setTitle("Custom Background Test");
            button = new Button("test");
    
            root = new StackPane();
            root.getStyleClass().add("root");
            root.getChildren().addAll(button);
    
            scene = new Scene(root, 600, 600);
            scene.getStylesheets().add(BackgroundImage.class.getResource("bgtest.css").toExternalForm());
            stage.setScene(scene);
            stage.centerOnScreen();
            stage.setVisible(true);
        }
    }
    
  • Background image for ApplicationControlBar

    Hello
    Forgive my English and his accent, it's a little urgent.
    I need to set a background image for an applicationContolBar with css and css only (an external style sheet file)
    I tried several ways but no use... is this possible?
    Help, please...

    sharat87

    Well Yes, it may... but in any case, I guess I just find a solution to my problem... I'm posting here in the hope that it could help someone :D
    instead use background-image or backgroundImage properties, use:
    borderSkin: Embed (source = "bg.png");

    Bingo!

  • Set a background image w / Flash

    Hello-

    Is it possible to set up a background image (repeat or not repetitive) that space scenic floats above.

    When I use the file > publishing settings > HTML > publish - it creates the HTML document but any area outside of the scene is colored with the default phase color - can it be implemented in Flash or changed in HTML?

    Here is a section of the HTML document:

    < body bgcolor = "#ff00ff" > <-it's the current color of the stage in Flash
    <! - url is used in the film - >
    <! - text used in the film - >
    <!-saved from url = (0013) subject: internet->
    < script language = "JavaScript" type = "text/javascript" >
    AC_FL_RunContent)
    'codebase', ' http://download.Macromedia.com/pub/Shockwave/cabs/Flash/Swflash.cab#version=10, 0,0,0 ',
    "width", 100% '.
    "height", 100% '.
    'src', 'krae_pink ',.
    'quality', 'high ',.
    "pluginspage", ' http://www.Adobe.com/go/getflashplayer_fr ',
    "align", "middle",
    'play', 'true ',.
    'loop', 'true ',.
    "scale", "noscale"
    'wmode', 'window ',.
    "devicefont", "false."
    'id', 'krae_pink ',.
    'bgcolor', '#ff00ff', <-it's the current color of the stage in Flash
    'name', 'krae_pink ',.
    'menu', 'true ',.
    'allowFullScreen', 'false. '
    "allowScriptAccess", "sameDomain",.
    'film', 'krae_pink ',.
    "salign", "
    ); end AC code
    < /script >

    Thank you-Ben L

    Yes you can, but flash does not add any background image for you. It only generates the HTML file with the script object incorporation. Then, you will need to add the HTML script to add the background. You will also need to set the SWF object as transparent so that it will be "hover" on the HTML file. Do that by setting the property wmode dipping, code that looks like this: http://www.pastie.org/822998. Or set the window Mode HTML publication to "Transparent Windowless" Settings tab.

  • Is it possible to pin a background image for (android) Tablet, that it doesn't matter what I do

    Is it possible to pin a background image for (android) Tablet, that it doesn't matter what I do

    Hello

    I believe you are trying to locate the image in the layout of tablet or phone.

    Due to lack of support on some browsers and Smartphones, pinning is disabled in Muse for Tablet and smartphone layouts.

    You can see this feature in future versions of Adobe Muse.

    You can use the scroll effect to achieve this as a solution.

    Select your items you want "pinned" and open your scrolling check Motion Control Panel the check box for the movement and the value of all the values to zero.

    Here is the screenshot for help.

    Concerning

    Vivek

  • How can I use a JPEG file as a background image for my vi to 8.5

    Im working on a vi that I intend to help as part of an alarm system.  I would use a JPEG file of my house as a background image for the vi, or possibly to just display in a window on the control panel.  I've seen people use their own images before, but never looked at what it was.

    Im trying to use the 'read JPEG' file vi and the flattened pixmap 'draw' vi to achieve this.  The vi works, but nothing shows up on the front panel.  If I try to create a "new image" flag out of the flattened pixmap 'draw' vi, I get a blank white window on the front panel.

    Any advice?

    Thank you

    The image could be there just not to come to the right place in the image control. What is the control relative to the image? Must be a JPEG file or can you just copy as a bitmap to the Clipboard and paste it on the front panel? Can you put a photo and the unworking VI?

  • How to set a background image

    HY guys, I'm trying to set a background image on a Blackberry screen. I used this code, but the image dousen can't cover the full screen. Can someone me say what the problem is, or give me an example of how's done it? package mypackage;

    SerializableAttribute public class BackgroundImage extends UiApplication
    {
    Imagearriereplan private bitmap;
    fieldBitmap private bitmap;
        
    Public Shared Sub main (String [] args)
    {
    BackgroundImage PAP = new BackgroundImage();
    theApp.enterEventDispatcher ();
    }
        
    public BackgroundImage()
    {
    The background image.
    Imagearriereplan = Bitmap.getBitmapResource ("loginBackground.png");
            
    Display display = new MainScreen();
            
    HorizontalFieldManager horizontalFieldManager = HorizontalFieldManager(HorizontalFieldManager.USE_ALL_WIDTH | nouveau HorizontalFieldManager.USE_ALL_HEIGHT) {}
                
    Override the paint method to draw the background image.
    public void paint (Graphics graphics)
    {
    Draw the background image, then paint.
    graphics.drawBitmap (0, 0, 240, 240, Imagearriereplan, 0, 0);
    Super.Paint (Graphics);
    }
                
    };
            
    The LabelField will be visible through the transparent image.
    LabelField labelField is new LabelField ("is a label");.
            
    A bitmap with a transparent image field.
    The background image will be visible through the transparent BitMapField image.
    BitmapField bitmapField = new BitmapField (Bitmap.getBitmapResource ("field.png"));

    Add the handler to the screen.
    mainScreen.add (horizontalFieldManager);
            
    Add the fields to the Manager.
    horizontalFieldManager.add (labelField);
    horizontalFieldManager.add (bitmapField);
            
    Tap on the screen.
    pushScreen (mainScreen);
    }
    }

    Thanks in advance

    You can scale the image with EncodedImage, but it is usually best to use an image with a sufficient size

  • Background images for differnet resolutions

    Hello

    Is there a way to define a single resource (background image) via styles or any other approach that will have definition for all taken screen resolutions supported (BB10 has 3 resolutions defined with portrait/landscape modes = 5 bitmaps)?

    So, I can use this asset without success all the stuff in a code trying to find what the resolution is now and where - and then only - get a correct picture of the assets.

    There are a lot of messages in this forum, but none seems to describe exactly the same problem.

    Thank you

    If you talk to a background image for the application, you have to manage yourself. If you are talking about the splash screen, then you would list each boot image in the XML file.

    You can resize the image to fit the scene, then you might have a rectangular and square and then resized image depending on the scene according to the needs. If you don't want to resize, then you need an image for each resolution device and a naming convention, you could load dynamically depending on the size of the stage (bg_720_720.jpg, etc.).

    CSS may be able to help, since you can load different CSS at startup, but this would require still allows you to define a CSS for each change that you want to support. CSS will be more important when BB10 is available on the PlayBook, since the density of the screen is very different.

    Does that help?

  • How can I change the background image for the lock screen?

    Hi, I just bought a new laptop and I got Windows 7 installed in the store, and I would like to change the background image for the lock screen.  When I went to activate my account, I found out that it has already been activated, but I can't find the settings-> settings more PC in the lower corner on the right.  Thank you!

    Lock screen?

    Are you referring to the login screen?

    Or wallpaper?

    Right-click on your desktop and select Personalize.

    Office link is at the bottom left and use a win-7 theme.

  • Background image for Aftable

    Hi all

    I use JDeveloper 11.1.1.7.

    My scenario is need to show a < af:table > with the background image. I tried this in CSS,

    AF | table. MyTable
    {
    background-image: url("..) ("/ img/sampleImage.png");

    }

    It works fine without the data from the table. But after reading the lines the background image is hidden.

    How to set the background image with lines in the table?...

    Thank you
    Arun D.

    Edited by: T.. June 1, 2013 17:46

    I guess you have to make the background of transparent cells.

    Timo

  • need to do a second 20 HD clip with a moving background image and the text it is flies in...

    Hi all the effects quite new based on im and the need to make a second 20 HD clip with a moving background image and the text it is flies in. I also need to create a cross-image basis. If someone could suggest the best way to do this it would be greatly appreciated. Thanks in advance

    Your question is not really explain much of what you need to achieve.  I don't know what a "cross image database", sorry.

    After Effects is a fairly complex application, and you will get much more satisfaction if you start at the beginning and learn the basics before jumping in too deeply.

Maybe you are looking for

  • Import Crash OS Sierra

    MacOS Sierra update went well but now opening V3.6 always crashes with an internal error whenever I try to use the import feature. Report sent to Apple, but I suspect that nothing will be done. Maybe it's time to move on to the Photos after all... iM

  • HDR - AZ1 as wabcam for Skype

    Hello. The az1 usable for Skype with cable or wifi? I read that he can live streams Thank you

  • Get "error 0 x 80070057: the parameter is Incorrect" when you try to edit the photo details

    I'm changing the date of the photo, and I get this error code, please help me as soon as possible.

  • Two factor authentication to cisco anyconnect using certificates

    I plan to factor authentication two configuration, and intend to buy thawte Certificate, but need help to choose which certificate do I need to buy. Can I purchase a code signing ssl certificate and use it to two-factor authentication? If this is not

  • DNSException: DNS error

    So I have this run of the mill connection code: httpConn = (HttpConnection) Connector.open(_url + ";deviceside=true"); and I connect to a site like: https://mysite.joe.dcn/blah.fwx?parameter1=10&parameter2=20 On the Simulator, it's all good and well,