1.  
  2. var meeboWidget = new VerticalTabComponent();
  3. meeboWidget.setStyleProperty("left", "470px");
  4. meeboWidget.setStyleProperty("top", "10px");
  5. meeboWidget.setStyleProperty("backgroundColor", "#efefef");
  6. meeboWidget.setBackgroundColor("#efefef");
  7. meeboWidget.selectTab(1);
  8.  
  9. var grabber = meeboWidget.getGrabber();
  10. grabber.setUri("./meeboGrabber.gif");
  11. var grabberLabel = meeboWidget.getGrabberLabel();
  12. grabberLabel.setStyleProperty("color", "#ffffff");
  13.  
  14. var closeButton = new BiButton();
  15. closeButton.setStyleProperty("backgroundImage", "url(./meeboClose.gif)");
  16. closeButton.setStyleProperty("backgroundRepeat", "no-repeat");
  17. closeButton.setStyleProperty("border", "0");
  18. closeButton.setStyleProperty("backgroundColor", "#efefef");
  19. closeButton.setSize(72, 25);
  20. meeboWidget.setCloseButton(closeButton);
  21.  
  22. var closeLabel = meeboWidget.getCloseLabel();
  23. closeLabel.setLocation(0,0);
  24. closeLabel.setStyleProperty("marginTop", "3px");
  25.  
  26. var closeImage = meeboWidget.getCloseImage();
  27. closeImage.setStyleProperty("display", "none");
  28. win.add(meeboWidget);
  29.  
  30.