Add BackGround image to TextField control

Hi,
i'm using spark list that contains a few TextField controls. how can i add a background image to text field?
i've tried adding it with the htmlText property but i can i combine it with the current htmlText that contains the current text represented in the control?

You can add a background image for the whole page, but not for an individual portlet.
Jerry

Similar Messages

  • How to add external images onto a control and still be able to resize

    Hello,
    I'm a LabVIEW newbie.  I'm trying to customize the appearance of my VIs, and one of the things I like to do is to import external image and paste it onto the faceplate of the gauge indicator.  I've followed the instruction in the Labview application note using the control editor and was able to paste the picture into indicator.  But when I use it in the front panel and resize the gauge indicator, the image (added as a decoration) doesn't resize together with the indicator.  My questions are:
    1. How to add external images onto a control/indicator and still be able to resize the image automatically when I resize the control/indicator?
    2. How to "add" a new part to an existing control/indicator?  It looks like I can only customize/modify the existing parts of the control/indicator in the control editor. 
    Any help is appreciated.  Thanks.

    1/ Do not use the image as an added decoration. Instead replace part of the control with the image. Tis is illustrated in the attached vi : the arrow was pasted as a decoration, and also used to replace the slide cursor. Changing the control size do not affect the decoration, but changes the cursor.
    2/ What do you mean by adding new parts to a control. We have just seen that it was possible to modify a control. Now, if you want to include additionnal functionnality, that's another story. You can replace parts of the control, and this can give interesting results.  You can edit a slide control, and replace the numeric indicator by another control, including a numeric indicator, that you can replace with etc...
    But there, it still the same info displayed under different forms. If you want to have several independant functions on the same control, such as a string display and a boolean and a numeric indicator, then that's a job for a cluster...
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    Slide with Arrow.vi ‏13 KB

  • How to add background image in ADF?

    How to add my own image background for body using ADF skin components ?
    please share the link if you have any demo code .

    you can use css to customize skin of af:document. something similar to this
    af|document
      background-image: url("../../img/Bluehills.jpg");
    body {
      background: url("/img/body_bg.gif") repeat-x #E0E0E0;
    }if you are using Jdev release 2 then you can simply do this from Skin editor check this link for more info http://download.oracle.com/docs/cd/E18941_01/tutorials/jdtut_11r2_83/jdtut_11r2_83.html
    Edited by: Zeeshan BaiG on Jul 12, 2011 10:33 AM

  • How to add background image for AdvancedDataGrid in Flash Builder 4

    I want to add a background image for the whole AdvancedDataGrid and
    Application. Can anyone tell me how to do that?
    Thank you.

    you can use css to customize skin of af:document. something similar to this
    af|document
      background-image: url("../../img/Bluehills.jpg");
    body {
      background: url("/img/body_bg.gif") repeat-x #E0E0E0;
    }if you are using Jdev release 2 then you can simply do this from Skin editor check this link for more info http://download.oracle.com/docs/cd/E18941_01/tutorials/jdtut_11r2_83/jdtut_11r2_83.html
    Edited by: Zeeshan BaiG on Jul 12, 2011 10:33 AM

  • Add background image to TopBar

    This topic was brought up at the UI Customization presentation last Wednesday, 7/21, but we ran out of time to discuss...
    I need to add an image to the TopBar, but without a "SetBGImage" type of method, I'm a bit stuck. Can anyone help?

    I've got it! All you have to do is set the table style to the background image. I did something like this:
    String strImageURL = ImgSvrURLHelper.GetInstance().GetCustomURL(m_asOwner.GetIsSecuredSpace(), "portal");
    strImageURL = XPStringUtility.ForceEndsWith(strImageURL, "/") + ImgSvrURLHelper.STR_L4_FILE_TYPE_IMG + "/";
    strImageURL = strImageURL + "green_bg.gif";
    table.SetStyle("background-image:url('"+ strImageURL + "')");

  • Add background image to widget-heading

    How do I add a back ground image to <div class="widget widget-heading-simple widget-body-gray">? When I add it it seems to only show up in Dreamweaver but when I preview it in my browser it wont show.

    Right now it is being defined in your css file called...
    style-default-menus-light.css
    at about line 2513
    If you like, the easiest way to make sure it never gets taken over by an external stylesheet would be to add a style attribute inline to the tag itself...
    <div class="widget widget-heading-simple widget-body-gray" style="background-image:url(yourimage.jpg);">

  • How to add background image for a JInternalFrame Container?

    JInternalFrame fr=new JInternalFrame();
    //we added to desktop,
    Container c=fr.getContentPane();
    //how can we set background image for a internal frame??
    thanks,
    waiting,

    You can let the container's border draw the background image: caution: some will find this image disturbing.
    One nice thing about this solution is that you don't have to subclass any components.

  • IPhone SDK: Add background Image to Tabel cell

    Hi all,
    I am trying to add a image to the UITableViewCell. For some reason I could not see the image when I called *cell.backgroundView addSubview:imageView*. But if I changed the code to *cell.contentView addSubview:imageView*, I could see the image.
    Anyone has idea why?
    Thanks in advance.
    --------------------Here is my code
    CGRect rect;
    rect = CGRectMake(0.0, 0.0, 320.0, ROW_HEIGHT);
    UITableViewCell *cell = [[[UITableViewCell alloc] initWithFrame:rect reuseIdentifier:identifier] autorelease];
    UIImage *image = [[UIImage imageNamed:@"test.png"] retain];
    UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
    imageView.image = image;
    imageView.opaque = YES;
    [cell.backgroundView addSubview:imageView];
    [imageView release];

    hi, as far as i know, the property backgroundView does not contain a view at all. If you want to use it, you have to assign a UIView (or subclass) to it.
    So you may set the image as the cell's backgroundView with
    call.backgroundView = imageView;
    or you create a UIView, set it as backgroundView and add the image as subview of the newly created UIView;
    cell.backgroundView = [[UIView alloc] initWithFrame:CGRectZero];
    [cell.backgroundView adSubView:imageView];

  • How to add background image in Pages?

    Pages has consistently proved itself to be very counterintuitive piece of software.  I searched the web for almost an hour without a good solid answer to this question.
    What I want to do:
    1. Add a transparent png as my background, with a cut out center to be used for my content (basically a custom document border).
    2. Have that background automatically replicate itself on every following page.
    3. Be able to type over the entirety of the image if I want, and after reaching the bottom of the page with my text, have Pages automatically create another page for me with the same layout.
    Color me ignorant, but all of that seems impossibly hard to figure out on my own just by poking around / reading tutorials / searching the web for answers.
    Help?

    I'm not sure what you mean by "inspector / object placement." Where do you find that? The object inspector doesn't have any placement options.
    Use the button on the format bar or the wrap inspector as in this screenshot.

  • Add Background Image

    I am using photoshop CS3, I have a nice beach jpg image,and would like to add my photo to it,which is also jpg.Is there anyway that this can be done?Please help me if you can.
    Thanks.Riptorn.

    rip,
    You have to have your Layers Palette open at all times so you know what's going on.
    When you drag the new image over you will see that it doesn't REPLACE the original one; it's a layer above the other one. You need to mask out or remove the parts you want to see through to the background. Not that easy a task, but a common one in Photoshop.
    How you do it depends on what is on the layer on top. What do you have there, figures?
    Look up Extract and Layer Mask.

  • Can i add Background Image to JInternalFrame

    Hi all
    i want add a JPG(image) as Backgrounfd of my JInternalFrame after this i have to add all of my components (JButtons,labels) as usual,on the internalframe but these should be apper in jpg image
    thanks
    Mahesh.B

    Hi belette garou
    i had write as u said but its giving error nomethod maching,see the following code
    JInternalFrame addInf = new JInternalFrame("Glass Pane Test",true,true,true,true);
         JDesktopPane desktop = new JDesktopPane();
         JButton label1 = new JButton("Hello World");
         JTextField text = new JTextField("Infovision");
         JFrame frame;
         Image img;
    GlassPaneTest()
              getContentPane().setLayout(null);
    addInf.getContentPane().setLayout(null);
              addInf.setSize(800,600);
              label1.setBounds(200,200,100,20);
              addInf.getContentPane().add(label1);
              text.setBounds(310,200,100,20);
              addInf.getContentPane().add(text);
    img = new javax.swing.ImageIcon("c:/mahi/images/yourrecipe.jpg").getImage();
              addInf.repaint();
              addListener();
    setSize(800,600);
              desktop.add(addInf);
    setContentPane(desktop);                    
              setVisible(true);
              addInf.validate();
         public void paint(Graphics g)
              //super.paintComponent(g);
              addInf.paintComponent(g);
              g.drawImage(img,0,10,null);
         public void addListener()
              label1.addActionListener(new SymAction());
         class SymAction implements ActionListener
              public void actionPerformed(ActionEvent ae)
                   Object object = ae.getSource();
                   if(object == label1)
                   JOptionPane.showMessageDialog(null,
                             "Working",
                             "INFORMATION",
                             JOptionPane.INFORMATION_MESSAGE );
    please do send in detail
    mahesh

  • Can u add a background image to a 3D annotation?

    I like many others here are interested in 3D in web pages and to do so I would need to at times add background images to 3D annotations within the acrobat 3D embed to match the html page. Is this possible?
    -Thanks!

    You can make the 3D annotation background transparent (it's an option on the config menu when you create a 3Dannot) and whatever's in the background on your PDF will show through, so you can match up with your page. You need to jiggle a bit if you're showing a pre-activation poster image though.

  • Is there a way I can add be background image to my sharepoint site with look and feel?

    Whenever i add any background image with "look and feel" it stretches the image. I've tried modifying the CSS file (in body and tried .ms-backgroundImage setting "background-size:inherit !important;") to fix it, but it doesn't seem to
    have any effect. I there anyway i can add a background image to the master html or css code and get it to not stretch?
    Thanks
    James T.F

    Hi,
    According to your post, my understanding is that you wanted to add background image to sharepoint site with look and feel.
    We can define the Image Url  in the Composed looks (Site Settings > Web Designer Galleries > Composed looks) to add background.
    However, the image will be stretched to fill the viewport at 100%.
    Though we can override the CSS attributes which would allow the image to repeat, but instead I recommend to go the no CSS route and switched the background to a much larger one that would fill the viewport nicely without looking pixelated.
    More information:
    SharePoint 2013 Branding: A New Approach
    SharePoint 2013's Branding – My first three lessons
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Background image  for JPanel using UI Properties

    Is there any way to add background image for JPanel using UI Properties,
    code is
    if (property.equals("img")) {
    System.out.println("call image file in css"+comp);
    //set the background color for Jpanel
    comp.setBackground(Color.decode("#db7093"));
    here the comp is JPanel and we are setting the background color,
    Is there any way to put the Background image for the JPanel ????

    KrishnaveniB wrote:
    Is there any way to put the Background image for the JPanel ????Override the paintComponent(...) method of JPanel.
    e.g.
    import javax.swing.*;
    import java.awt.*;
    import java.io.*;
    import javax.imageio.ImageIO;
    public class ImagePanel {
        public void createAndShowUI() {
            try {
                JFrame frame = new JFrame("Background Image Demo");
                final Image image = ImageIO.read(new File("/home/oje/Desktop/icons/yannix.gif"));
                JPanel panel = new JPanel() {
                    protected void paintComponent(Graphics g) {
                        g.drawImage(image, 0, 0, null);
                frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                frame.setSize(new Dimension(400, 400));
                frame.setContentPane(panel);
                frame.setLocationRelativeTo(null);
                frame.setVisible(true);
            } catch (IOException ex) {
                ex.printStackTrace();
        public static void main(String[] args) {
            SwingUtilities.invokeLater(new Runnable() {
                public void run() {
                    new ImagePanel().createAndShowUI();
    }

  • Setting a background image w/ Flash

    Hello -
    Is there a way to set up a background image (repeating or non-repeating) that the stage area floats over.
    When I use file > publish settings > HTML > publish - It creates the HTML document but any area outside the stage is colored with the default stage color- Can this be set up in Flash or changed in HTML ???
    Here is a section of the HTML document:
    <body bgcolor="#ff00ff">      <--- This is the current stage color in Flash
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <!-- saved from url=(0013)about: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',
            'align', 'middle',
            'play', 'true',
            'loop', 'true',
            'scale', 'noscale',
            'wmode', 'window',
            'devicefont', 'false',
            'id', 'krae_pink',
            'bgcolor', '#ff00ff',   <---- This is the current stage color in Flash
            'name', 'krae_pink',
            'menu', 'true',
            'allowFullScreen', 'false',
            'allowScriptAccess','sameDomain',
            'movie', 'krae_pink',
            'salign', ''
            ); //end AC code
    </script>
    Thanks- Ben L

    Yes you can but flash does not add background image for you. It only generates the HTML file with the object-embedding script. Then you will need to add the HTML script to add the background. Also you will need to set the SWF object as transparent so that it will "hover" over the HTML file. Do that by setting the wmode property of the embedding code which looks like this: http://www.pastie.org/822998. Or set the Window Mode under HTML tab of Publish settings to "Transparent Windowless".

Maybe you are looking for

  • Skype notifications doesn't work!

    I get notifications for Facebook, Twitter, Gmail, games and everything else exept Skype! When somebody calls me, I need to be IN the Skype app and have it in front of me to get the call. I have it set on Alert so that it says "*Person* calls you, Con

  • File sender communication channel stop working

    Hi Guru, I have a file sender communication channel. It usually works good. But sometimes it just stop working. And In RWB, it shows no error. If I stop it and restart it in RWB, it immediately works again. This happens once a while. Any ideas? Thank

  • Missing PDFMaker and office 2010 64bit

    Hi, I've installed acrobat x standard on my new PC with office 2010 64 bit and noticed that the pdfmaker is not working with office 64bit to create multiple office files in one pdf.  Is there already a solution to solve this problem ?? Thanks for the

  • I want to make my movie previews in Finder like they are in iTunes??

    Ok so this is short and simple. When you have a movie in iTunes, the preview of the movie (usually the dvd cover) is displayed very nicely. In finder, it just shows a pic of whatever is at the beginning of the movie. I tried to change the previews of

  • My MacBook shuts down without warning.  Recently installed snow leopard.  Battery is fine. Any ideas?

    My MacBook shuts down without warning.  I recently installed Snow Leopard and increased my RAM/Memory.  My battery is fine.  When I took it to the Genius Bar and they ran a diagnostic, nothing showed up.  It appeared fine and did not shut down during