Combo box works differently with UDO

Hi guys,
I have created a combo box on a UDO. I am trying to catch the event of when a value is selected in the combo box, but it is not working as it should. I have used the same code on a simple form and it works. It doesn't work on the UDO however. Here is my code:
I declare the combo box:
            oItem = oForm.Items.Add("CntDetails", SAPbouiCOM.BoFormItemTypes.it_COMBO_BOX);
            oItem.Left = 300;
            oItem.Width = 60;
            oItem.Top = 290;
            oItem.Height = 14;
            oItem.AffectsFormMode = true;
            oItem.FromPane = 1;
            oItem.ToPane = 1;
            oCombo = ((SAPbouiCOM.ComboBox)(oItem.Specific));
            oCombo.DataBind.SetBound(true, "@CENTRIX_OJEA", "U_CENTRIX_CntDetails");
            oCombo.ValidValues.Add("All", "All");
            oCombo.ValidValues.Add("None", "None");
            oCombo.ValidValues.Add("More", "More");
            oCombo.Select(0, SAPbouiCOM.BoSearchKey.psk_Index);
The in the ItemEvent part I use this code:
        if (pVal.ItemUID == "CntDetails" && pVal.EventType.Equals(SAPbouiCOM.BoEventTypes.et_COMBO_SELECT) && pVal.Before_Action == false)
            try
                Globals.SBO_Application.MessageBox("test", 1, "OK", "Cancel", "");
            catch
                Globals.SBO_Application.MessageBox("Error", 1, "OK", "Cancel", "");
Am I doing something wrong?
Thanks

Hi Costas,
Put a breakpoint in this line of code
if (pVal.ItemUID == "CntDetails" && pVal.EventType.Equals(SAPbouiCOM.BoEventTypes.et_COMBO_SELECT) && pVal.Before_Action == false)
See if it is reached.
Regards,
Vítor Vieira

Similar Messages

  • My charger just stopped working. The cord has no visible damage and the plug box works fine with other phone cords. I've had my phone

    My charger just stopped working. The cord has no visible damage and the plug box works fine with other phone cords. I've had my phone for less than four months now. Will Apple provide a new charger if theirs is faulty? I have not dropped it in water or anything. It was a normal day and I had 20% battery and I tried to charge my phone and it wouldn't charge. The charging pug box works fine with other phone USB cords so I know its something to do with the charging cord.

    Eklms wrote:
    My charger just stopped working. The cord has no visible damage and the plug box works fine with other phone cords. I've had my phone for less than four months now. Will Apple provide a new charger if theirs is faulty?
    Yes.
    Everything is included in the warranty.

  • Embed + compiler define works different with air 3.7+ comparing to 3.5

    Hello.
    I've noticed that new compiler works differently when using construct Embed with conditional compilation (comoiler define option).
    It looks like new compiler always embeds files in output swf even if Embed construct is used in dead code. Here is full example:
    package {
      import flash.display.MovieClip;
      public class Main extends MovieClip {
        CONFIG::FOO {
          [Embed(source="foo.mp3")]
          public static var MusicTrack: Class;
        CONFIG::BAR {
          [Embed(source="bar.mp3")]
          public static var MusicTrack: Class;
    I have 2 files: foo.mp3 (~2MB) and bar.mp3 (~2.3MB). I want to embed only one of them defining CONFIG::FOO as true and CONFIG::BAR as false.
    When I compile it using AIR 3.5 with following command I get (as expected) file with size ~2.0MB:
    /opt/adobe_sdks/flex_sdk_4.6_AIR_3.5/bin/mxmlc -compiler.source-path . -swf-version 14 -define=CONFIG::FOO,true -define=CONFIG::BAR,false -o Main.swf -- Main.as
    /private/tmp/bug/Main.swf (2030814 bytes)
    But when I use newer AIR sdk (I tried with 3.7, 3.8 and 4.0 beta) I'm getting file with size ~4.3MB.
    /opt/adobe_sdks/AIR_4.0/bin/mxmlc -compiler.source-path . -swf-version 14 -define=CONFIG::FOO,true -define=CONFIG::BAR,false -o Main.swf -- Main.as
    4328386 bytes written to /private/tmp/bug/Main.swf in 9,634 seconds
    Is it expected behaviour? Is there any chance that new compiler will work in this case the same as older one?

    Another difference I encountered is that using compiler definition directly in Embed construction doesn't work. Here is example:
    public class Assets {
      [Embed(source=CONFIG::MUSIC_MP3_PATH)]
      public static var MusicTrack: Class;
    Then I pass option to the compiler:
    -define=CONFIG::MUSIC_MP3_PATH,"'sfx/music.mp3'"
    With AIR 3.5 SDK it works fine. With AIR 3.7, 3.8 and 4.0 beta I'm getting file which is smaller in size (by mp3 file size) and when running I get error: TypeError: Error #1007: Instantiation attempted on a non-constructor. (when it tries to create new instance of MusicTrack).

  • SQL Script working differently with 8i and 9i

    Hi
    I am facing strange problem with my simple SQL script called from a shell script. It bahaves differently with ORACLE 8.1.7.4 and 9.2.0.1. The machine is same.
    sqlplus -s / @Tech.sql WKC625 11 11 '11 22' ""
    This is working with 9i but it does't work with ORACLE 8.
    Actually what happens is that the argument in single quotes (') is taken as 2 separate argument.
    The Tech.sql is :
    spool add
    insert into TECH values ('&1','&2','&3','&4','&5','');
    commit;
    quit
    I tried putting double quotes also. Is something got changes between ORACLE 8 and 9i.
    Please help
    Surendra

    Are you sure it works in 9?
    If you are using UNIX, then the O/S will strip the quotes while processing the arguments. You need to use 2 single quotes around 11 22, just as you have around the empty string at the end.
    I believe that Windows does the same, but I do not use windows.
    John

  • Why does final keyword work differently with collection

    I have tried final on StringBuffer but when i changed the value of StringBuffer object its throws a compile time error but when i did same thing with vector it work perfectly fine.
    any one knows the reason? please send me in details.
    final Vector v = new Vector();
    v.add("String1");
    v.add("String2");
    final StringBuffer sb  = new StringBuffer();
    sb = sb.append("xyz");

    Because you haven't understood the keyword final. when you make a reference final you may not change the object to which it points to.
    final StringBuffer sb  = new StringBuffer();This is valid because this is the first time you instatiate sb
    sb = sb.append("xyz");this is invalid because you are trying to assign a new object to a reference that may only be assigned to once.
    Compare
    final int testInt = 1;
    testInt = 2; //errorthe vector works because you do not assign vector reference v a new Vector object

  • SWF Verification works differently with FAXS vs FMS

    Here's the setup: loader.swf loads up player.swf and player.swf then connects to the server to play the stream. In FMS-based SWF Verification, it'
    s the player.swf that gets verified.  However, if we change the above scenario where the player.swf obtains the license from FAXS and the license server sends a list of valid SWF hashes, it appears that verification is done on the loader.swf. That looks like a bug. Any suggestions ?
    Eli

    In FMS-based SWF verification, player.swf would be present on the FMS server, in order to perform the SWF verification.
    In Flash Access-based SWF verification, the Flash Access license specifies the SWF hash of the authorized SWF (loader.swf in this example). In order to play the content, the client will verify that the hash of the current SWF matches the SWF hash specified in the license. There are two ways to set the SWF whitelist in the license: 1) Specify the whitelist at the time you create the policy, or 2) The license server fills in the SWF whitelist at the time it issues the license. With Flash Access, there is an additional packaging step (to apply the policy and encrypt the content), and a license server must be deployed in order for the client to obtain a license. However, aside from disabling FMS SWF verification, no other changes on the CDN should be required to deliver the encrypted content through the CDN.

  • InetAddress.getLocalHost works differently with jdk1.4.0 beta65 and rc

    I am using jdk1.4.0 on Linux with two network interfaces, one of them with a private IP.
    When using jdk1.4.0beta65
    InetAddress.getLocalHost seems to return the IP of the first entry in /etc/hosts corresponding to my machine's hostname.
    With jdk1.4.0 rc I get the last entry in /etc/hosts.
    I changed the order of these entries in /etc/hosts to check if it is really the reason.
    I had problems with an application when getLocalHost returned the private IP.
    Of course changing the order would solve my problem.
    Is there any reason why this changed?
    cu
    Achim

    I don't have the answer for you but why don't you try the following trick and see if you get a more consistent result:
    try {
        Socket socket=new Socket("java.sun.com",80);
        InetAddress addr=socket.getLocalAddress();
        String HostName=addr.getHostName();
        String HostAddr=addr.getHostAddress();
    } catch (Throwable e) {}
    V.V.

  • Windwos 8 wont let me connect to doamin but worked different with older os's

    Hi guys i keep getting this error when i connect to my domain. Sometimes it alomost lets me login to connect to it but then it says its invailid. The server is windows 2008r2 enterprise.
    The following error occurred when DNS was queried for the service location (SRV) resource record used to locate an Active Directory Domain Controller (AD DC) for domain "cjcdsb.com":
    The error was: "DNS name does not exist."
    (error code 0x0000232B RCODE_NAME_ERROR)
    The query was for the SRV record for _ldap._tcp.dc._msdcs.cjcdsb.com
    Common causes of this error include the following:
    - The DNS SRV records required to locate a AD DC for the domain are not registered in DNS. These records are registered with a DNS server automatically when a AD DC is added to a domain. They are updated by the AD DC at set intervals. This computer is configured
    to use DNS servers with the following IP addresses:
    192.168.0.101
    - One or more of the following zones do not include delegation to its child zone:
    cjcdsb.com
    com
    . (the root zone)
    Theres also an event id error 408 on dns?
    Thanks in advance for any help i can get with this

    Ok heres the problem computers ipconfig
       Host Name . . . . . . . . . . . . : Carter
       Primary Dns Suffix  . . . . . . . :
       Node Type . . . . . . . . . . . . : Hybrid
       IP Routing Enabled. . . . . . . . : No
       WINS Proxy Enabled. . . . . . . . : No
       DNS Suffix Search List. . . . . . : cgocable.net
                                           cjcdsb.com
       System Quarantine State . . . . . : Not Restricted
    Wireless LAN adapter Local Area Connection* 13:
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Microsoft Hosted Network Virtual Adapte
       Physical Address. . . . . . . . . : B8-76-3F-95-AA-AC
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
    Ethernet adapter Bluetooth Network Connection:
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Bluetooth Device (Personal Area Network
       Physical Address. . . . . . . . . : B8-76-3F-95-AA-AC
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
    Wireless LAN adapter Local Area Connection* 11:
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Microsoft Wi-Fi Direct Virtual Adapter
       Physical Address. . . . . . . . . : B8-76-3F-95-AA-AD
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
    Ethernet adapter Ethernet:
       Connection-specific DNS Suffix  . : cjcdsb.com
       Description . . . . . . . . . . . : Realtek PCIe FE Family Controller
       Physical Address. . . . . . . . . : 74-46-A0-84-45-D6
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
       IPv6 Address. . . . . . . . . . . : 2001:1970:46c1:3201:718e:bfc3:a22e:8b21
    referred)
       Temporary IPv6 Address. . . . . . : 2001:1970:46c1:3201:d1f3:3f0d:ac36:c709
    referred)
       Link-local IPv6 Address . . . . . : fe80::718e:bfc3:a22e:8b21%14(Preferred)
       IPv4 Address. . . . . . . . . . . : 192.168.0.106(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Lease Obtained. . . . . . . . . . : May 16, 2014 5:27:22 PM
       Lease Expires . . . . . . . . . . : May 24, 2014 10:56:43 AM
       Default Gateway . . . . . . . . . : fe80::cad3:a3ff:fe69:90c7%14
                                           192.168.0.1
       DHCP Server . . . . . . . . . . . : 192.168.0.1
       DHCPv6 IAID . . . . . . . . . . . : 376719008
       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-E5-01-5B-74-46-A0-84-45-
       DNS Servers . . . . . . . . . . . : 2001:1970:c000::53
                                           192.168.0.101
       NetBIOS over Tcpip. . . . . . . . : Enabled
       Connection-specific DNS Suffix Search List :
                                           cgocable.net
                                           cjcdsb.com
    Wireless LAN adapter Wi-Fi:
       Connection-specific DNS Suffix  . : cjcdsb.com
       Description . . . . . . . . . . . : Ralink RT3290 802.11bgn Wi-Fi Adapter
       Physical Address. . . . . . . . . : B8-76-3F-95-AA-AB
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
       IPv6 Address. . . . . . . . . . . : 2001:1970:46c1:3201:4936:2897:c3bc:427c
    referred)
       Temporary IPv6 Address. . . . . . : 2001:1970:46c1:3201:9111:3b66:e21d:f289
    referred)
       Link-local IPv6 Address . . . . . : fe80::4936:2897:c3bc:427c%13(Preferred)
       IPv4 Address. . . . . . . . . . . : 192.168.0.110(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Lease Obtained. . . . . . . . . . : May 16, 2014 5:34:49 PM
       Lease Expires . . . . . . . . . . : May 24, 2014 10:12:33 AM
       Default Gateway . . . . . . . . . : fe80::cad3:a3ff:fe69:90c7%13
                                           192.168.0.1
       DHCP Server . . . . . . . . . . . : 192.168.0.1
       DHCPv6 IAID . . . . . . . . . . . : 213415487
       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-E5-01-5B-74-46-A0-84-45-
       DNS Servers . . . . . . . . . . . : 2001:1970:c000::53
                                           192.168.0.101
       NetBIOS over Tcpip. . . . . . . . : Enabled
       Connection-specific DNS Suffix Search List :
                                           cgocable.net
                                           cjcdsb.com
    Ethernet adapter VMware Network Adapter VMnet1:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMn
    1
       Physical Address. . . . . . . . . : 00-50-56-C0-00-01
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
       Link-local IPv6 Address . . . . . : fe80::fc72:d546:af42:f3fa%43(Preferred)
       IPv4 Address. . . . . . . . . . . : 192.168.64.1(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Default Gateway . . . . . . . . . :
       DHCPv6 IAID . . . . . . . . . . . : 956321878
       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-E5-01-5B-74-46-A0-84-45-
       DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                           fec0:0:0:ffff::2%1
                                           fec0:0:0:ffff::3%1
       NetBIOS over Tcpip. . . . . . . . : Enabled
    Ethernet adapter VMware Network Adapter VMnet8:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMn
    8
       Physical Address. . . . . . . . . : 00-50-56-C0-00-08
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
       Link-local IPv6 Address . . . . . : fe80::7c76:51d8:be61:29b1%44(Preferred)
       IPv4 Address. . . . . . . . . . . : 192.168.209.1(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Default Gateway . . . . . . . . . :
       DHCPv6 IAID . . . . . . . . . . . : 973099094
       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-E5-01-5B-74-46-A0-84-45-
       DNS Servers . . . . . . . . . . . : fec0:0:0:ffff::1%1
                                           fec0:0:0:ffff::2%1
                                           fec0:0:0:ffff::3%1
       NetBIOS over Tcpip. . . . . . . . : Enabled
    Tunnel adapter Teredo Tunneling Pseudo-Interface:
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter isatap.{F0D28F40-B52E-40A5-80EB-A3B500B58A67}:
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Microsoft ISATAP Adapter #4
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter isatap.{3DB9FB12-7DDF-4C1D-893A-FDC2E5176EF4}:
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Microsoft ISATAP Adapter #7
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter isatap.cjcdsb.com:
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . : cjcdsb.com
       Description . . . . . . . . . . . : Microsoft ISATAP Adapter #10
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes

  • Behavior work differently with SimpleUniverse

    I initially created an application using the SimpleUniverse utility. I add a behavior one of my transform groups so that an object would change orientation on a button click.
    I then switched over to a regular Universe and constructed my own viewing branch. Now the behavior will NOT work although it did before.
    Can anyone help me and let me know what I'm missing?
    Thanks in advance.
    Here is my buildViewBranch code: and below is the code for the Canvas3D
    public BranchGroup buildViewBranch() {
              BranchGroup viewBranch = new BranchGroup();
              TransformGroup vpTrans = new TransformGroup();
              view = new View();
              ViewPlatform vipl = new ViewPlatform();
              PhysicalBody pb = new PhysicalBody();
              PhysicalEnvironment pe = new PhysicalEnvironment();
              //Attach elements of the view
              view.attachViewPlatform(vipl);
              view.setPhysicalBody(pb);
              view.setPhysicalEnvironment(pe);
              view.addCanvas3D(canv);
              vpTrans.addChild(vipl);
              view.setFieldOfView(field_of_view);// degrees for a distance of meters
              //This matrix places the camera on the +z axis looking towards the origin
              Matrix4f v_mat = new Matrix4f( 1f, 0,0,0f,
                                                      0,1f,0,0f,
                                                      0,0,1f,7f,
                                                      0,0,0,1f);
              Transform3D shiftV = new Transform3D();
              shiftV.set(v_mat);
              vpTrans.setTransform(shiftV);
              view.startView();
              view.startBehaviorScheduler();
              System.out.println("Behavior running: " + view.isBehaviorSchedulerRunning());
              viewBranch.addChild(vpTrans);
              return viewBranch;
    Here is the Canv initiation that I use:
    GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment();
              GraphicsDevice[] gs = ge.getScreenDevices();
              //Creates a graphics template to pole the monitor for the best configuration
         GraphicsConfigTemplate3D gct3d = new GraphicsConfigTemplate3D();
              //gct3d.setStereo(GraphicsConfigTemplate.PREFERRED);
              gct3d.setSceneAntialiasing(GraphicsConfigTemplate.UNNECESSARY);
              //The best graphic configuration is obtained for device 0 as this device is usually the
              //main monitor
              java.awt.GraphicsConfiguration config = gs[0].getBestConfiguration(gct3d);
         canv = new Canvas3D(config);

    I now have a better idea of what's going wrong. When I run the function
    view.isBehaviorSchedulerRunning()
    I get false before and after I run the function
    view.startBehaviorScheduler();
    What do I do? I need help. I would greatly any suggestions.
    What do I need to do to get the behavior scheduler working right?
    Kitcrew

  • Adds entity value with which report was saved to all Combo Box in th report

    Hi All,
    We have 5 combo box related to Entity dimension in one of the WA 11.1.2 reports which we migrated from 7. The different combo boxes had different entity member selection and lists their children.
    The issue here is when we change the entity to one particular value in one of the combo boxes and save the report in studio, close and re-open, the report opens with the entity value with which it was saved in that combo box, also additionally it puts this entity value in other combo boxes also along with their existing values.
    We want the other combo boxes to retain only their value which was existing. Can anybody help with this.
    Thanks,
    Unni

    Hi,
    I believe- This happens because- You might be re-using the same DataSource, ReportDataSrc1* that you created for the very first object +(Spreadsheet/combo/...whatever)+ on the Web Analysis report that you're referring to.
    I'm surprised why you've 5 different combo boxes for the same dimension on a single report. If they're analyzed compartmentally, creating multiple DataSources is a way out.
    Let us know incase you've any questions.
    - Natesh

  • Unchecking "Allow Undefined Strings" for System Combo Box Doesn't Work

    Why will my system combo box still allow undefined strings even after unchecking "Allow Undefined Strings"?
    The combo box works nicely because it allows the user to start typing in the string they want and the combo box will finish it off for them, but if you hit delete or change a letter turning it into an undefined string, the combo box will accept it.
    Edit: I'm using LV 8.5
    Message Edited by Sima on 01-14-2009 07:03 PM
    Message Edited by Sima on 01-14-2009 07:04 PM
    Attachments:
    systemcombobox.vi ‏8 KB

    I don't see the issue with Delete, but Backspace causes what I think you're seeing.  If I type "a" into your example combo box, it autocompletes the "re" in the word "are".  If I hit delete, nothing happens.  If I type other characters, nothing happens.  But, if I hit backspace, then the "re" disappears, leaving just "a".  If I click outside the combo box, the a is left, and a string indicator picks this up.  Thus, the combo box has allowed an undefined string.
    Ouch.  A little help from NI, please?
    Maybe this is what "festo" was seeing here:
    http://forums.ni.com/ni/board/message?board.id=170&requireLogin=False&thread.id=114297
    (no offense intended I figured you were just slowing your code down... but thought it was an opportunity to stop others from starting bad habits with Next Multiple.)
    Certified LabVIEW Architect
    Wait for Flag / Set Flag
    Separate Views from Implementation for Strict Type Defs

  • How do I make a combo box in LabVIEW 6.1?

    I have found reference to the combo box on this site, but it is not in the LabVIEW help for 6.1. Is there a custom VI I can use?
    Thanks,
    Steve

    The combo box was introduced with LabVIEW 7 and is a special type of string control. Prior to 7, everyone used either a ring or enum control. These are all numeric controls and in order to get the string value of the selected item, you have to use the Strings[] property and use the value of control to index the string array. I've attached a 6.1 VI that shows the different controls and how to index the string value to use them in a case statement. For connection to a case statement, it is not required to get the string value - it can be wired directly to the selector.
    Attachments:
    ring_controls.vi ‏37 KB

  • "Shared Variable Control" combo box on Front Panel is empty after Build

    Hello;
    I have a project using shared variables and the DSC module. I am working on building a .exe application now that the project seems to run well.
    I have several places on the front panel where I have shared variable controls. These combo boxes allow the user to click the drop down button and browse the list of shared variables in the project, as well as "browse". When I run the VI from the project, the combo boxes fully populate with all of the deployed tags in the project (I have only one .lvlib in the project).
    When I build the project and run the executable, the only item in the combo box list is the "browse..." selection. I can click on that and browse to my variables, but it is much more time consuming to do so than to simply select the desired variable from the drop down list.
    So, how can I populate the list of shared variables from a particular library ino the Shared Variable Control combo box in a project build?
    A couple of things I have done to try to esolve th problem are ensure that the "Enable Enhanced DSC Run-Time Support" box is checked in the advanced tab of the build window, added the appropriate .lvlib file to the "Dynamic VI's and SUpport Files" window under the "Source Files" tab of the build window, and properly deployed the tag library programmatically in the project.
    Thanks,
    Michael Hampson
    Michael Hampson
    President
    XL Automation, Inc.

    Hi Michael,
    What you see in the development environment is to make it easier for developers, and as far as I know, there's no way to automatically populate the shared variable control during run time in an executable.  The reason being that the shared variable control would have no way to know which process it should be using to get the variables from.  The attached vi demostrate how you can acquire the list of shared variables in a process.  You can also set the default values of the shared variable control by right clicking it on the front pannel, go to Data Operations->Make Current Value Default.  I can do some more research on this, but I'm about 95% sure that there's no way to convert the array of shared variables to populate the shared variable control, as the shared variable control is a special type of xControl.
    Yi Y.
    Applications Engineer
    http://www.ni.com/support
    Message Edited by Yi Y on 07-02-2007 01:27 AM
    Attachments:
    SharedVariableList.vi ‏15 KB

  • Programmatically Change Combo Box List

    Hello,
    I searched heavily on these forums and found answers that were close, but I cannot quite figure out the following:
    I have a large number of individual RF assemblies, most having the same test requirements.  My plan is to create a combo box (or similiar) from which the assembly number can be selected.  This box will then provide a numeric value to a case structure, which will then provide the need test parameters and what not.
    I know the combo box list can be populated with a property node and the property node fed by an array.  It is my hope to be able to put this info in a spreadsheet file that can be updated as necessary and then imported into the VI at run time.  Therein lies my problem.
    Using the strings and value[ ] property, I can make the combo box work correctly, but I cannot figure out how to import the spreadsheet into the proper format to feed the property node.  I've tried various spreadsheet import schemes offered on these forums, but none quite hit it.  I've tried to figure it out on my own, but I'm just spinning my wheels.
    Any help would be appreciated.
    Thanks.
    Attachments:
    PullDown_Module.vi ‏30 KB

    Hello,
    I've attached a VI that I think will help you.  I actually used the Index & Bundle Cluster Array function, which I don't think I've ever used before.    Anyway, this function gets the two arrays of strings from my tab-delimited text file and manipulates them into an array of clusters containing two strings each, which is the data type required by the StringsAndValues[] property of the Combo Box:
    I hope this gets you started in the right direction.  Good luck!
    -D
    Message Edited by Darren on 03-17-200602:18 PM
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman
    Attachments:
    Combo_Box_Screenshot.jpg ‏100 KB
    Combo_Box.vi ‏27 KB
    data.txt ‏1 KB

  • CS4: Setting combo box properties for interactive prototype

    Hi
    I'm doing an interaction design for a web application in
    Fireworks CS4 and can't figure out how to make a dropdown list
    (e.g. combo box) work properly.
    I'm using the Common Library > Win > ComboBox symbol
    but I can't see how to specify the options that should display in
    the list. Based on my experience with other prototyping tools, I'm
    looking for a property in the ComboBox property inspector, but
    there's nothing there and I can't find anything that explains this
    in the Help.
    Surely I don't have to mock up this behaviour myself using
    graphics?
    Thanks in advance for any light you can shed on this.
    Cheers
    Stewart

    Urg - Sorry about that. Here is the direct link to the
    article
    http://www.adobe.com/devnet/fireworks/articles/standards_compliant_design.html
    Side note:
    When originally reponded to you I got swept away by the new
    articles on the Fireworks Developer page -
    http://www.adobe.com/devnet/fireworks/
    - the top three articles.
    h

Maybe you are looking for