Resize controls VI - control references

Within the Full OI - Resize Controls.vi, I recently added a container reference used to display the comment associated with the selected sequence file.  Anyway, the way I did this was to copy one of the existing container references and modify it.  I could not figure out how to create a new container reference with the desired properties.
I see the icon in the .Net and ActiveX pallette.  When I select the ActiveX Container, I get an empty box.  I tried a right-click and selected 'Insert ActiveX Object', but then I didn't see anything applicable in the list of available servers.
So instead I right-clicked the copy of the container reference I made and selected Select VI Server Class -> Generic -> GObject -> Control ActiveX Container.  The "Select Ctrl Type" is set to ActiveX Container.  Then I just changed the label in the properties.
How would I create an ActiveX Container otherwise?

Hey  mrbean,
There are two methods that I was able to find to create a reference to an ActiveX container.  The first one is the one that you discovered by changing the VI Server class.  The easier method in my opinion is to start with a refnum control such as an application refnum or VI refnum, and then drag and drop an ActiveX container into the Refnum control.  This should automatically change it to the correct class.
Pat P.
Software Engineer
National Instruments

Similar Messages

  • Get control and indicator references in individual array

    Hi All,
    Aim : How to get control and indicators references in two different arrays ?
    What I tried :using Pane Reference i got controls but it does include indicator references.
    If sombody suggest on this, that would be great.
    Thank you.
    Solved!
    Go to Solution.

    What tst said (see attached VI)
    Attachments:
    Get Indicator references.vi ‏12 KB

  • DELIVERY How to use copying control to control print process?

    Hi All,
    I recieved a request as this when material no. is 111, then do not auto print the delivery note out.
    Delivery note output type is ZXXX.
    So is there any idea to use copying control to control this ?
    Thank you in advance.
    Richard

    Hi there,
    No need of copy controls for this. Delivery note is printed from delivery. So why do you need copy controls?
    When defining O/p determination procedure for your O/p ZXXX, in the requirement routine, check the values of LIPS-MATNR. If LIPS-MATNR = 111, donot print the delivery note for that item (LIPS-POSNR). I guess you will need to define a new Z routine for this. Dont change the standard routine.
    Regards,
    Sivanand

  • What are Controlling component, Controlling area component code?

    Hello Experts,
    Can you help me understand the following terms as used in the following 4 quotes from the SAP site:
    What is “controlling component”, “controlling area” and “component code” and how are they related? I will appreciate explanations with real life examples.
    Can you also help explain each of the 4 quotes with examples. Thanks.
    Quotes:
    1. “You can define a maximum of 16 posting periods for each fiscal year in the Controlling component (CO)“
    2. “You need to specify the fiscal year variant for each company code. “
    3. “When you create a controlling area, you also need to specify the fiscal year variant”
    4. “The fiscal year variants of the company code and controlling area may only differ in the number of special periods used. You need to ensure that the fiscal year variants match, in other words, they may not have a time conflict.”

    Hi
    1) firstly, let me tell you one thing that
    Controlling is referred as Component.
    like Order Management as one component.
    Profitability Analysis is as component.
    Activity-Based as component.
    2)similar to company code in FI "Controlling area" in controlling.
    Company code has legal entity:generally organization is company code.
    Controlling area doesn't have legal entity.
    because the will define for internal purpose.
    to know the costs of the organization.
    3)To Build relation between FI and Controlling we assign the Controlling area to Company code.
    FI--- IS FOR EXTERNAL REPORTING PURPOSE.
    CO--  IS FOR INTERNAL PURPOSE.
    4)Fiscal year variant and Posting periods are defined at FI Level.Those only we use in Contolling Area.

  • Not able to add taxonomy Control(Activex Control) under Add /remove Custom Controls in infopath 2010

    Hi ,
    Not able to add taxonomy control(activex Control) , under Add/Remove Custom controls in infopath 2010 ..i'm getting the fallowing error ..
    error:This control could not be added through custon control wizard,to use this control go to Controls gallery in home tab.
    Regards
    Giriraj

    Hi,
    I am getting same error while adding contact selector control. And this control is not visilb in controls gallery on home tab. Please help. Thanks!
    Gaurav

  • EDK Web Controls - Unique Control IDs

    After following the EDK Web Controls Developer Guide and making all the control IDs unique by appending the PortletID, the LinkButton controls in the portlet lose their OnClick Event Handlers.
    The portlet works perfectly when not modifying the ControlIDs.
    If I comment out all the portal specific code, modify the ControlIDs, and run in a standard web page, I also lose the Event Handlers.Any suggestions....

    ------- Jonathan Gilbert wrote on 28/01/05 03:34 -------How are you modifying the IDs? By changing the ID property? You can do it this way but you need to be careful when you do it (otherwise the control won't find it's state in the viewstate). I'd recommend changing the ClientID property - this will only affect how it gets rendered on the page, not how ASP.NET treats it.
    Jonathan,
    Here is the code below. I cannot modify the ClientID because the property is read-only.
    privatevoidUniqueControlIDs(Control control)
    foreach(Control ChildControl incontrol.Controls)
    if(ChildControl.ID != null)
    ChildControl.ID += PortletID;
    UniqueControlIDs(ChildControl);
    protectedoverridevoidOnPreRender(EventArgs e)
    base.OnPreRender(e);
    UniqueControlIDs(this.Page);

  • FTPS settings Difference between control and control with data

    Hi guys,
    Just a very quick question please. When doing FTPS there are two options
    1) control
    2) control with data
    Can anyone explain what's the difference between the two?
    regards

    Hi,
    FTPS (FTP Using SSL/TLS) for Control Connection
    The FTP control connection is protected using TLS/SSL (Transport Layer Security/Secure Sockets Layer). File transfer is unencrypted.
    FTPS (FTP Using SSL/TLS) for Control and Data Connection
      All communication with the FTP server is encrypted and uses TLS/SSL.
    Regards,
    Raj

  • How can I disable Control+PageUp/Control+PageDown Tab switch?

    How can I disable Control+PageUp/Control+PageDown Tab switch? I have found various addons to provide additional key combinations for this action, but no option to disable that (these key combinations are mapped on my X server to serve as Home/Pos1 and End, and I would like to have that functionality within firefox as well).

    Hi Guigs2, I already tried that (and a whole bunch of other key costumization/mapping plugins), and it does not help. It helps to add other shotcuts for the tab switching, but does not give an option to eliminate the existing key combination. Thank you anyways.

  • Essbase Objects - Outline control, Dataserver control

    Hi,We are using essbase objcects 7.0.2 - Data Server control & Outline control to select the members in the organization dimension. How can we enable multiselection of members in Outline control. I have tried EssOtv1.SingleSel = Falsebut still having problems in multiselection and can any one tell me how to read the multi selected members from outline control.I appreciate yout time.ThanksVK

    To make the EssOTV control multiselect, set the Checkboxes property = True.Here is how to get the selected members when you have multiselect turned on.. In fact, there is a bunch of info stashed in a collection in the Tag property of the treeview Node, so I put in some sample code for that too (and hopefully it will look ok posted to this site; formatting here is not the greatest):Dim oNode As NodeDim sMessage As StringFor Each oNode In Me.EssOtv1.Nodes If oNode.Checked Then sMessage = "Node Text = " & oNode.Text sMessage = sMessage & "; Node member = " & oNode.Tag(1) sMessage = sMessage & "; Node alias = " & oNode.Tag(2) sMessage = sMessage & "; Node level = " & oNode.Tag(3) sMessage = sMessage & "; Node generation = " & oNode.Tag(4) sMessage = sMessage & "; Node dimension number = " & oNode.Tag(5) Debug.Print sMessage End IfNext oNodeNote: the Node object is defined as part of the Microsoft Windows Controls component (add it to your toolbox to get early binding).Tim TowApplied OLAP, Inc

  • How can i get the reference to Controls from VI-reference

    Hello,
    i have a VI with ~5 controls on it.
    And with the Object "Current VIs path" and "Open VI reference" i can create a reference to the current VI.
    How can i create now a reference to the controls? (Starting with VI-reference?
    Of course i know how to create directly a reference from a control.
    My idea wasm that there areperhaps properties like:
    - Number of controls
    - Name of control
    - Type of control (string, bool. number...)
    Is this somewhere there and i just dont find it?
    Thanks for your help

    Once you have the VI Refnum, it's a two-step process. Wire the VI Refnum into a property node and get a reference to the Front Panel. Output the Front Panel reference into another property node and select the property Controls[ ], which outputs an array of references for all the controls on the front panel.
    Message Edited by Jarrod S. on 04-20-2007 11:06 AM
    Jarrod S.
    National Instruments
    Attachments:
    get_ref.PNG ‏5 KB

  • Reference to control different from reference panel- controls[]

    Hi, I get references to all my objects on front panel from the properties panle->controls[]. In my program I use an Event case and the reference to the contol passed from the Event Case is different fom the reference obtained by panel->controls[]. I need this to be the same since I want to use this reference to search for match in ref array from panel->controls[] get the array index of thet control

    Do you have tabs\arrays\clusters?
    The references from controls in those (and possibly other structures) are not returned when you use the Controls[] property.
    You have to go over all the references and if any of them is one of these structures you need to cast it to its specific class and extract its Controls[] property to get to the controls in it. This needs to be done recursively until there are no more structures.
    I seem to remember seeing a VI somewhere that did this (maybe OpenG?), but I can't seem to find it. Maybe someone else knows.
    Try to take over the world!

  • Vertical resizing in Table control

    Hi,
        I am using 2 table controls in a screen . I have marked vertical resizing  in attributes of the screen. but it is not allowing for vertical scroll. i have checked out in all screen attributes . Please help me with this issue.

    in the PBO include these lines
    <tabctrlname> is the name of the table control placed on the screen.
    it_tabctrl is the internal table data that is being passed to the table control.
    describe table it_tabctrl lines N.
    <tabctrlname>-lines = N.
    Regards
    Gopi

  • Purchase order with out PR Reference controlling to control

    Dear All
                  I wants to control purchase order creation without PR Reference. i want to control this via standard settings is it possible through standard.
    Purchase order creation Through PR only. if user enter powithout pr reference it should through the error.any standard setting available for this.
    Regards
    Kumar.

    Dear,
    I am giving you step wise details
    Step 1.
    1. Goto SPRO --> Materials Management --> Purchasing --> Purchase Order --> Define Document Types.
    Check the "Field selection Group" of the "Purchase Order Document Type" (optional Step)
    2. Enter T-Code OMET.
    3."Change View "Functional Authorizations: Purchase Order" : Overview Screen comes up
    4. Click on "New Entries"
    5. Give 2-digit "Code (01)" and a "Description" for "Functional Authorization".
    6. Select the Check Box " Ref. to Purchasre Requisition".
    7. Enter the "Field Selection Group from Step 1. in the Field Selction (optional Step)
    8. Save and Back
    9. Enter T-Code SU3
    10. Select "Parameters" TAB
    11. In Parameter ID enter EBF
    12 In Parameter Value enter the 01
    13 Save.
    Now when you try to Create a Purchase Order the System will give and Error "You have no authorization to create without reference to another document"
    Hope this will Solve the Problem
    Regards,
    R.Brahmankar

  • Controlling Properties via Reference

    I have a cluster of numeric controls. I would like to control the properties (Disabled, Visible, Value, NumText.Format and NumText.Precision) of these individual controls by passing one reference from the cluster on the main vi, to a sub vi.
    Within my subvi I wire my cluster reference to the Controls[] property to get an array of references to the elements within the cluster that follow cluster elements order.
    Using this array of references I find property options available for Disabled, Visible and Value properties, among others. There are no options, however, for controlling NumText.Format and NumText.Precision.
    Any suggestions, or perhaps there another way to approach this?
    Thankyou!
    Jim Haas
    Solved!
    Go to Solution.

    The array of control references will be of a generic class, and therefore cannot have specific propertiies set. To gain access to the specific control properties you must cast to a more specific class first. If all the controls are of the same type, you can simply cast them all, using the "to more specific type", to numeric types. This should make the NumText properties available for setting.
    Thoric (CLA, CLED, CTD and LabVIEW Champion)

  • After moving and resizing control, some controls don't redraw properly as the cursor passes over them.

    I have a top-level VI with three panes (two splitters).  One of the panes contains nested tab controls.  One of the tab pages contains six XY-graphs, a table and some decorations.
    I use a subVI to resize and relocate the tabs and contained controls.  All this is working fine, and everything looks fine after the resizing is complete.
    The problem is when the cursor passes over certain controls (the chart legends and the table column headers for example), they redraw with gray boxes.  The problem only occurs after enlarging the window from its minimum size.  It goes away if the window is resized back down to minimum.
    Anything that causes the window to redraw, like another resize or minimize/restore, properly refreshes the screen.
    Has anyone seen this problem, and have a workaround?
    The problem exists in development environment or built in LV 9.01 or LV 2010.
    Thanks!
    Matt Dennie
    Attachments:
    Resize Redraw Problem.zip ‏125 KB
    Resize Redraw Problem.JPG ‏210 KB

    Thanks again for taking a look at my problem.
    force redraw - This is apparently only available in LV2010.  I did give at a try, but it did not prevent the problem, nor did it correct the problem once the gray boxes appeared.
    disable updates (on a graph) - This apparently only applies to 3-D graphs, which is not what I am using in this case.
    disable front panel updates - I tried disabling updates before moving/resizing the front panel controls, then re-enabling updates afterwards.  The problem is exactly the same as before.  Once the move/resize is complete, passing the mouse over the table column headers or the graph plot legend results in the gray boxes.
    I would appreciate any other suggestions you may have. 
    Again... the problem is not that the moving and resizing don't work.  They work fine.  But once the resizing is complete, passing the mouse over the legend or table column headers causes gray boxes to appear.
    Thanks!
    -- Matt

Maybe you are looking for