Building a TreeView control without ActiveX

It's interesting, how to build TreeView control in LabVIEW without using of ActiveX technology? For example, LabVIEW Menu Editor (see attachment) has such control. This control seems to be developed in LabVIEW. Are anyone know, how to program such control? I have only idea to use multicolumn ListBox with hidden grid lines. But I can not insert picture (or color text) in it. The developers of LabVIEW can do it (see attachment)!
Attachments:
TreeView.zip ‏11 KB

Ah yes, another LabVIEW "Holy Grail".
I think you may be making a huge assumption that this wizard was created in LabVIEW. NI doesn't always use LabVIEW for these things.
To see an example of what I believe is the best you can do with LabVIEW's standard tools to create a "tree view" check out the File Manager, located in the "Tools" menu under "VI Library Manager". This is a shining example of the best that most people can do using a List Control and the available symbols.
Don't get me wrong, LabVIEW is capable of creating a true list view; however; you don't have the patience to write the code, as I would never try that.
Perhaps someone will (or already has) created one, and has made this available. If you find one, let us all know, because we a
re all seeking this Holy Grail too...
PS: If I had to make a bet, I would guess that this wizard was either created using Visual C++, or perhaps even Visual Basic. Just don't tell anyone at NI I said the VB word...

Similar Messages

  • TreeView Control

    Hi,
    what is the recommended way to include a TreeView Control in applications built with LabVIEW 7.1?
    I think there are at least two ways possible:
    1. Use of the build in "Tree" control of LabVIEW
    2. Use of ActiveX Technology with the Microsoft Control
    What are the advantages and disadvantages of these two solutions?
    Please provide some examples!
    Kind regards,
    Sunny

    I agree with Jim. Try to keep using one language without any external tools unless they are written in the same language.
    Using LV8.0
    Don't be afraid to rate a good answer...

  • Treeview control will not drag and drop when project is built.

    I have a treeview control that I can perform drag and drop while in edit mode but once I build the executable I can't drag and drop any longer. Are there some settings that I have to change?
    I am not using an Active X Control but instead the TreeView control within LabView 8.
    A response would be greatly appreciated.

    This is a known bug, see further down in this discussion:
    http://forums.lavausergroup.org/index.php?showtopi​c=2271
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • How to use the treeview control

    I tried to use the treeview in the form builder.
    But I failed.
    If anyone can give me the guideline or related data,
    I'll be grateful.
    Thanks.

    Hi,
    Based on your description, my understanding is that you want to use treeview control in InfoPath 2013.
    Per my knowledge, There is no treeview control in Infopath 2013. Have you used the solution from third party? if it is , I suggest that you seek the third party for help. 
    Besides, here is a similar post, you can take a look at:
    http://www.infopathdev.com/forums/p/8978/80652.aspx
    Best Regards,
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Lisa Chen
    TechNet Community Support

  • Using Microsoft's TreeView Control in Forms 5.0

    I created the OCX item, assigned it the OLE class 'COMCTL.TreeCtrl.1', inserted Microsoft TreeView Control 5.0, imported the appropriate OLE packages and set the appropriate OCX specific properties. With all that done, I created a simple code to clear the nodes collection and then populate it with two dummy nodes. The following is that snippet of code:
    PROCEDURE DO$TREE_INIT(
    i_study_id IN VARCHAR2 DEFAULT NULL
    ) IS
    v_inodes COMCTLLIB_CONSTANTS.INODES;
    v_inode0 COMCTLLIB_CONSTANTS.INODE;
    v_inode1 COMCTLLIB_CONSTANTS.INODE;
    BEGIN
    -- Get pointer to the treeview control's nodes collection.
    v_inodes := COMCTL_ITREEVIEW.NODES(:item('CB_MAIN.OCX_TREE').interface);
    -- Clear nodes collection
    COMCTL_INODES.CLEAR(v_inodes);
    -- Create initial tree structure when provided with a study.
    IF (i_study_id IS NOT NULL) THEN
    v_inode0 := COMCTL_INODES.OLE_ADD(
    interface => v_inodes
    ,relative => OLEVAR_NULL
    ,relationship => OLEVAR_NULL -- TO_VARIANT(COMCTLLIB_CONSTANTS.TVWFIRST, vtype => VT_R8)
    ,key => TO_VARIANT('STUD|AA|123|BC|12', vtype => VT_BSTR)
    ,text => TO_VARIANT('Dursban MOR Study (12312123)', vtype => VT_BSTR)
    ,image => OLEVAR_NULL
    ,selectedimage => OLEVAR_NULL
    v_inode1 := COMCTL_INODES.OLE_ADD(
    interface => v_inodes
    ,relative => TO_VARIANT(COMCTL_INODE.OLE_INDEX(v_inode0), vtype => VT_R8)
    ,relationship => TO_VARIANT(COMCTLLIB_CONSTANTS.TVWCHILD, vtype => VT_R8)
    ,key => TO_VARIANT('FF+|AA|123|BC|12', vtype => VT_BSTR)
    ,text => TO_VARIANT('Facility Functions', vtype => VT_BSTR)
    ,image => OLEVAR_NULL
    ,selectedimage => OLEVAR_NULL
    END IF;
    END DO$TREE_INIT;
    My form complies properly but during runtime I get this error:
    FRM-40735: < ... > trigger raised unhandled exception ORA-100504.
    This form is very simple. It contains only one control block, the tree control, OLE packages, WHEN-NEW-FORM-INSTANCE trigger, and this package. I have tried everything within my understanding. Do you have any suggestions?
    Any help would be appreciated.
    Thanks,
    Rahul

    I have the same situation too. The only solution
    I could think of is to install "Additional ActiveX"
    from custom VB5 installation. Besides there is
    a problem when VB6 is installed, because the controls are
    called "Microsft TreeView ... (SP2)".
    If you find any progress , keep me in touch :) ...
    Iain Sutherst (guest) wrote:
    : I have spent sometime implementing ListView and TreeView
    : controls (provided by COMCTL32.OCX, under VB 5) in Oracle
    Forms
    : 5.0, believing that the only files I would need to distribute
    : when I came to implement on other machines were COMCTL32.DLL
    and
    : COMCTL32.OCX, followed by registering COMCTL32.OCX.
    : This does not seem to be the case, since the control (ListView
    : or TreeView) is not being activated during run-time, and when
    I
    : try to use 'Insert Object...' in the layout editor for the
    : control, nothing happens.
    : Unfortunately, I have loaded VB 5, and Oracle Objects for OLE
    on
    : to my original development environment, and so I cannot now be
    : sure whether I need just COMCTL32.* or whether I need
    something
    : else as well.
    : If anyone has had experience of using these controls and has
    had
    : to roll-out the developed applications to other machines, I'd
    be
    : grateful for any information.
    : Thanks.
    : Iain
    null

  • Add New Node - Adobe Director Microsoft Treeview Control 6.0 xtra?

    Can some one help me on how to add new node to TreeView Control provided as xtra with Adobe Director. Tried using sprite(1).Nodes.Add but not working. Please assist

    Right, I am accessing the control via Insert  ->Controls -> ActiveX -> Microsoft Treeview. (unable to find any documentation)
    I am actually trying to make a treeview and on selection do some stuff.
    I have tried using CxtraPopup to create the same but when publishing it says unregistered version.
    Can you please suggest any xtra that supports Menu.
    Thanks

  • How to use MS TreeView Control in Forms 5.0 ?

    I want to Use Microsoft TreeView Control in forms as my user demands a hierachical view of data . he also wants to update data same as we see in windows explorer left side pane, (drag - drop - copy -paste). Can any one tell me hw to do that. i have added the ocx file to forms but i want to know what to write to accomplish that ??
    Please help ???

    MS Treeview is an activeX control. You may have to go through the MSDN to find out how to import images.
    Jeremy

  • Issue in treeview control along with page viewer web part showing the sub sites from MMS

    hi,
    Am having a treeview control populates  with values from  MMS - Managed Metadata Service.
    [ Products ]
    ----->ms office 
                ----->word
                ----->excel
                 ---->powerpoint
    -------->Collaboration
                     ---->   sharepoint 2003
                     ---->  moss 2007
                     ----> sp 2010
                     -----> lync
     all these  values excel, word, powerpoint are sub sites created under ms-office site collection.
    and  sharepoint 2003, mos 2007, sp 2010, sp 2013 are  sub sites created under collaboration.
    now, on the page load, end user clicks on word and he should navigate to the  sub site "wordsite"  and it should show the home page of word sub site.
    we have created a  page viewer web part and  assigned the url property of the page viewer to the sub site url.
    but the issue is, when end user clicked  on the child node "powerpoint", the  page did a Post Back and treeview control immediately collpased and it shows the Products [top level - parent node] only.
    Am unable to set the current selected value- ie  here its excel and show the excel node in the trewview.
    how can i get this child tree node as the selected node.
    help is  highly appreciated!

    Check if below can help
    http://thechriskent.com/2012/05/09/changing-the-default-expansion-of-metadata-navigation-on-initial-page-load/

  • How to get the name of the selected building block in a building block content control?

    Hello,
    How can I obtain the name of the selected building block in a building block content control?
    I want to use this together with an on exit-event to populate other content Controls depending on the name of the selected building block item.
    Environment: Word 2010.
    Thanks,
    Peeter

    Hi Peeter,
    As far as I know the building block is the pre-built content, and the
    BuildingBlock object represents a building block in a template. After add the building block to the document, it inserts the content to the document.
    Building blocks are stored in the templates, therefore, to access the building blocks available for a document, we need to access an attached template.
    So, I think, we can’t obtain selected building block in the document.
    There are some links that may benefit you:
    # BdingBlock Object (Word)
    https://msdn.microsoft.com/en-us/library/office/ff192414.aspx?f=255&MSPPError=-2147217396
    # Working with Building Blocks
    https://msdn.microsoft.com/en-us/library/office/ff837878.aspx
    # Set the Building Blocks That You Can Use for a Content Control
    https://msdn.microsoft.com/en-us/library/office/ff197523.aspx
    Regards
    Starain
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Scroll bar in table control without wizard

    Dear All,
    I have made a module pool program for gate pass. In which i have taken a TABLE CONTROL WITHOUT WIZARD. Now my problem is , the table control does not have the SCROLL BAR  functionality. It is not showing the scroll bar also. So can any one of you can help with the code that i can use to bring that scroll bar.
    Table control is without wizard.
    Thanks & Regards
    Vijju

    Hi,
    In PBO module write the code as,
        data:  fill TYPE i.
        DESCRIBE TABLE itab LINES fill.
      flights-lines = fill.
       Flights is the table control name in screen and itab is the internal table name.
    Regards
    Haritha
    Edited by: Haritha Teegala on Jan 6, 2012 7:53 AM

  • Acrobat Control for ActiveX

    How can we open a PDF in Acrobat Control for ActiveX using API AcroExch.AVDoc

    You have described two different APIs. Which one do you want to use?
    If you feel you have a need for both, please say why, because this is
    a major problem.
    Aandi Inston

  • Use scripting to create numeric control without inc/dec button

    I'm having fun using scripting to do things that were formerly "impossible", such as creating a cluster programmatically from a list of variable names and their associated types (to be used in a subsequent program).
    When I create a numeric control on a Front Panel, it has the Increment/Decrement button visible, by default.  I wanted to create controls without this feature, but I couldn't figure out how to do this (or even if it is possible, though I don't see why not).
    Any ideas?
    BS
    Solved!
    Go to Solution.

    DFGray wrote:
    Create it, then set its Increment/Decrement Visible property to FALSE.  This property is specific to digital numerics, so you need a digital numeric reference to make it work.  The property is all the way down on the end of the list.
    Good thing I read this three or four times before writing my snarky reply!
    When I created the new VI Object, I made it a Numeric with style Numeric Control (modern).  When I scrolled down the list of properties, they stopped with Unit Label -- in particular, Increment/Decrement Visible wasn't listed.  Of course, if I just "lay down" a numeric control, this property is visible.
    So I played around a little more. I saw somewhere a reference to the "Numeric Object class", and you refer to "digital numerics" (??? aren't all numeric "digital"?), so I went looking.  I found a sub-class of Numerics called NamedNumeric -- not sure what that is, exactly, but what do you know, it has the Increment/Decrement Visible? property!
    Time to give it a try ...
    BS

  • Having problem with MacBook Pro launching mission control without prompting

    Having problem with MacBook Pro, launching mission control without prompting. Please advise. Thank you.

    It may be a swipe that's doing this >  Mac Basics: Mission Control

  • Can I build Azure RemoteApp template without Remote Desktop License ?

    Can I build Azure RemoteApp template without Remote Desktop License ?
    I want to build and update the Azure RemoteApp template by using same Hyper-V guest image continue.
    Message:
      "Remote Desktop licensing mode is not configured"
    Environment 1: my on-premises Hyper-V guest.
    Environment 2: my Azure Virtual Machine by "Windows Server Remote Desktop Session Host" image.
    Regards,
    Yoshihiro Kawabata

    Hi Yoshihiro,
    If you are referring to RDS CAL, the answer is yes, you can build a template
    without having an RDS CAL.  For on-premises you would still need rights to install Windows Server as a guest, but to build the template you do not need an RDS CAL because this use is for administrative purposes. 
    In the case of building the image on an Azure Virtual Machine you do not need Windows Server license since that is included in the pricing for the Virtual Machine.  As mentioned above you do not need an RDS CAL since you are only building a template
    image which is administrative use.
    As always please review the appropriate documents that apply to your situation such as the Online Service Terms (OST), Product Use Rights (PUR), license agreement(s), etc. for precise details.
    Thanks.
    -TP

  • Building custom date control in WAD

    Hi,
    Plz. let me know how can I build a custom date control in WAD which will take date intervals.
    OR
    How can I represent a date interval variable in WAD by not using the variable screen feature of the web template.
    Thanks,
    Priya

    Hi Ashish,
    Actually I searched for quite sometime & also consulted with SAP, but could not find an answer. I thus ended up building the whole logic myself. I used Input Field & Button Group web items to build the date controls & made it look like the standard SAP date control complete with icon etc. I enabled Javascript on the Button Group webitems that called a Calendar control for input date selection (my requirement was a date interval, so from & to dates). I then passed the input selection thru' Javascript using Command API to the query variables on click of another Button Group webitem along with some other inputs from Drop Down webitem etc.
    --Priya

Maybe you are looking for

  • Any way to move a non-DRM pdf from iBooks on iPad to Mac?

    I downloaded a large number of pdfs from the web to my iPad and "saved" them in iBooks. Scare quotes fully justified. There are numerous posts describing situations in which people have lost such files, particularly when they have tried to use someth

  • Use HD trashed iMac as monitor for Mac Mini?

    I have a 20" iMac that recently had a hard drive failure that I  have not been able  to overcome. Rather than trashing it, is there a way to use it as a display for a Mac Mini?

  • Problem in framing or understanding the exact approach for the specificatio

    Hi , I got a task to create a java program , but actually I am not able to understand what I need to do . I mean , there are some Filie System , flat file scenarios and space given . So please explain me what exactly I need to code and what is the ac

  • Why has snow leopard been removed for download

    I don't get Apple - they release a new OSx that can only be updated from Snow Leopard but in their amazing commercial wisdom remove the ability to buy Snow Leopard. That will increase the uptake of Mountain Lion - NOT! Anyway does anyone know how I c

  • Sybase jdbc throws Resource PermissionsException wls8.1 sp2

    HI, I just upgraded from wls 6.1 to wls 8.1 sp2. My Connection pools are not working anymore. I am using sybase server 11.5.1 with the jconnect 5. I am making database calls (that used to work). Here's the strange thing, I have a startup class that r