Combobox background displaying transparent - help

I have 5 comboboxes in a form and I can not get them to react
to AS at all. In addition, their backgrounds are transparent so the
list is stepping on other information underneath it - making it
unreadable.
I've tried setting a styleObj and attaching it and then
setting the style properties, but nothing seems to work. I'm in
Flash 8.
any help will be greatly appreciated.

The combo boxes themselves where the problem. They came from
another file and for some reason, they just weren't accepting the
setStyle. I deleted them and dragged in new components to the stage
and the new ones worked.

Similar Messages

  • Background is transparent - HELP!!!!!

    my itunes background is transparent, when it comes up I can see whats behind, like the desktop or a website. I can barely read the songs/artists names, but the white background is gone!!! please help!!!
    I posted before and got some answers, but tried everything and didnt work.
    If it helps, I notice that something is dif when I check websites or write emails, like they are a bit shaky when I move the cursor over it, or write an email. Maybe that has something to do? some graphic issue?
    HELP HELP HELP!!!

    jaykay, the first thing i try with the "transparent" itunes is updating the DirectX on the PC. if no joy with that, try making sure that the video drivers on the PC are up to date.
    the following document is on sound issues, but down the bottom it has good links on updating both DirectX and video drivers:
    iTunes and QuickTime for Windows: Songs and other audio don't play correctly

  • Background-color:transparent !important; is not working in IE

    Hi,
    In my sharepoint site i have used "background-color:transparent !important;" css. It is not working in IE but in Mozilla is working fine.
    And I am using IE 11. Please let me know is there any thing wrong in the syntax. If that is the case please provide me correct solution for that.
    Any help would be greatly appreciated. 
    Regards,
    Saya 

    Thank you for your reply.
    I have checked given links. Those are not use for this issue.
    Actually in my sharepoint site the same code "background-color:transparent
    !important;" was working fine before installing sharepoint 2010 service pack 2. After installation we got this issue. And if i change "transparent"
    with any color, it is applying that color. Only "transparent"
    background css is not working in IE.

  • ComboBox not displaying values...

    Hi people,
    I am having a problem, when I run my GUI the ComboBoxes refuse to display the data when I click the search buttons, my code is below (there are 5 separate classes)
    Here is my code:
    MusicListTest.java:
    import java.util.*;
    class MusicListTest
         /* Test */
         public static void main (String[] arg)
              MusicList tMusic = new MusicList();
              tMusic.addMusic(new Music("Reanimation", "Linkin Park", "Ripcord Designs", "5", "July", "2004"));
              tMusic.addMusic(new Music("Black", "Metallica", "Virgin Records", "8","August","2004"));
              //tMusic.addMusic(new Music("1", "2", "3", "Thusday 2nd July 2004"));
              /*tMusic.addMusic(new Music("Maybe", "Linkin Park", "Ripcord Designs"));
              tMusic.addMusic(new Music("Garage", "Metallica", "Virgin Records"));
              tMusic.addMusic(new Music("1", "2", "3"));
              tMusic.addMusic(new Music("The Wall", "Pink Floyd", "MorningStar Records"));*/
              System.out.println(tMusic);
              //System.out.println(tMusic1);
              //System.out.println(tMusic);
              //Initiate the GUI with the current list of names.
              MusicListGUI tGui = new MusicListGUI(tMusic);
    MusicInputComponent.java:
    import java.awt.*;
    import javax.swing.*;
    import javax.swing.border.*;
    import java.awt.event.*;
    import javax.swing.event.*;
    import java.util.*;
    class MusicInputComponent extends JComponent
         //Note: Make input components attributes, as other
         //      methods need to refer to them.
            private JTextField  iTitleField;
         private JTextField iAuthorField;
         private JTextField iPublisherField;
         private JComboBox iDayCombo;
         private JComboBox iMonthCombo;
         private JComboBox iYearCombo;
         public MusicInputComponent()
                    //Dimensions for prompts so that all are the same size and line up.
              Dimension d = new Dimension(583,300);
              Dimension e = new Dimension(60,20);
                    Dimension f = new Dimension(100,20);
                    JPanel tPanel;
              JPanel tPanel1;
              //----Title-------------------------------------
              //Create prompt label, and combo box objects
              JTabbedPane tTabPane = new JTabbedPane(JTabbedPane.TOP);
              tTabPane.setPreferredSize(d);
                    tPanel = new JPanel();
                    tPanel1 = new JPanel();
                    iTitleField = new JTextField(40);
                    iAuthorField = new JTextField(40);
                    iPublisherField = new JTextField(40);
                    String[] tDays = {"","1","2","3","4","Mr","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30","31"};
                    String[] tMonths = {"","January","February","March","April","May","June","July","August","September","October","November","December"};
                    String[] tYears= {"","2000","2001","2002","2003","2004","2005","2006","2007","2008","2009","2010"};
                    iDayCombo = new JComboBox(tDays);
                    iMonthCombo = new JComboBox(tMonths);
                    iYearCombo = new JComboBox(tYears);
                    JLabel tTitlePrompt = new JLabel("Title:", JLabel.RIGHT);
                    JLabel tAuthorPrompt = new JLabel("Author:", JLabel.RIGHT);
                    JLabel tPublisherPrompt = new JLabel("Publisher:", JLabel.RIGHT);
                    tTitlePrompt.setPreferredSize(e);
                    tAuthorPrompt.setPreferredSize(e);
                    tPublisherPrompt.setPreferredSize(e);
                    iDayCombo.setPreferredSize(e);
                    iMonthCombo.setPreferredSize(f);
                    iYearCombo.setPreferredSize(e);
              Box tMainBox = Box.createHorizontalBox();
              tMainBox.add(Box.createHorizontalStrut(10));
              tMainBox.add(tTitlePrompt);
              tMainBox.add(Box.createHorizontalStrut(10));
              tMainBox.add(iTitleField);
              tMainBox.add(Box.createHorizontalStrut(10));
              tMainBox.add(tAuthorPrompt);
              tMainBox.add(Box.createHorizontalStrut(10));
              tMainBox.add(iAuthorField);
              tMainBox.add(Box.createHorizontalStrut(10));
                    tMainBox.add(tPublisherPrompt);
              tMainBox.add(Box.createHorizontalStrut(10));
              tMainBox.add(iPublisherField);
                    tMainBox.add(Box.createHorizontalStrut(10));
                    tMainBox.add(iDayCombo);
                    tMainBox.add(Box.createHorizontalStrut(10));
                    tMainBox.add(iMonthCombo);
                    tMainBox.add(Box.createHorizontalStrut(10));
                    tMainBox.add(iYearCombo);
                    tMainBox.add(Box.createHorizontalStrut(10));
                    tPanel.add(tTitlePrompt);
                    tPanel.add(iTitleField);
                    tPanel.add(tAuthorPrompt);
                    tPanel.add(iAuthorField);
                    tPanel.add(tPublisherPrompt);
                    tPanel.add(iPublisherField);
                    tPanel.add(iDayCombo);
                    tPanel.add(iMonthCombo);
                    tPanel.add(iYearCombo);
                    tPanel.setBackground(new Color(200, 221, 242));
                    tPanel1.setBackground(new Color(200, 221, 242));
                    /*Object iM2 = iM.AList();
                    DefaultListModel iD = new DefaultListModel();
                    iD.addElement(iM2);
                    tList = new JList(iD);*/
                    //tList.setBackground(new Color(200, 221, 242));
                    //Box tNameBox = Box.createVerticalBox();
                    JLabel tLabel = new JLabel("Welcome to my CD selector utility, written by: Robert William Rainbird - P03301169", JLabel.CENTER);
                    tTabPane.addTab("Information", tLabel);
              tTabPane.addTab("Details", tPanel);
                    //tTabPane.addTab("D", tList);
              this.setLayout(new FlowLayout(FlowLayout.LEFT));
              this.add(tTabPane);
         //----accessors-------------------------
         //Return a Name object built form the input fields
         public Music getMusicInput()
              return new Music(getTitle(), getAuthor(), getPublisher(), getDay(), getMonth(), getYear());
         public String getTitle()
                    return iTitleField.getText().trim();
         public String getAuthor()
              return iAuthorField.getText().trim();
         public String getPublisher()
              return iPublisherField.getText().trim();
            public String getDay()
              return (String)iDayCombo.getSelectedItem();
         public String getMonth()
              return (String)iMonthCombo.getSelectedItem();
         public String getYear()
              return (String)iYearCombo.getSelectedItem();
         //-----modifiers: to allow setting contents for each field-------
         //Set the fields to display pName
         public void setMusicInput(Music pMusic)
              this.setTitle(pMusic.getTitle());
              this.setAuthor(pMusic.getAuthor());
              this.setPublisher(pMusic.getPublisher());
              iDayCombo.requestFocus();
              iMonthCombo.requestFocus();
              iYearCombo.requestFocus();
         //effectively clears the fields on previous inputs
         public void reset()
              setMusicInput(new Music("", "", "", "", "", ""));
         //pTitle must be one of "","Mr", "Mrs", "Miss", "Ms", "Dr", "Prof"
         public void setTitle(String pTitle)
              iTitleField.setText(pTitle);
         public void setAuthor(String pAuthor)
              iAuthorField.setText(pAuthor);
         public void setPublisher(String pPublisher)
              iPublisherField.setText(pPublisher);
         public void setDay(String pDay)
              iDayCombo.setSelectedItem(pDay);
         public void setMonth(String pMonth)
              iMonthCombo.setSelectedItem(pMonth);
         public void setYear(String pYear)
              iYearCombo.setSelectedItem(pYear);
    Music.java
    public class Music
         private String iTitle;
         private String iAuthor;
         private String iPublisher;
            private String iDay;
            private String iMonth;
            private String iYear;
         public Music()
                    this("","","","","","");
         public Music(String pTitle, String pAuthor, String pPublisher, String pDay, String pMonth, String pYear)
              this.iTitle = pTitle;
              this.iAuthor = pAuthor;
              this.iPublisher = pPublisher;
              this.iDay = pDay;
              this.iMonth = pMonth;
              this.iYear = pYear;
         public String getTitle()
              return iTitle;
         public String getAuthor()
              return iAuthor;
         public String getPublisher()
              return iPublisher;
            public String getDay()
              return iDay;
            public String getMonth()
              return iMonth;
         public String getYear()
              return iYear;
         private String getFullDetails()
              return iTitle + " " + iAuthor + " " + iPublisher + " " + iDay + " " + iMonth + " " + iYear;
         public String getMusicLine()
              return iTitle + ' ' + iAuthor.toUpperCase().charAt(0) + ' ' + iPublisher + ' ' + iDay + ' ' + iMonth + ' ' + iYear;
            public boolean equals(Object obj)
              if (obj==null || getClass()!=obj.getClass())
                   return false;
                   Music n = (Music) obj;
                   return iTitle.equalsIgnoreCase(n.iTitle)
                        && iPublisher.equalsIgnoreCase(n.iPublisher);
         public int hashCode()
              return getFullDetails().hashCode();
         public String toString()
              return getFullDetails();
    MusicList.java:
    import java.util.*;
    public class MusicList
                private List iList;  //names are stored in a list.
         public MusicList()
              iList = new LinkedList();
         public MusicList(List pListOfMusic)
              iList = pListOfMusic;
         public void addMusic(Music pMusicName)
                iList.add(pMusicName);
         public void removeMusic(Music pMusicName)
              iList.remove(pMusicName);
                 //Return the name with the given surname, otherwise return null.
         //Uses a linear search.
            public Music findTitle(String pTitle)
              Music tTitle = null;
              boolean found = false;
              Iterator it = iList.iterator();
              while (it.hasNext() && !found)
                   tTitle = (Music) it.next();
                   found = tTitle.getTitle().equalsIgnoreCase(pTitle);
              if(!found) tTitle=null;
              return tTitle;
         public Music findAuthor(String pAuthor)
              Music tAuthor = null;
              boolean found = false;
              Iterator it = iList.iterator();
              while (it.hasNext() && !found)
                   tAuthor = (Music) it.next();
                   found = tAuthor.getAuthor().equalsIgnoreCase(pAuthor);
              if(!found) tAuthor=null;
              return tAuthor;
            public Music findPublisher(String pPublisher)
              Music tPub = null;
              boolean found = false;
              Iterator it = iList.iterator();
              while (it.hasNext() && !found)
                   tPub = (Music) it.next();
                   found = tPub.getPublisher().equalsIgnoreCase(pPublisher);
              if(!found) tPub=null;
              return tPub;
         public String toString()
              return "Music List = " + iList.toString();
    MusicListGUI.java:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    class MusicListGUI extends JFrame
         private MusicList iMusicList;
         public MusicListGUI()
              this(new MusicList());
         public MusicListGUI(MusicList pMusicList)
                    super("CD List GUI");     //set the title
              this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                    Container tContentPane = this.getContentPane(); //we add components to the contentPane
                    tContentPane.setLayout(new BorderLayout());
                    iMusicList = pMusicList;
                    MusicInputComponent tMusicInputCpt = new MusicInputComponent();
              JLabel tMessageLine = new JLabel();
                    ButtonPanel tBPanel = new ButtonPanel(tMusicInputCpt, tMessageLine, iMusicList);
              /* Use a tabbed pane. Each component has its own tab.*/
                    //add the tab pane to the frame's content.
                    tContentPane.add(tMusicInputCpt, BorderLayout.NORTH);
                    tContentPane.add(tBPanel, BorderLayout.WEST);
                    tContentPane.add(tMessageLine, BorderLayout.SOUTH);
                    tMessageLine.setText("Welcome");
                    this.setLocation(300,200);
              this.setResizable(false);
              this.pack();
              this.setVisible(true);                 //Then add the panel to the tab pane (or content pane).
         public MusicList getMusicList()
              return iMusicList;
         public void setMusicList(MusicList pMusicList)
              iMusicList = pMusicList;
    ButtonPanel.java:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.border.*;
    class ButtonPanel extends JPanel {
         private MusicInputComponent iMusicCpt;
         private JLabel iMessageLine;
         private MusicList iMusicList;
         public ButtonPanel(MusicInputComponent pMusicCpt, JLabel pMessageLine, MusicList pMusicList)
              iMusicCpt = pMusicCpt;
              iMessageLine = pMessageLine;
              iMusicList = pMusicList;
              //Define the buttons and listener methods ----------------------------
              JButton tFindButton = new JButton("Search Title");
              tFindButton.addActionListener
                   new ActionListener()
                        public void actionPerformed(ActionEvent e)
                                            Music tMusic = iMusicCpt.getMusicInput();
                             iMessageLine.setText("Searching for: ");
                                            String tTitle = tMusic.getTitle();
                                            tMusic = iMusicList.findTitle(tTitle);
                                            if (tMusic != null)
                                  iMusicCpt.setMusicInput(tMusic);
                                  iMessageLine.setText(iMessageLine.getText() + " - found");
                             else
                                  iMessageLine.setText(iMessageLine.getText() + " - not found");
              JButton tFindButton1 = new JButton("Search Author");
              tFindButton1.addActionListener
                   new ActionListener()
                        public void actionPerformed(ActionEvent e)
                             Music tMusic = iMusicCpt.getMusicInput();
                             iMessageLine.setText("Searching for: ");
                                            String tAuthor = tMusic.getAuthor();
                                            tMusic = iMusicList.findAuthor(tAuthor);
                                            if (tMusic != null)
                                  iMusicCpt.setMusicInput(tMusic);
                                  iMessageLine.setText(iMessageLine.getText() + " - found");
                             else
                                  iMessageLine.setText(iMessageLine.getText() + " - not found");
              JButton tFindButton2 = new JButton("Search Publisher");
              tFindButton2.addActionListener
                   new ActionListener()
                        public void actionPerformed(ActionEvent e)
                             Music tMusic = iMusicCpt.getMusicInput();
                             iMessageLine.setText("Searching for: ");
                                            String tPublisher = tMusic.getPublisher();
                                            tMusic = iMusicList.findPublisher(tPublisher);
                                            if (tMusic != null)
                                  iMusicCpt.setMusicInput(tMusic);
                                  iMessageLine.setText(iMessageLine.getText() + " - found");
                             else
                                  iMessageLine.setText(iMessageLine.getText() + " - not found");
              JButton tClearButton = new JButton("Clear");
              tClearButton.addActionListener
                   new ActionListener()
                        public void actionPerformed(ActionEvent e)
                             iMusicCpt.reset();
                             iMessageLine.setText("Enter\n" + "Details");
              JButton tSubmitButton = new JButton("Submit");
              tSubmitButton.addActionListener
                   new ActionListener()
                        public void actionPerformed(ActionEvent e)
                             Music tMusic = iMusicCpt.getMusicInput();
                                            iMusicList.addMusic(tMusic);
                             iMessageLine.setText("Added: " + tMusic.toString());
                             System.out.println(iMusicList);
              JButton tDeleteButton = new JButton("Delete");
              tDeleteButton.addActionListener
                   new ActionListener()
                        public void actionPerformed(ActionEvent e)
                             Music tMusic = iMusicCpt.getMusicInput();
                             iMusicList.removeMusic(tMusic);
                             iMessageLine.setText("Deleted: " + tMusic.toString());
                             iMusicCpt.reset();
                             System.out.println(iMusicList);
              //Construct the ButtonPanel -----------------
              this.setLayout(new FlowLayout(FlowLayout.RIGHT));
              //this.setBackground(Color);
              this.add(tFindButton);
              this.add(tFindButton1);
              this.add(tFindButton2);
                    this.add(tDeleteButton);
              this.add(tClearButton);
              this.add(tSubmitButton);
    }Any light anyone could shed on the situation would be appreciated, I have another GUI with a ComboBox and it allows you to Clear the ComboBox and display search results, my own one and the reference one are both the same (I think)
    Many Thanks,
    Rob.

    Yeah...well you need everything for it to run correctly. And see if there are any mistakes. Not quite. We are not here to debug your programs for you. We are here to help with programming concepts and questions.
    Write a simple program with all the code in one class that demonstrates the problem. Chances are you will find out what you problem is. If you can prove it works in a simple program the you find out what the difference is between the working and non working program.
    Here is an examle of a simple class that responds to a combo box selection:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=428181

  • Preview background is transparent on PDFs, how to get back to white?

    I don't know how I did this but somehow I must've messed around with a setting because now all of the PDF's I open in preview have a transparent background instead of the white default background. This makes it very difficult to view PDFs. I know how to make a background transparent to a png file in preview but no clue how to get back the white background as the application default background. Please help, I'm completely stumped! Please see example in dropbox link below.
    https://www.dropbox.com/s/9ru13am27p58wjq/bkgd%20problem.png?dl=0
    Thank you!

    You are a lifesaver! I knew I messed around and did something in the settings and this must've been it. Thank you so much! I can finally read my PDFs again

  • Imported SWFs background to "Transparent" in Presenter?

    Is it possible to set an imported SWFs background to transparent within Presenter?  I have Presenter 7, PowerPoint 2007, Flash CS4, working in Windows Vista.
    The only way I know to set SWF transparency is with the WMode parameter... so, in PowerPoint, if I right-click the imported SWF and choose "Properties" I get the Properties window which contains a field WMode.  I set this to "Transparent", but when publishing the Presenter file to "My Computer" the original SWF background (white in this case) still shows up.
    My PowerPoint has a gradient background, and my SWF file's stage is smaller than my PPT stage.  Making teh SWF BG transparent will allow me to place the SWF wherever I need to on the PPT stage without having to worry about lining up background gradients precisely.
    Any help is appreciated.

    So, not even 4 years later, and after 2 new versions of Flash can we still not produce a transparent background to be able to seamlessly go in a Powerpoint 2010 file?  I imported a single/looping file under the <Insert Tab. It had a transparent backgound and a playhead with start/stop on it. Can't remember how I did it though? 
    Thanks,

  • PyGtk/Python 2.0 png transparency help

    I've googled and tried to solve this myself for the past few hours to no avail, so i'm hoping someone will be able to help. I installed gmail-notify and decided i wanted to make the popup transparent, so i started looking into the .py file. Even though i'm learning C, and some Assembly, i just can't fully understand python and the gtk library and the frustration is starting to get me. So basically what i'm trying to achieve is to make the image that pops up (background.png) transparent. I'm running stand-alone Openbox, with Cairo. And iv'e made the alpha layers and all that too in the png image. Any help would be greatly appreciated.
    #!/usr/bin/env python2
    # -*- coding: utf-8 -*-
    # Uploaded by juan_grande 2005/02/24 18:38 UTC
    import pygtk
    pygtk.require('2.0')
    import gtk
    import time
    import os
    import pytrayicon
    import sys
    import warnings
    import ConfigParser
    import xmllangs
    import GmailConfig
    import GmailPopupMenu
    import gmailatom
    sys.path[0] = "/usr/share/gmail-notify"
    BKG_PATH=sys.path[0]+"/background.png"
    ICON_PATH=sys.path[0]+"/icon.png"
    ICON2_PATH=sys.path[0]+"/icon2.png"
    def removetags(text):
    raw=text.split("<b>")
    raw2=raw[1].split("</b>")
    final=raw2[0]
    return final
    def shortenstring(text,characters):
    if text == None: text = ""
    mainstr=""
    length=0
    splitstr=text.split(" ")
    for word in splitstr:
    length=length+len(word)
    if len(word)>characters:
    if mainstr=="":
    mainstr=word[0:characters]
    break
    else: break
    mainstr=mainstr+word+" "
    if length>characters: break
    return mainstr.strip()
    class GmailNotify:
    configWindow = None
    options = None
    def __init__(self):
    self.init=0
    print "Gmail Notifier v1.6.1b ("+time.strftime("%Y/%m/%d %H:%M:%S", time.localtime())+")"
    print "----------"
    # Configuration window
    self.configWindow = GmailConfig.GmailConfigWindow( )
    # Reference to global options
    self.options = self.configWindow.options
    # Check if there is a user and password, if not, load config window
    while ( self.options["gmailusername"] == None or self.options["gmailpassword"] == None ):
    self.configWindow.show()
    # Load selected language
    self.lang = self.configWindow.get_lang()
    print "selected language: "+self.lang.get_name()
    # Creates the main window
    self.window = gtk.Window(gtk.WINDOW_POPUP)
    self.window.set_title(self.lang.get_string(21))
    self.window.set_resizable(1)
    self.window.set_decorated(0)
    self.window.set_keep_above(1)
    self.window.stick()
    self.window.hide()
    # Define some flags
    self.senddown=0
    self.popup=0
    self.newmessages=0
    self.mailcheck=0
    self.hasshownerror=0
    self.hassettimer=0
    self.dont_connect=0
    self.unreadmsgcount=0
    # Define the timers
    self.maintimer=None
    self.popuptimer=0
    self.waittimer=0
    # Create the tray icon object
    self.tray = pytrayicon.TrayIcon(self.lang.get_string(21));
    self.eventbox = gtk.EventBox()
    self.tray.add(self.eventbox)
    self.eventbox.connect("button_press_event", self.tray_icon_clicked)
    # Tray icon drag&drop options
    self.eventbox.drag_dest_set(
    gtk.DEST_DEFAULT_ALL,
    [('_NETSCAPE_URL', 0, 0),('text/uri-list ', 0, 1),('x-url/http', 0, 2)],
    gtk.gdk.ACTION_COPY | gtk.gdk.ACTION_MOVE)
    # Create the tooltip for the tray icon
    self._tooltip = gtk.Tooltips()
    # Set the image for the tray icon
    self.imageicon = gtk.Image()
    pixbuf = gtk.gdk.pixbuf_new_from_file( ICON_PATH )
    scaled_buf = pixbuf.scale_simple(24,24,gtk.gdk.INTERP_BILINEAR)
    self.imageicon.set_from_pixbuf(scaled_buf)
    self.eventbox.add(self.imageicon)
    # Show the tray icon
    self.tray.show_all()
    # Create the popup menu
    self.popup_menu = GmailPopupMenu.GmailPopupMenu( self)
    # Create the popup
    self.fixed=gtk.Fixed()
    self.window.add(self.fixed)
    self.fixed.show()
    self.fixed.set_size_request(0,0)
    # Set popup's background image
    self.image=gtk.Image()
    self.image.set_from_file( BKG_PATH )
    self.image.show()
    self.fixed.put(self.image,0,0)
    # Set popup's label
    self.label=gtk.Label()
    self.label.set_line_wrap(1)
    self.label.set_size_request(170,140)
    self.default_label = "<span size='large' ><i><u>"+self.lang.get_string(21)+"</u></i></span>\n\n\n"+self.lang.get_string(20)
    self.label.set_markup( self.default_label)
    # Show popup
    self.label.show()
    # Create popup's event box
    self.event_box = gtk.EventBox()
    self.event_box.set_visible_window(0)
    self.event_box.show()
    self.event_box.add(self.label)
    self.event_box.set_size_request(180,125)
    self.event_box.set_events(gtk.gdk.BUTTON_PRESS_MASK)
    self.event_box.connect("button_press_event", self.event_box_clicked)
    # Setup popup's event box
    self.fixed.put(self.event_box,6,25)
    self.event_box.realize()
    self.event_box.window.set_cursor(gtk.gdk.Cursor(gtk.gdk.HAND1))
    # Resize and move popup's event box
    self.window.resize(180,1)
    self.width, self.height = self.window.get_size()
    self.height+=self.options['voffset']
    self.width+=self.options['hoffset']
    self.window.move(gtk.gdk.screen_width() - self.width, gtk.gdk.screen_height() - self.height)
    self.init=1
    while gtk.events_pending():
    gtk.main_iteration(gtk.TRUE)
    # Attemp connection for first time
    if self.connect()==1:
    # Check mail for first time
    self.mail_check()
    self.maintimer=gtk.timeout_add(self.options['checkinterval'],self.mail_check)
    def connect(self):
    # If connecting, cancel connection
    if self.dont_connect==1:
    print "connection attemp suspended"
    return 0
    self.dont_connect=1
    print "connecting..."
    self._tooltip.set_tip(self.tray,self.lang.get_string(13))
    while gtk.events_pending():
    gtk.main_iteration( gtk.TRUE)
    # Attemp connection
    try:
    self.connection=gmailatom.GmailAtom(self.options['gmailusername'],self.options['gmailpassword'])
    self.connection.refreshInfo()
    print "connection successful... continuing"
    self._tooltip.set_tip(self.tray,self.lang.get_string(14))
    self.dont_connect=0
    return 1
    except:
    print "login failed, will retry"
    self._tooltip.set_tip(self.tray,self.lang.get_string(15))
    self.default_label = "<span size='large' ><u><i>"+self.lang.get_string(15)+"</i></u></span>\n\n"+self.lang.get_string(16)
    self.label.set_markup(self.default_label)
    self.show_popup()
    self.dont_connect=0
    return 0
    def mail_check(self, event=None):
    # If checking, cancel mail check
    if self.mailcheck==1:
    print "self.mailcheck=1"
    return gtk.TRUE
    # If popup is up, destroy it
    if self.popup==1:
    self.destroy_popup()
    self.mailcheck=1
    print "----------"
    print "checking for new mail ("+time.strftime("%Y/%m/%d %H:%M:%S", time.localtime())+")"
    while gtk.events_pending():
    gtk.main_iteration( gtk.TRUE)
    # Get new messages count
    attrs = self.has_new_messages()
    # If mail check was unsuccessful
    if attrs[0]==-1:
    self.mailcheck=0
    return gtk.TRUE
    # Update tray icon
    self.eventbox.remove(self.imageicon)
    self.imageicon = gtk.Image()
    if attrs[1]>0:
    print str(attrs[1])+" new messages"
    sender = attrs[2]
    subject= attrs[3]
    snippet= attrs[4]
    if len(snippet)>0:
    self.default_label="<span size='large' ><u><i>"+self.lang.get_string(17)+sender[0:24]+"</i></u></span>\n"+shortenstring(subject,20)+"\n\n"+snippet+"..."
    else:
    self.default_label="<span size='large' ><u><i>"+self.lang.get_string(17)+sender[0:24]+"</i></u></span>\n"+shortenstring(subject,20)+"\n\n"+snippet+"..."
    self.show_popup()
    if attrs[0]>0:
    print str(attrs[0])+" unread messages"
    s = ' '
    if attrs[0]>1: s=self.lang.get_string(35)+" "
    self._tooltip.set_tip(self.tray,(self.lang.get_string(19))%{'u':attrs[0],'s':s})
    pixbuf = gtk.gdk.pixbuf_new_from_file( ICON2_PATH )
    else:
    print "no new messages"
    self.default_label="<span size='large' ><i><u>"+self.lang.get_string(21)+"</u></i></span>\n\n\n"+self.lang.get_string(18)
    self._tooltip.set_tip(self.tray,self.lang.get_string(18))
    pixbuf = gtk.gdk.pixbuf_new_from_file( ICON_PATH )
    self.label.set_markup(self.default_label)
    scaled_buf = pixbuf.scale_simple(24,24,gtk.gdk.INTERP_BILINEAR)
    self.imageicon.set_from_pixbuf(scaled_buf)
    self.eventbox.add(self.imageicon)
    self.tray.show_all()
    self.unreadmsgcount=attrs[0]
    self.mailcheck=0
    return gtk.TRUE
    def has_new_messages( self):
    unreadmsgcount=0
    # Get total messages in inbox
    try:
    self.connection.refreshInfo()
    unreadmsgcount=self.connection.getUnreadMsgCount()
    except:
    # If an error ocurred, cancel mail check
    print "getUnreadMsgCount() failed, will try again soon"
    return (-1,)
    sender=''
    subject=''
    snippet=''
    finalsnippet=''
    if unreadmsgcount>0:
    # Get latest message data
    sender = self.connection.getMsgAuthorName(0)
    subject = self.connection.getMsgTitle(0)
    snippet = self.connection.getMsgSummary(0)
    if len(sender)>12:
    finalsnippet=shortenstring(snippet,20)
    else:
    finalsnippet=shortenstring(snippet,40)
    # Really new messages? Or just repeating...
    newmsgcount=unreadmsgcount-self.unreadmsgcount
    self.unreadmsgcount=unreadmsgcount
    if unreadmsgcount>0:
    return (unreadmsgcount, newmsgcount, sender, subject, finalsnippet)
    else:
    return (unreadmsgcount,0, sender, subject, finalsnippet)
    def show_popup(self):
    # If popup is up, destroy it
    if self.popup==1:
    self.destroy_popup()
    # Generate popup
    print "generating popup"
    self.popuptimer = gtk.timeout_add(self.options['animationdelay'],self.popup_proc)
    self.window.show()
    return
    def destroy_popup(self):
    print "destroying popup"
    if self.popuptimer>0:gtk.timeout_remove(self.popuptimer)
    if self.waittimer>0: gtk.timeout_remove(self.waittimer)
    self.senddown=0
    self.hassettimer=0
    self.window.hide()
    self.window.resize(180,1)
    self.window.move(gtk.gdk.screen_width() - self.width, gtk.gdk.screen_height() - self.height)
    return
    def popup_proc(self):
    # Set popup status flag
    if self.popup==0:
    self.popup=1
    currentsize=self.window.get_size()
    currentposition=self.window.get_position()
    positiony=currentposition[1]
    sizey=currentsize[1]
    if self.senddown==1:
    if sizey<2:
    # If popup is down
    self.senddown=0
    self.window.hide()
    self.window.resize(180,1)
    self.window.move(gtk.gdk.screen_width() - self.width, gtk.gdk.screen_height() - self.height)
    self.popup=0
    return gtk.FALSE
    else:
    # Move it down
    self.window.resize(180,sizey-2)
    self.window.move(gtk.gdk.screen_width() - self.width,positiony+2)
    else:
    if sizey<140:
    # Move it up
    self.window.resize(180,sizey+2)
    self.window.move(gtk.gdk.screen_width() - self.width,positiony-2)
    else:
    # If popup is up, run wait timer
    sizex=currentsize[0]
    self.popup=1
    if self.hassettimer==0:
    self.waittimer = gtk.timeout_add(self.options['popuptimespan'],self.wait)
    self.hassettimer=1
    return gtk.TRUE
    def wait(self):
    self.senddown=1
    self.hassettimer=0
    return gtk.FALSE
    def tray_icon_clicked(self,signal,event):
    if event.button==3:
    self.popup_menu.show_menu(event)
    else:
    self.label.set_markup(self.default_label)
    self.show_popup()
    def event_box_clicked(self,signal,event):
    if event.button==1:
    self.gotourl()
    def exit(self, event):
    dialog = gtk.MessageDialog( None, gtk.DIALOG_MODAL, gtk.MESSAGE_QUESTION, gtk.BUTTONS_YES_NO, self.lang.get_string(5))
    dialog.width, dialog.height = dialog.get_size()
    dialog.move( gtk.gdk.screen_width()/2-dialog.width/2, gtk.gdk.screen_height()/2-dialog.height/2)
    ret = dialog.run()
    if( ret==gtk.RESPONSE_YES):
    gtk.main_quit(0)
    dialog.destroy()
    def gotourl( self, wg=None):
    print "----------"
    print "launching browser "+self.options['browserpath']+" [url]http://gmail.google.com[/url]"
    os.system(self.options['browserpath']+" [url]http://gmail.google.com[/url] &")
    def show_quota_info( self, event):
    print "Not available"
    #if self.popup==1:self.destroy_popup()
    #print "----------"
    #print "retrieving quota info"
    #while gtk.events_pending()!=0:
    # gtk.main_iteration(gtk.TRUE)
    #try:
    # usage=self.connection.getQuotaInfo()
    #except:
    # if self.connect()==0:
    # return
    # else:
    # usage=self.connection.getQuotaInfo()
    #self.label.set_markup("<span size='large' ><u><i>"+self.lang.get_string(6)+"</i></u></span>\n\n"+self.lang.get_string(24)%{'u':usage[0],'t':usage[1],'p':usage[2]})
    #self.show_popup()
    def update_config(self, event=None):
    # Kill all timers
    if self.popup==1:self.destroy_popup()
    if self.init==1:gtk.timeout_remove(self.maintimer)
    # Run the configuration dialog
    self.configWindow.show()
    # Update timeout
    self.maintimer = gtk.timeout_add(self.options["checkinterval"], self.mail_check )
    # Update user/pass
    self.connection=gmailatom.GmailAtom(self.options["gmailusername"],self.options["gmailpassword"])
    self.connect()
    self.mail_check()
    # Update popup location
    self.window.resize(180,1)
    self.width, self.height = self.window.get_size()
    self.height +=self.options["voffset"]
    self.width +=self.options["hoffset"]
    self.window.move(gtk.gdk.screen_width() - self.width, gtk.gdk.screen_height() - self.height)
    # Update language
    self.lang=self.configWindow.get_lang()
    # Update popup menu
    self.popup_menu = GmailPopupMenu.GmailPopupMenu(self)
    return
    def main(self):
    gtk.main()
    if __name__ == "__main__":
    warnings.filterwarnings( action="ignore", category=DeprecationWarning)
    gmailnotifier = GmailNotify()
    gmailnotifier.main()
    Cheers!

    Anyone?

  • Hi, i am really new to photoshop and i have a design which i need to have the background made transparent? can anyone assist please?

    hi, i am really new to photo shop and i have a logo design which i need to have the background made transparent from a white square? can anyone assist please?
    i have already got the image on my screen but cant seem to find the tool in which to make it transparent as i do with other softwares.

    hi aknaloku,
    is the background apart of your image or is the image on a different layer?
    if the white background is on a different layer you can simply delete the layer for the layers window which you can find in Window>Layer. you will need to delete the background layer by dragging it into the little rubbish bin icon down the bottom right of the layers window.
    i hoped this helped
    Matty

  • ComboBox, background, CS3, AS2.0

    I'm trying to give a gradient background to a ComboBox to the unopened, unclicked, or initial state (no gradient to the expanded list area).
    I've tried editing the skins in StandardComponents.fla file but every asset I put the gradient graphic into seems to be overlaid by a white box w/ a black border. I'm also considering making the ComboBox transparent and putting the gradient graphic under the transparent ComboBox.
    My questions are:
    1. Which asset do I update in the StandardComponents.fla if I want to give the initial state of the ComboBox a gradient background.
    2. If 1 doesn't work, what's the AS to set the background transparent? Is it something like comboBox.setStyle("backgroundColor", transparent);

    The "/*" and "*/" are markers to show the extent of a comment
    in Actionscript. The way your code is written, the first section
    will be ignored and the second will be used. Other than that, I
    can't see a character that is different between the two.
    If you are specifying "
    http://www.edge-market.com/index.html"
    and getting something else, then, there is some additional code
    somewhere that is running instead of the code that you think is
    running.

  • I just switched from Outlook to Mail and now the sent messages are not being displayed.  Help, please.

    I just switched from Outlook to Mail and now the sent messages are not being displayed.  Help, please.

    Back up all data. Rebuild the mailbox.

  • I have cables hooked to my MacBook and HGTV, but can't get tv to display.  Help!

    I have cables hooked to my MacBook and HGTV, but can't get tv to display.  Help!

    Are you using a Mini DisplayPort or a Mini-DVI adapter on your MacBook? What input are you using on the TV, VGA, DVI, Composite, Component or HDMI?
    Also it would help to know which one of the 21 different models of MacBook you have. To see which model you have go to the Apple in the upper left corner and select About This Mac, then click on More Info. When System Profiler comes up check the Model Identifier.
    And the make and model of your TV.

  • When inserting a .pdf of a document with a standard white paper color the test and images show up, but the white background is transparent. How do you also make the white paper color show up?

    When inserting a .pdf of a document into a Keynote template with a standard white paper color the text and images show up, but the white background is transparent. How do you also make the white paper color show up?

    Use the color fill option - select the inserted .pdf and assign a fill color of white to it using the Color Fill Menu on the Toolbar or the Color Picker Palette.
    Good Luck.

  • Make List background color transparent

    hello all,
    i want to make my list background color transparent.
    this is my code:-
    import mx.styles.CSSStyleDeclaration;
    _global.styles.List = new CSSStyleDeclaration();
    _global.styles.List.setStyle("backgroundColor",
    "transparent")
    it is working fine but after using this code listbox
    selection listener stop working.Is there any other way to make list
    background transparent?
    thanks in advance

    I was having the same problem with a Tree Component. Just
    yesterday I found some code to let me do this. Where
    tabs.menuContent is the path to my Tree, or your List
    var mc = tabs.menuContent;
    _global.styles.ScrollSelectList.backgroundColor = undefined;
    mx.controls.listclasses.SelectableRow.prototype.drawRowFill
    = function(mc:MovieClip, newClr:Number):Void {
    mc.clear();
    if (newClr == undefined) {
    mc.beginFill(0xABCDEF, 0);
    } else {
    mc.beginFill(newClr);
    mc.drawRect(1, 0, this.__width, this.__height);
    mc.endFill();
    mc._width = this.__width;
    mc._height = this.__height;
    tabs.menuContent.border_mc._alpha = 0;

  • Textarea ...  background-color:transparent   causing problem in IE7

    hello;
    when I use <textarea style="background-color:transparent " > IE7 does not accept input ... other browsers work fine;
    is there a way to get a transparent background for a textarea such that the textarea functions correctly in IE7 ( I haven't tested it in IE8 )?
    thanks,
    Shannon

    What happens if you remove the background tag altogether?
    I do this with my overflow css for text boxes and it leaves them transparent (as in: showing the page background) in Firefox, Safari Opera and IE 5, 6, 7 and 8.

  • MM03 Material master display F4 help is not available

    Dear All..
                    For one particular user MM03 Material master display F4 help is not available
    even i have press the push button on material text the help is not popup.
    Even authorization already exist  for that user material master display.
    Please give your suggestion on this.
    Regards
    Anand.

    HI Anand,
    I am going to assume that the problem is with F4 help in general, and not just with MM03.
    If you have only one user with the problem, then the best way to troubleshoot is to compare with another user who is not having the same problem (like yourself).
    First check Help settings for the user:  From any screen, select Help>Settings  select F4 tab.  Review the settings. Look for differences.  Make corrections.  Save.
    If you can find nothing amiss, then the GUI is probably the culprit.  Check to see if this user is on the same version and patch as the 'successful' users.  From SAPLOGON, select the tiny SAP icon from the blue bar, then select 'About SAP logon'.  Alternately, you can right clik on the SAPLOGON on the Windows taskbar and select 'About SAP Logon'. 
    There are known problems of bad interactions between certain Microsoft Software and certain patches of SAPGUI.  If any problems, download the latest GUI version and patch from SAP software distribution Center
    http://service.sap.com/swdc
    Select Download>Support packages and Patches>Entry by Application group
    Select SAP frontend components.
    Select the appropriate platform, then download the version that you need.
    If the user is on the same vers & patch as you, and you can't find any other problem, might be a good idea to reinstall the SAPGUI.
    Regards,
    DB49

Maybe you are looking for

  • Sales order document with reference to Contract

    Hi Sap gurus, I have question pertaining to sales order with refrence to contract documents, I have created 2-3 contract documents, and with reference to these contracts i am creating a sales order, while i am creating the sales order i am supposed t

  • Asset under construction

    Hi Guru,            I want to know about how the internal order is the linked to asset under construction?

  • Change page order in pages

    I have a document in Page Thumb Nails veiw. I want to be able to 'select' a page and move it to a different place in the sequence of pages. When I try and highlight the individual page, Pages selects all the pages. Can I / how do I select only one pa

  • OBYC FI-MM configuration settings

    Hi All Experts, I was working on support project, fortunately I am getting chance to work on Implementation project. I have a little bit of idea about FI-MM intergtation furnctioanlity. Would like to have experts guidance about technically. The confi

  • WD ABAP scroll bars and buttons don't appear

    If I test a transaction and the control or scroll bars don't appear when I test the service via SICF, how can I modifiy it to ensure the controls appear in SAPGUI versus webgui? Thanks Mikie