Datagrid Drop Down Item renderer Scroll Problem

Hi,
I am having a problem with an drop down item renderer on a Datagrid.  When ever the datagrid is displayed and the cell is clicked on i want this to display a drop down list of objects.  I can get the drop down to appear with the list of objects.  H
 owever the scrollbar does not work on this item to allow the user to scroll through all the objects.  If you use the mouse wheel you can scroll down through them all but not when you try and click on the scroll bar to drag down.  Below is the code used.  Any advice why this might be happening?? 
<mx:DataGridColumn headerText="Widget"
dataField="WidgetName"
editable="true"  headerWordWrap="false" textAlign="center" width="100"
editorDataField="Widget">
<mx:itemEditor>
<fx:Component>
<s:MXDataGridItemRenderer focusEnabled="true" height="22" >
<fx:Script>
<![CDATA[               
import mx.events.FlexEvent;
import spark.events.IndexChangeEvent;
private var selectedWidget:Widget = null;
public function get ccyPair():String {
return  ddlCcyPairs.selectedItem.Widget;
override protected function commitProperties():void {
super.commitProperties();                
trace("Commit .......");
protected function ddlCcyPairs_changeHandler(event:IndexChangeEvent):void {
for each(var ccyP:CurrencyPair in ddlCcyPairs.dataProvider) {
if (ccyP.ccyPair == ddlCcyPairs.selectedItem.ccyPair) {
selectedWidget = ccyP;
ddlCcyPairs.selectedItem = selectedWidget;
protected function ddlCcyPairs_creationCompleteHandler(event:FlexEvent):void {                 
for each(var ccyP:CurrencyPair in ddlCcyPairs.dataProvider) {
if (ccyP.ccyPair ==  data.ccyPairName) {
selectedWidget = ccyP;
ddlCcyPairs.selectedItem = selectedWidget;
]]>
</fx:Script>
<s:DropDownList id="ddlWidgets" width="100%"
dataProvider="{parentApplication.Widgets}"
labelField="name"              
selectedItem="selectedWidget"
creationComplete="ddlWidgets_creationCompleteHandler(event)"
change="ddlWidgets_changeHandler(event)"/>
</s:MXDataGridItemRenderer>
</fx:Component>
</mx:itemEditor>
</mx:DataGridColumn>

Hi, Post a test code.... It will be a lot easier to help you Mich

Similar Messages

  • When to use Drop In Item renderer and InLine Item Renderers ??

    Hi ,
    I am getting confused in where to use Inline ItemRenderer and DropIn Item Renderer .
    What i feel is that DROP in Item Renderer are easy to use , and those can satisfy any requirements .
    What i read from tutorilas that we cant use Drop In because they say ,  The only drawback to using  drop in is that them is that you cannot configure them
    Please help me .

    Hi Kiran,
    Here is the detailed explanation you needed:
    You can also refer the link below:
    http://blog.flexdevelopers.com/2009/02/flex-basics-item-renderers.html
    Drop-In Item Renderers
    Drop-In Item Renderers are generic in nature and don't rely on specific data fields to render data. This allows them to be used with a wide range of data sets, hence, the term “drop-in”. Drop-In Item Renderers can be “dropped-in” to any list-based control regardless of the dataprovider’s data properties.
    In our previous example, the employee photo property requires use of a custom Item Renderer to render properly in the UI. In this scenario the Image component satisfies our rendering needs out of the box. Implemented as a Drop-In Item Renderer, the Image component takes any data property regardless of name and uses it as the Image component's source property value. Assuming our employee photo property contains a valid image path, the Image Drop-In Item Renderer will work perfectly and resolve the image path as an image in the UI.
    <!-- Drop-in Item Renderer: Image control -->
    <mx:DataGridColumn dataField="photo"
                       headerText="Employee Photo"
                       itemRenderer="mx.controls.Image"/>
    Drop-In Item Renderers are simple and easy to use and satisfy specific use cases nicely. However, they provide no flexibility whatsoever. If your needs are not satisfied by a Drop-In Item Renderer, you must create your own Item Renderer as an inline component or an external component.
    Inline Item Renderers
    Generally used for simple item rendering requiring minimal customization, inline Item Renderers are defined as a component nested within the MXML of your list-based control.
    It is important to note that Item Renderers nested within the itemrender property of a list-based control occupy a different scope than the list-based control. Any attempt to reference members (properties or methods) of the parent component from the nested Item Renderer component will result in a compile-time error. However, references to the members of the parent component can be achieved by utilizing the outerDocument object.
    <mx:DataGrid id="myGrid" dataProvider="{gridData}">
       <mx:columns>
          <mx:DataGridColumn headerText="Show Relevance">
             <mx:itemRenderer>
                <mx:Component>
                   <mx:Image source="{'assets/images/indicator_' + data.showRelevance + '.png'}"
                             toolTip="{(data.showRelevance == 1) ? 'On' : 'Off'}"
                             click="outerDocument.toggle()" />
                </mx:Component>
             </mx:itemRenderer>
          </mx:DataGridColumn>
       </mx:columns>
    </mx:DataGrid>
    Remember, rules of encapsulation still apply. Mark all properties or methods public if you want them accessible by your inline Item Renderer. In the previous example, the toggle() method must have a public access modifier to expose itself to the inline Item Renderer.
    public function toggle():void
    Inline Item Renderers can also be reusable by creating a named component instance outside of the list-based control. This component must have an id property and contain the rendering logic of the Item Renderer. Using data bindings, the component is assigned to the itemrenderer property of one or more data properties of a list-based control.
    <!-- Reusable inline Item Renderer -->
    <mx:Component id="ImageRenderer">
       <mx:VBox width="100%" height="140"
                horizontalAlign="center" verticalAlign="middle">
          <mx:Image source="{'assets/'+data.image}"/>
          <mx:Label text="{data.image}" />
       </mx:VBox>
    </mx:Component>
    <!-- Used within a list-based control-->
    <mx:DataGridColumn headerText="Image"
                       dataField="image" width="150"
                       itemRenderer="{ImageRenderer}"/>
    In the previous example, note that the Item Renderer component contains 2 UI controls – Image and Label. When using multiple controls within an Item Renderer, a layout container is required. In this example, a VBox was used.
    If this post answers your question or helps, please kindly mark it as such.
    Thanks,
    Bhasker Chari
    Message was edited by: BhaskerChari

  • Long Drop Down Menu not scrolling to bottom

    Apparently, this is not consistent across all installs. Some people claim it is working fine. However, on this page - http://hillwilliam.com - there is a long drop down menu under Manufacturers. On my MacBook Air, the drop down does not scroll to bottom. Works on iPad. I have turned extensions off, deleted internet plug-ins to no avail. This video shows it working as it should  - https://woothemes.viewscreencasts.com/embed/2a5107f6fe20426b86eb6100f1416e9b - why does it not work on my install of the latest and greatest? Need consistency here for all users. TIA

    there is a long drop down menu under Manufacturers. On my MacBook Air, the drop down does not scroll to bottom
    Same thing happening here on an iMac ...
    FYI ...  iOS = iPad   OS X = OS X. Two different operating systems so you may see an inconsistency in one but not the other for drop down menus.

  • STUCK--assigning prices to drop down items?

    I'm using v7 Professional & Designer... I'm fine with calculations on my form,per one of the tutorials, but what I'm having trouble unraveling is how to have the appropriate value (in this case, a print's price) appear on my form when the viewer selects a specific drop down item. Can anyone point me to a tutorial/thread that can show me how to get specific prices assigned to each drop down item, and getting them to carry over into fields included in a calculation?
    Any help at all would be greatly appreciated!

    There is an example that comes with Designer that located at:
    C:\Program Files\Adobe\Designer 7\EN\Samples\Purchase Order\Dynamic Interactive\Forms\Purchase Order.pdf
    Check out this example to see if that is something that you are looking for.

  • Datagrid and Inline Item renderer problem

    I have a datgrid with two inline item renderers. The dataprovider for my DG is a nested object (objects within objects within objects i.e 3-layered).
    Main Object - 1st Level
                              |
                  2nd Level Object 1
                                    |
                                3rd level object '1' => ('name'=>somename,'id'=>someid)
                                3rd level object '2'
                                3rd level object 'n'
                 2nd Level Object 2
                                    |
                                3rd level object '1' => ('name'=>somename,'id'=>someid)
                                3rd level object '2'
                                3rd level object 'n'
    I use 2 item renderers (one for each datagrid column) which loops thro the 2nd level object1 and 2 respectively (the 2nd level object is a dynamic array of objects, in that the number of objects within keep changing).
    Within the item renderer I loop thro the 2nd level object using a foreach and then display the data. The data is a linkbutton, which when clicked , calls a remote object function to delete the data from the database
    now on the result event of the remote object function call, i call the function to repopulate the DG, so that the updated data is displayed.
    When i click on the linkbutton in the first row, the backend works perfectly fine (the data gets deleted from the database and the refreshed data is sent back), but for some reason, the deleted data suddenly appears in the 2nd row.
    When i delete it from the second row, it appears on the 3rd row (nothing happens in the backend since the data is already deleted).. and so on, till it appears on the last row and then the DG looks exactly the way it shld have looked after the first delete.
    This is just the beginning. The second item renderer also displays a linkbutton, which when clicked, displays that data in the previous column (the one where this data can be deleted). When i click on 1st row, the data gets added in the previous column of the second row .. and so on..
    Basically, my DG is acting really weird. I overrided the set data function in the item renderer to refrsh the data and called its invalidateDisplayList. I also call the Datagrid's invalidateDisplayList function after each refresh.  The behavior remains the same.
    Please help me on this ...

    Hi, Post a test code.... It will be a lot easier to help you Mich

  • Datgrid and Item Renderer scrollling problem

    Hello,
    I have a Datgrid containign item rendrer as follows :
    <mx:DataGrid  width="800" id="gridSecondaire" styleName="dataGridStyle" verticalScrollPolicy="off" headerHeight="30" >
              <mx:columns>
                   <mx:DataGridColumn rendererIsEditor="true" 
                                              editorDataField="result"
                                              itemRenderer="com.cdf.intra_cmmi.view.advancedTree.BodyDetailDocumentRenderer" />
              </mx:columns>
         </mx:DataGrid>
    The problem is I when i scroll the datagrid the  rows do not stay in the same position how to solve this please ?

    Here the item Renderer
    ===================ITEM RENDRER==========================
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" height="28" width="388" creationComplete="init(event)"  click="clickTexte(event);">
        <mx:Script>
        <![CDATA[
            [Embed(source="images/icon/tree_defaultLeafIcon.png")]
            public static const tree_defaultLeafIcon:Class;
            [Embed(source="images/icon/tree_pptLeafIcon.png")]
            public static const tree_pptLeafIcon:Class;
            [Embed(source="images/icon/tree_xlsLeafIcon.png")]
            public static const tree_xlsLeafIcon:Class;
            [Embed(source="images/icon/anglais.png")]
            private var anglaisIcon:Class;
            import com.sqli.intra_cmmi.constants.ConstantAssets;
            private function clickTexte(event:MouseEvent):void {
                    var fileReference:FileReference = new FileReference();
                    fileReference.download(new URLRequest(data.chemin_document));
            private function init(event:Event):void {
                import com.sqli.intra_cmmi.vo.DocumentVO;
                import mx.controls.Alert;
                import mx.collections.ArrayCollection;
                    var nom_document:String =data.nom_document as String;
                    var description_document:String = data.description_document as String;
                    var language_document:String =data.language_document as String;
                    var ext:String = data.ext as String;
                    var type:String = data.type_document as String;
                    var chemin_document:String = data.chemin_document as String;
                    switch (type)
                            case "Modèle":
                                imageTypeDoc.source = ConstantAssets.modele;
                                break;
                            case "Guide":
                                imageTypeDoc.source = ConstantAssets.guide;
                                break;
                            case "Document":
                                imageTypeDoc.source = ConstantAssets.document;
                                break;
                            case "Outils":
                                imageTypeDoc.source = ConstantAssets.outils;
                                break;
                            case "Check-liste":
                                imageTypeDoc.source = ConstantAssets.checklist;
                                break;
                            default:
                                imageTypeDoc.source = ConstantAssets.document;
                    nom.text=nom_document+' ('+ext+')';
                    if(language_document!='1036'){
                        imageAnglais.source=anglaisIcon;
                    if(description_document!=""){
                        imageDescription.source=anglaisIcon;
        ]]>
    </mx:Script>
        <mx:Image id="imageTypeDoc" x="5" y="5" height="15" width="15"   />
        <mx:Text x="23" y="3" width="326" id="nom"/>
        <mx:Image x="351" y="5" height="15" width="15" id="imageAnglais"/>
        <mx:Image x="370" y="5" height="15" width="15" id="imageDescription"/>
    </mx:Canvas>
    ======================Main.MXLM  (Blue Code part) ===============================
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml"
        width="830"  creationComplete="init()">
        <mx:Script>
            <![CDATA[
                import com.sqli.intra_cmmi.services.MainService;
                import mx.rpc.events.FaultEvent;
                import mx.rpc.events.ResultEvent;
                import com.sqli.intra_cmmi.controller.ProduitController;
                import com.sqli.intra_cmmi.services.VerticalMenuService;
                //import com.sqli.intra_cmmi.services.MainService;
                import com.sqli.intra_cmmi.vo.ProduitVO;
                import mx.controls.Alert;
                public var objectList : Array = new Array();
                public function init():void
                    myProc.listeDomaineProcessus();
                    if(VerticalMenuService.getInstance().produitVerticalMenu.getChildren().length > 0)
                        // On positionne l'accordion des produits sous l'accordion commun
                        VerticalMenuService.getInstance().produitVerticalMenu.y = VerticalMenuService.getInstance().verticalMenu.height - 49;
                        MainService.getInstance().lefter.addChild(VerticalMenuService.getInstance().produitVertic alMenu);
                    var id:String;
                    id=ProduitController.getInstance().currentProduitId;
                    if(id!=null)
                        myProd.getProduitDescription(id);
                        myProd.getDocumentPrincipauxByProduit(id,1);
                        myProd.getDocumentSecondaireByProduit(id,0);
                        myProd.getRolesProduit(id);
                        myProd.getAjustementProduitByID(id);
                private function getDataListener_listeDomaineProcessus(event:ResultEvent):void
                    //refPhase= new ArrayCollection();
                    this.objectList = event.result as Array;
                    // Peupler l'accordion
                    ProduitController.getInstance().populateVerticalMenu(this.objectList);
                private function getDataListener_getDocumentSecondaireByProduit(event:ResultEvent):void
                    var obje:Array = event.result as Array;
                    if(obje.length>0)
                        gridSecondaire.dataProvider = event.result as Array;
                        gridSecondaire.rowHeight = 33;                   
                        gridSecondaire.height = obje.length*33+30;
                        var maximumHeight : int = 228;
                        if ( gridSecondaire.height > maximumHeight){
                          gridSecondaire.verticalScrollPolicy = "on";
                          gridSecondaire.height = maximumHeight;                   
                    else
                        gridSecondaire.visible=false;
                        gridSecondaire.includeInLayout=false;
                override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
                    super.updateDisplayList(unscaledWidth, unscaledHeight);
                    // Peupler l'accordion (rafraichissement lors du passage d'une rubrique à une autre)
                    ProduitController.getInstance().populateVerticalMenu(this.objectList);
                private function getDataListener_getProduitDescription(event:ResultEvent):void{
                        description.title=ProduitVO(event.result).nom_produit;
                        idPanelDescription.htmlText=ProduitVO(event.result).description_produit;
                private function faultListener(event:FaultEvent):void {
                        Alert.show(event.fault.message, "Error");
            ]]>
        </mx:Script>
        <mx:VBox verticalGap="20"  horizontalCenter="0" top="10" bottom="10">       
        <mx:Panel width="800" height="121" id="description"  styleName="stylePanel"  >
            <mx:Label paddingLeft="5"  paddingRight="5" paddingTop="40"  width="100%" id="idPanelDescription"/>
        </mx:Panel>
       <mx:DataGrid  width="800" id="gridSecondaire" styleName="dataGridStyle" verticalScrollPolicy="off" headerHeight="30"  >
            <mx:columns>
                <mx:DataGridColumn rendererIsEditor="true"  editorDataField="result"
                 itemRenderer="com.sqli.intra_cmmi.view.advancedTree.BodyDetailDocumentRenderer"
                  headerText="Documents secondaires"/>
                <mx:DataGridColumn rendererIsEditor="true"  editorDataField="result" dataField="livrable_document" headerText="Livrables" width="100"/>    
            </mx:columns>
        </mx:DataGrid>
        </mx:VBox>
        <mx:RemoteObject id="myProc" destination="zend" source="ProcessusService" showBusyCursor="true" fault="faultListener(event)">
            <mx:method name="listeDomaineProcessus" result="getDataListener_listeDomaineProcessus(event);" />
        </mx:RemoteObject>
        <mx:RemoteObject id="myProd" destination="zend" source="ProduitsService" showBusyCursor="true" fault="faultListener(event)">
            <mx:method name="getRolesProduit" result="getDataListener_getRolesProduit(event);" />
            <mx:method name="getDocumentPrincipauxByProduit" result="getDataListener_getDocumentPrincipauxByProduit(event);" />
            <mx:method name="getDocumentSecondaireByProduit" result="getDataListener_getDocumentSecondaireByProduit(event);" />
            <mx:method name="getAjustementProduitByID" result="getDataListener_getAjustementProduit(event);" />
            <mx:method name="getProduitDescription" result="getDataListener_getProduitDescription(event);" />
        </mx:RemoteObject>
    </mx:Canvas>

  • AppleScript help please: Final Cut Pro / selecting drop down items

    Hi,
    I am wondering if anyone can help guide me wih a spot of AppleScript?
    I'm new to it as of tonight (last time I made a script was 11 years ago, and that was a very basic one!).
    Basically, my problem is I have a long term bug in Final Cut Pro which causes it to crash on launch everytime, unless I delete the Preferences file first.
    (btw This problem exsisted in Snow Leopard and has continued with Lion. I think it is plug-in related, but I've never figured out which or why, and have had a topic ongoing on here int he FCP forum for some time with no luck).
    Anyway, so far I have made a script which trashed the preferences and launches the program, like this:
    try
              do shell script "rm /Users/redhavoc/Library/Preferences/Final\\ Cut\\ Pro\\ User\\ Data/Final\\ Cut\\ Pro\\ 7.0\\ Prefs.fcset "
    end try
    delay 1
    tell application "Final Cut Pro" to activate
    So far, so good.
    However, what I would REALLY like to do, is continue this script to reset all the preferences automatically!
    When launching FCP (as the preferences are gone) this is the first thing that comes up:
    So, my question is:
    How can I choose which items I want selected from the drop down boxes with my AppleScript?
    (Specifically, option 7 in the "Format" drop down, and option 3 in the "Rate" drop down, then more complexly, choosing which folder I want in the "Primary Scratch Disk" drop down (which opens an "Open" dialogue) ).
    Thanks in advance!

    Ok, so I've worked out what the drop down boxes are called by digging through the package plist and strings files.
    So now I have:
    try
              do shell script "rm /Users/redhavoc/Library/Preferences/Final\\ Cut\\ Pro\\ User\\ Data/Final\\ Cut\\ Pro\\ 7.0\\ Prefs.fcset "
    end try
    delay 1
    tell application "Final Cut Pro" to activate
    tell application "System Events"
              tell process "Final Cut Pro"
      activate
                        tell combo box "formats" of window "firstStart"
      click button 1
                                  repeat 6 times
      keystroke (ASCII character 31)
                                  end repeat
      keystroke return
                        end tell
              end tell
    end tell
    But the error now returned is:
    System Events got an error: Can’t get window "firstStart" of process "Final Cut Pro".
    So I changed that line to:
    tell combo box "formats" of front window
    But now the error says:
    System Events got an error: Can’t get window 1 of process "Final Cut Pro". Invalid index.
    Hmmmm.... am I getting any closer??

  • Losing drop-down items

    I'm dynamically populating a drop-down with the current year and the previous three years. When I first render the form in HTML the drop-down is populated correctly. When I go to the second page and then back to the first page the drop-down menu is blank and has no items to choose. Does anyone know what is causing this to happen?
    Thanks in advance.
    Dennis

    Thank you for your response, but I don't want to learn PHP at
    this time,
    just need to know if this behavior is a bug or I am doing
    something wrong,
    and if so, what?
    ".: Nadia :. *ACE*"
    <[email protected]> wrote in
    message news:e20649$od3$[email protected]..
    > Before goig any further with those menus, please have a
    read of these 2
    > articles:
    >
    http://apptools.com/rants/jsmenu.php
    >
    http://apptools.com/rants/menus.php
    >
    > You can learn how to build them yourself, rather than
    relying on the
    > FWs/DW menus, so that your dropdowns don't suffer from
    the problems
    > mentioned in the articles above.
    >
    >
    > --
    > Nadia
    > Adobe� Community Expert : Dreamweaver
    > --------------------------------------------
    >
    http://www.csstemplates.com.au
    - CSS Templates | Free Templates
    > --------------------------------------------
    >
    http://www.DreamweaverResources.com
    - Dropdown Menu Templates|Tutorials
    >
    http://www.macromedia.com/devnet/dreamweaver/css.html
    - CSS Tutorials
    > -------------------------------------------------
    >
    >
    > "Claudette Hennessy" <[email protected]> wrote
    in message
    > news:e2014j$iqc$[email protected]..
    >> Newbie at this..I created the buttons and drop down
    menus in Fireworks
    >> and exported them to the Dreamweaver MX 2004
    document OK. However if I
    >> edit the button from Dreamweaver, make the change
    and click Done to
    >> return to Dreamweaver(the File>Export is grayed
    out) , the menu is no
    >> longer there when I click on the show menu behavior.
    What am I doing
    >> wrong?
    >>
    >
    >

  • DataGrid Using an item renderer that spans an entire row

    Anyone know how can I do this using DataGrid?

    I dont understand how Can I do it. Below I have a source code that I'm working with this case. I have 2 columns and I would like when i click in combobox my item renderer fill all rows.
    Look I have this code (Main Application and Renderer):
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:fx="http://ns.adobe.com/mxml/2009"
         xmlns:s="library://ns.adobe.com/flex/spark"
         xmlns:mx="library://ns.adobe.com/flex/halo">
         <mx:transitions>
              <mx:Transition fromState="*" toState="*">
                   <mx:Resize target="{this}"/>
              </mx:Transition>
         </mx:transitions>
         <mx:states>
              <mx:State name="normal"/>
              <mx:State name="expanded"/>
         </mx:states>
         <fx:Script>
         <![CDATA[
              import mx.collections.ArrayCollection;
              [Bindable]
              public var ac:ArrayCollection;
              private function changeState(event:Event) : void {
                   if( event.target.selected )
                        currentState = "expanded";
                   else
                        currentState = "normal";
              override public function set data(value:Object) : void {
                   super.data = value;
                   ac = new ArrayCollection(value.models);
         ]]>
         </fx:Script>
         <mx:CheckBox label="{data.title}" click="changeState(event)"/>
         <mx:List dataProvider="{ac}" y="20" width="100%" includeIn="expanded"/>
    </mx:Canvas>
    <s:Application
         xmlns:fx="http://ns.adobe.com/mxml/2009"   
         xmlns:mx="library://ns.adobe.com/flex/halo"    
         xmlns:s="library://ns.adobe.com/flex/spark"
         xmlns:ct="*"
         height="100%" width="100%">
         <fx:Script>
         <![CDATA[
              import mx.collections.ArrayCollection;
              [Bindable]
              public var dp:ArrayCollection = new ArrayCollection([
              {title:"Ford", style: 'Modern', models:["Fusion","Taurus","Mustang"]},
                   {title:"Volkswagen",  style: 'Normal', models:["Passat","Jetta","Beetle", "Golf", "GTI"]},
                   {title:"Infiniti", style: 'Modern', models:["FX35","GX35","Q45","M35"]},
                   {title:"Audi",  style: 'Esport', models:["A3","A4","A6"]}
         ]]>
         </fx:Script>   
         <mx:DataGrid dataProvider="{dp}" variableRowHeight="true" height="100%" width="100%">
              <mx:columns>
                   <mx:DataGridColumn dataField="title" headerText="title" itemRenderer="DetailItem"/>
                   <mx:DataGridColumn dataField="style" headerText="style" />
              </mx:columns>
         </mx:DataGrid>
    </s:Application>

  • How to colour drop-down items in enumertor control

    Hi. I know how to modify the controls by customizing  capabilities.
    However, when it comes to enumerator control, I can only change the colour of the top item.
    But I cannot change the colour of the drop-down list of tems in enumerator control.
    Anyone ever done this before?
    Message Edited by astroboy on 11-23-2005 03:33 AM

    Hi
    you can do it programatically
    take a property node of the enum and use named numeric colors properties.
    Tushar Jambhekar
    [email protected]
    Jambhekar Automation Solutions
    LabVIEW Consultancy, LabVIEW Training
    Rent a LabVIEW Developer, My Blog

  • Drop Down Lists, and other Problems after upgrade

    Noticed the problem on http://www.autotrader.com/cars-for-sale/?expandAllOptions=true&Log=0
    Drop down lists do not respond they way they did last week - before 36.0.1 upgrade.
    Choose a brand, and then you are supposed to be able to select from a list of models. Not happening.
    I have several of the privacy add-ons (see below) but they have not changed with the upgrade (unless they too were upgraded automatically.)
    FF is becoming less and less of a joy to use as the years go by.

    Note that your System Details list shows that you have a user.js file in the profile folder to initialize prefs each time Firefox starts.
    The user.js file is only present if you or other software has created this file and normally it wouldn't be there.
    You can check its content with a plain text editor (right-click: "Open with"; do not double-click).
    The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.
    You can delete the user.js file if you didn't create this file yourself.
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Windows hides some file extensions by default.
    Among them are .html and .ini and .js and .txt, so you may only see file name without file extension.
    You can see the real file type (file extension) in the properties of the file via the right-click context menu in Windows Explorer.
    See also:
    *http://kb.mozillazine.org/Preferences_not_saved

  • Applescript Programming - on drop-down item

    I just started learning Applescript programming. I need to write an Applescript program to enable the drop-down of the menu and clicking one of the item in the drop-down.
    Example of the drop-down menu: http://javascript-array.com/scripts/...op_down_menu/#
    For example, I need to click the DHTML menu in Home. (Applescript to let Home auto drop-down and Auto click on DHTML)
    Please guide me on how should i write this program.

    Thank for the help i think you have give me a direction on where i should work on. Another thing to check is that is this the correct way to activate the "do javascript" function
    tell application "Safari" to activate
    tell application "System Events"
              tell process "Safari"
              do JavaScript "(PLACE JAVASCRIPT HERE)" in window 1
              end tell
    end tell

  • Drag and Drop in Item Renderer

    I created an item renderer for use in a TileList. This item
    renderer shows a thumbnail, name, and a few buttons. I want to
    enable drag but only for the image. I know it is easy to enable
    drag for Tile List items as a whole, but how do I do that for just
    part of an item, which was rendered using my custom item renderer?
    Thanks for any help!

    Have you tried to turn off drag for TileList and enable it
    only for the thumbnail? It should work.
    ATTA

  • MenuStrip drop down items becomes invisible after assigning different rendering context to Form

    Dear All,
    I face a very weird problem with menustrip dropdown items. I use openscenegraph to perform the OpenGL based rendering in windows application. I use VS2012 CLR project with Form in it, to assign
    the rendering context to the window form I use the following code snippet, with that code everything renders but the dropdown items of menustrip are getting masqueraded by the rendering context, please see the image below I can only see the shadows of dropdown
    item border. What is the solution to that?
    HWND hwnd = (HWND) this->Handle.ToPointer(); //panel1->Handle.ToPointer();
    osgViewer::Viewer viewer;
    osg::MatrixTransform* rootnode = new osg::MatrixTransform;
    rootnode->setMatrix(osg::Matrix::rotate(osg::inDegrees(30.0f),1.0f,0.0f,0.0f));
    osg::ref_ptr<osg::Geode> geode = new osg::Geode;
    geode->addDrawable(new osg::ShapeDrawable(new osg::Box(osg::Vec3(-2.0f,0.0f,0.0f), 1.0f)) );
    rootnode->addChild(geode);
    // set the scene to render
    viewer.setSceneData(rootnode);
    viewer.setCameraManipulator(new osgGA::TrackballManipulator());
    osg::ref_ptr<osg::GraphicsContext::Traits> traits = new osg::GraphicsContext::Traits();
    traits->inheritedWindowData = new osgViewer::GraphicsWindowWin32::WindowData( hwnd );
    traits->doubleBuffer = true;
    traits->windowDecoration = false;
    traits->sharedContext = NULL;
    traits->supportsResize = true;
    RECT rect;
    ::GetWindowRect( hwnd, &rect );
    traits->x = 0;
    traits->y = 50;
    traits->width = rect.right - rect.left;
    traits->height = rect.bottom - rect.top;
    osg::ref_ptr<osg::GraphicsContext> gc = osg::GraphicsContext::createGraphicsContext( traits.get() );
    viewer.getCamera()->setGraphicsContext( gc.get() );
    viewer.getCamera()->setViewport( new osg::Viewport( 0, 0, traits->width, traits->height ) );
    viewer.getCamera()->setProjectionMatrixAsPerspective(30.0f, static_cast<double>(traits->width)/static_cast<double>(traits->height), 1.0f, 10000.0f);
    // normal viewer usage.
    viewer.run();

    Dear All,
    I face a very weird problem with menustrip dropdown items. I use openscenegraph to perform the OpenGL based rendering in windows application. I use VS2012 CLR project with Form in it, to assign
    the rendering context to the window form I use the following code snippet, with that code everything renders but the dropdown items of menustrip are getting masqueraded by the rendering context, please see the image below I can only see the shadows of dropdown
    item border. What is the solution to that?
    HWND hwnd = (HWND) this->Handle.ToPointer(); //panel1->Handle.ToPointer();
    osgViewer::Viewer viewer;
    osg::MatrixTransform* rootnode = new osg::MatrixTransform;
    rootnode->setMatrix(osg::Matrix::rotate(osg::inDegrees(30.0f),1.0f,0.0f,0.0f));
    osg::ref_ptr<osg::Geode> geode = new osg::Geode;
    geode->addDrawable(new osg::ShapeDrawable(new osg::Box(osg::Vec3(-2.0f,0.0f,0.0f), 1.0f)) );
    rootnode->addChild(geode);
    // set the scene to render
    viewer.setSceneData(rootnode);
    viewer.setCameraManipulator(new osgGA::TrackballManipulator());
    osg::ref_ptr<osg::GraphicsContext::Traits> traits = new osg::GraphicsContext::Traits();
    traits->inheritedWindowData = new osgViewer::GraphicsWindowWin32::WindowData( hwnd );
    traits->doubleBuffer = true;
    traits->windowDecoration = false;
    traits->sharedContext = NULL;
    traits->supportsResize = true;
    RECT rect;
    ::GetWindowRect( hwnd, &rect );
    traits->x = 0;
    traits->y = 50;
    traits->width = rect.right - rect.left;
    traits->height = rect.bottom - rect.top;
    osg::ref_ptr<osg::GraphicsContext> gc = osg::GraphicsContext::createGraphicsContext( traits.get() );
    viewer.getCamera()->setGraphicsContext( gc.get() );
    viewer.getCamera()->setViewport( new osg::Viewport( 0, 0, traits->width, traits->height ) );
    viewer.getCamera()->setProjectionMatrixAsPerspective(30.0f, static_cast<double>(traits->width)/static_cast<double>(traits->height), 1.0f, 10000.0f);
    // normal viewer usage.
    viewer.run();
    For my understanding, it may be mainly related to Rendering OpenGL.
    http://www.codeproject.com/Articles/1274/OpenGL-Win-AppWizard
    This sample seems ok, you'd better post this issue in the forum for OpenGL
    https://www.opengl.org/discussion_boards/.
    remember make the reply as answer and vote the reply as helpful if it helps.

  • I run Firefox 19.1 on Windows Vista system. Firefox has worked very well until the past two weeks-now access too fast to click on drop down menus&cannot scroll

    Same as question. Cannot scroll down Bookmarks, etc.

    Try to disable hardware acceleration in Firefox.
    *Tools > Options > Advanced > General > Browsing: "Use hardware acceleration when available"
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    *https://hacks.mozilla.org/2010/09/hardware-acceleration/
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode

Maybe you are looking for

  • CALL_FUNCTION_NOT_FOUND -- its Urgent

    Hi, I am trying to print a document (Packing List). I have created OUTPUT Type "ZPAK" and assigned the Form and Program to this output type, When I try to Print the document through VL02N, I get this Message in my SAP INBOX: 00 671: ABAP/4 Processor:

  • HT1725 trying to connect and getting host down check your connection and try again??

    trying to connect and getting host down check your connection and try again??

  • Changes in iWEB '08 are NOT making it to my published iWeb site

    Never had this issue with earlier versions. I run iWeb to make changes in pages that I have had up for months. iWeb says the changes are published. When I go here: http://web.mac.com/tyreeford/Site/Resume.html The changes are there. When I use Safari

  • Reading numbers into java

    Hi I've created a program that can take numbers in and tell me which one is the biggest and if it is prime. But I can only do this from using a textDataReader ( program that reads form a text file). But my teacher wants me to use System.in.read() cod

  • F4 and F3 (copy data)

    i have a tabular block. i want that F4 and F3 dont work in it. i mean the last row should not be copied if if press such function keys. how to do it?