Multicolumn listbox scrolling problem

Multicolumn listbox contains test data. As user starts test, it is required that the horizontal scroll bar move to the right edge so that the right most column is viewable. Second, as the tests are running the multicolumn listbox is supposed to scroll to the test row being run. I have achieved it through the Top Left Visible Cell property. But then user can disable autoscrolling feature. When it is re-enabled, the row being currently run becomes the top row (by scrolling). Here is the problem (with horizontal scroll bar). Suppose user has scrolled horizontally to a certain position. How do I let it remain/retain while scrolling the verticalbar to the currently running row. As I set the Top Left Visible Cell property, the horizontal bar is forced to a position defined by Top Left Visible Cell property's column parameter, that is, I want to make the currently executing row visible, by scrolling to it, but not move the horizontal scroll bar?
Thanks in advance.

Yes that is exactly what I am doing. But the problem is that doing so adjusts the horizontal scroll bar with the left edge of the left most visible column, that is adjusts the moves the horizontal scroll bar to left and what is desired is that it be left where user has positioned it (that is maybe not coinciding with the left most edge of the left most visible cloumn). (Is that even possible?).
Second, how do you position the scroll bar to the right most edge of the multi column list box, whenever such is required, without making the not being used right columns (that is not scrolling beyond the boundary of right most data column) visible?
Thanks for your replys guys.

Similar Messages

  • Problem with Multicolumn Listbox Scrolling

    Hello...
    Can anybody please tell me how to scroll according to row no. in multicolumn listbox?
                    I'm working on a VI where I have to test some conditions which are depending upon RPMs... For testing ease I have sorted the conditions according to the similar RPM... But the conditions are scattered in the multicolumn listbox ie they are not in sequence... Suppose the conditions are on row no. 1, 7,15,38,56,82,100,139,180 something like that....
    Is it possible to scroll down according to row no. While running the VI...? So that the viewer can see which condition is in progress & it's results...
    Thanks in advance for any help...  

    I have seen a property in a scrollbar that limits the scrolling range to it's maximum.
    I'm not sure the same property is available in 7.1.
    You might need to remove the listbox's own  scrollbar and use a seperate one.
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • Disable horizontal scroll in multicolumn listbox

    I'm using a Multicolumn listbox and I programmatically change the cell to be edited using UP, DOWN, RIGHT and LEFT keyboard keys.
    Everything is working exept for the rightmost column: when I press the RIGHT key, the cursor moves to the next cell inside the rightmost column but all the table scrolls to the right (even if not really necessary) preventing the user from seeing the first column (leftmost). Is it possible in some way to lock or totally disable the horizontal scroll?
    Every idea would be welcome.

    I don't think there's a way to completely disable scrolling (once you ask the MCLB to show you a cell, it will probably do whatever it can to show it to you), but you can start by making the scrollbar invisible and by setting the Top Left Visible Cell property to [X, 0] every time you move a cell. If this doesn't work, you should upload your code. We play better when we have what to work with.
    Try to take over the world!

  • Problem with multicolumn listbox

    I have a problem in selecting a multicolumn listbox and display it as an individual elements of a selected array. The problem is that whatever I typed in the multicolumn listbox will be disappeared after run. The only solution to get those individual elements is to type those element as in costant of 2D array and connect it to the property node of the multicolumn listbox. But that's not what I want, I want user to be able to select from what displays in the multicolumn list box and then represents each individual element.

    The thing to remember is that although a multicolumn list box looks like a string table, it's really a numeric control. To access the strings you have to use the ItemNames property.
    Writing to the property (which is 2D array for a multicolumn listbox or 1D or a conventional listbox) displays strings in the box, reading the property would readout anything you might have entered into it.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Problem in resizing multicolumn listbox in

    I am using multicolumn listbox to show my test to user. In development PC it looks nice and displays as much as column I want but in other PC where I am installing my application there last row column is partially visible.
    I have set VI to resize the VI as per monitor resolution. Attached image for reference.
    What could be the reason?
    Kudos are always welcome if you got solution to some extent.
    I need my difficulties because they are necessary to enjoy my success.
    --Ranjeet

    RavensFan wrote:
    The listbox scales with the front panel, which you said is scaling with the monitor resolution.
    However, the widths of the columns do not scale with the listbox itself.  You'll need to adjust them either manually or programmatically like Michael describes.
    Differnt monitor have differnt resolution. It might possible that one montor I will keep 3 and other I need 4. Then in that case I need to make differnt exe file for each
    Kudos are always welcome if you got solution to some extent.
    I need my difficulties because they are necessary to enjoy my success.
    --Ranjeet

  • Set column width of a multicolumn listbox in LV touch panel module

    Hello,
    I am trying to build an application using LV Touch panel module 8.6 and I am having a problem with multicolumn listboxes. I am setting the the width of the columns by clicking and dragging the separator between the headers, but when I transfer and run my application to a winCE controller the width of the columns is the same for all columns (and very narrow actually).
    Does anyone know something about it?
    I also noticed the following two problems. When I transfer my application in the winCE controller, the line and column separators are disappeared and the column headers are also disappeared, although I have set them to be visible in my vi.
    Thanks in advance.

    The issues that you are having are because the LV touch
    panel Module does not support "Moveable column separators" and
    "Row and column headers". The limitations of using a touch panel are available
    in the LabVIEW help file.
    A possible workaround may be to use a series of arrays with a string data
    type then using a single scrollbar control multiple property nodes.
    I have attached an example.
    I hope this has helped.
    Philip
    Philip
    Applications Engineer
    National Instruments
    UK Branch
    ===If this fixes your problem, mark as solution!===
    Attachments:
    Scroll Array.vi ‏10 KB

  • Multicolumn listbox

    I need an object to store lab-measurements and are wondering, if it’s possible to use a multicolumn listbox.
    My problem is that, I need to know the row number of the active row. By ‘the active row’, I understand the row belonging to the cell activate by user scroll using arrows/ or mouse click.
    Background for my question:
    I want to store the sample number I the first column. The sample numbers are imported from Excel.
    The measurements for the actual sample should come in, in the cells to right in the same row.
    The samples are not always ordered, which means, that I might need to scroll to the correct sample number.
    In order to place the output from the measurement coming from my labView program, I need to know what is the row number of the activate row. But how ?
    Is it possible using multicolumn listbox, or is there another object, which can do the trick?
    In c# it’s possible to do as described using datagridview.
    Solved!
    Go to Solution.
    Attachments:
    example file.jpg ‏19 KB

    I have added some code to your VI.
    The event structure needs to be i a loop, otherwise your program will stop after the first double click
    You need to initialize the array before you start replacing elements, because it is not possible to replace non existing elements
    The Top Left property of the list box can be used to determine the index of the top left visible cell of the list box
    I used now the double click as trigger to change the content of a cell, but you could use a user generated event instead, an fire this event each time a new measurement is available.
    Attachments:
    multicolumn listbox.vi ‏15 KB

  • Adding a single line to a multicolumn listbox?

    Hi Community,
    I have a multicolumn listbox which tens of thousands of lines where each line is color coded and represent a cycle with a pass/fail status. The only way I have found to add lines to a multicolumn listbox is to read its ItemNames property which is a 2D array of strings, add the new line to the 2D array and then write then new array back to the ItemNames property.
    The problem is that after couple thousands of lines this get more and more slow.
    Is there any way to speed this process up, maybe by adding the line to the listbox in a different way?
    thx.

    The Listbox, and Multicolumn listbox controls got many UI performance improvements in 2013, what version are you using?
    https://lavag.org/topic/17009-labview-2013-favorite-features-and-improvements/
    But even if you are on an old version there are many tricks to making the UI more responsive, like using defer panel updates, and virtual multicolumn listboxes.
    https://lavag.org/topic/15289-virtual-multicolumn-listbox/
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • Entries into Multicolumn Listbox/Safing Data in .txt-file

    Hello. I haven't found anything helpful for my problem or better to say problems. I have to do a task that I have no idea how to solve. It isn't helping that I was never good with programming. Here is what I have up till now:
    I want to write seven strings indivudally into a multicolumn listbox with seven columns. The first shall be a running number, increasing for every row. For this I'm using right now a Case Structure. And there is my first problem. I don't know how to realize that whenever a row is completed the next string is written into the next row instead of overwriting one in the completed row.
    This has to go one for as long as the user wants to. Then there has to come a Pop Up Window - if that's the correct term - and shall ask the user if he/she wants to safe the created list into a textfile. And that's my next problem. I have no idea how to program that.
    I know it's probably rather easy to program these things in LabVIEW 8.0 (which I'm using) but as I've already said I'm anything but good in programming at all and to make things even more complicated I don't want to do this task, therefore not putting all my energy into it as a result.
    Please, can someone here help me?

    Does it have to be a multicolumn ListBox?
    Seems like a table might be more appropriate, if it's only for display purposes.
    Either way, you need to use a FOR loop inside a FOR loop to generate a 2-D array of strings.
    The INNER loop generates the strings for each column in a row, the OUTER loop generates each row.
    You wire the 2-D array directly to a TABLE indicator, or to the ITEM NAMES property of a ListBox.
    Attached is a pic.
    Message Edited by CoastalMaineBird on 08-21-2007 01:52 AM
    Steve Bird
    Culverson Software - Elegant software that is a pleasure to use.
    Culverson.com
    Blog for (mostly LabVIEW) programmers: Tips And Tricks
    Attachments:
    TwoLoop.png ‏226 KB

  • How to read 'clicked header' AND selected row from multicolumn listbox?

    I have a multicolumn listbox filled with 6 columns and about 500 rows.
    I want the user to be able to click on a column header, and sort the listbox alphabetically on that column. I've written the code for that, and that works. (using the 'itemnames' en 'get clicked col hdr' properties.)
    However, I also want to include the option, that when a user highlights a row, and then clicks on the header, that after the listbox gets sorted it scrolls down to the selected row.
    (So that the user doesn't have to search for it)
    And that's where things go wrong, because the value of the listbox changes to zero when you click on a column header. No I idea why it does that, but it's rather
    annoying. Can I change that behaviour somehow?
    Or any ideas how to get around it?

    My thanks to you and Jared.
    Seems I got a working solution now.
    Did take a while to figure out why your solution worked. Basicly, you're reading the row from a few iterations before.
    As soon as I understood that, I simplified it a little. Look at the attached file... I think it does the same. :-)
    Jared asked for the sorting routine. As I don't seem to be able to attach files when replying to comments, I took the liberty to include it here also.
    Basicly, I just use the 'sort 1D array' that comes with Labview 6. To be able to sort a 2D array, I convert every row to a cluster. That's something the 'sort 1D array' VI can handle nicely.
    To sort on the correct column, I just cut all columns in front, and paste them behind again. A
    fter sorting, I reverse the process.
    Anthony.
    Attachments:
    copy2_of_multicolumn.vi ‏26 KB
    sort_2d_string_array.vi ‏34 KB

  • Migration of multicolumn listbox from 7.1.1 to 8.5

    I recently migrated a VI containing a multicolumn listbox from LV 7.1.1 to LV 8.5. Interestingly the 3D-headers got lost and the hight of the rowes changed.
    Left in the picture is the LV 7.1.1 version and right is the LV 8.5 version. The font is set to Lucida Console 14 bold.
    I got CAR 119444 for this conversion bug.
    Message Edited by waldemar.hersacher on 07-10-2008 09:02 PM
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions
    Attachments:
    multicolumnlistbox.png ‏2 KB

    Hi Vicky,
    No worries my friend
    We have not done this upgrade and do not have any current plans to do so. I am
    always, always, always slow to move along the upgrade path. This may be a bad thing
    but it has saved us some great pain as well over the years. Our current versions are;
    CUCM - 7.1(3b)su2
    CUC - 7.1(3b)su2
    We have found these versions to be very stable. I have spent a fair bit of time looking at people's
    migrations to 8.5(x) here @ CSC and have not seen or heard of too many horror stories. This is one bug you'll
    want to look out for.
    CSCtn61453            Bug Details
    Applying 8.5.1 software as patch results in corrupted CUC installation.
    Symptom:
    After fresh installation of 8.5.1 software, we can notice several problem symptoms.
    - Connection services and Connection DB does not start
    - System cannot be accessed via web page
    - Informix error messages for certain CLI commands
    Example :- show cuc cluster status
    com.informix.asf.IfxASFException: Attempt to connect to database server (ciscounity) failed.
    Command failed
    Conditions:
    It is observed during fresh installation of Unity Connection product when installation was
    started with earlier version of software and 8.5.1 software was applied as a patch during the setup process.
    Workaround:
    First, perform a fresh installation of earlier version of software using the install media. Then after verifying the installation, proceed with the upgrade to 8.5.1 as a separate process.
    Status
    Open            
    Severity
    2 - severe
    Last Modified
    In Last 3 Days        
    Product
    Cisco Unity Connection         
    Technology
    1st Found-In
    8.5(1)ES1
    Best of luck with your changes.
    Cheers!
    Rob

  • Images in Multicolumn Listbox doesn't work as expected

    In the attached example, the symbols are getting displayed in the correct order but missing the symbol for the first row. I can manually select the symbol but by default only the 2nd symbol from the provided array list appear.
    Any idea what's the issue?
    How to display correct symbol?
    Thanks in advance.
    Cross-post from LAVA: http://lavag.org/topic/15788-images-in-multicolumn-listbox-doesnt-work-as-expected/page__pid__95584#...
    Solved!
    Go to Solution.
    Attachments:
    Images & Multicolumn ListBox.vi ‏10 KB

    Hello, Vidula
    It seems that index 0 is reserved for the empty symbol, no matter what custom symbol you provided. Adding one image in front before setting symbols array and incrementing ItemSyms indexes solves this problem. However, I can't find any information about this in documentation, which would be nice
    Attachments:
    Images & Multicolumn ListBox.vi ‏12 KB

  • I have a vi that reading data and put it in a multicolumn listbox one by one, I want to know how can I do it if i will use MS powerpoint instead of multicolumn listbox.

    i want the data to be transfered in MS Powerpoint like what multicolumn listbox act in my vi.
    (would you mind if i will ask for an example)
    Thank You

    Good morning:
    I think you might have an easier time doing this with a Powerpoint macro than with Activex. You can save your data to a spreadsheet file, and then let the PPT macro read that file and format it the way you like. You will have to have two programs operating simultaneously, but that shouldn't be a problem.
    Eric
    Eric P. Nichols
    P.O. Box 56235
    North Pole, AK 99705

  • Add text to specified index in multicolumn listbox

    Hi!
    I have smal problem with multicolumn listbox. My application should
    create list of values where user can increase and decrease values of 1
    or more tester at same time.
    e.g when user gives for tester 1 values 1 - 5, my vi creates list where values are displayd like this:
    1
    2
    3
    4
    5
    after that user gives for tester 2 values 5-1 and my vi creates list where values are displayd like this:
    1
    5
    2
    4
    3
    3
    4
    2
    5
    1
    etc.
    First I planned use insert into array function where for 1:st tester
    row index would be 0,1,2,... and for 2:nd tester row index would be
    1,3,5,... etc. One problem in this solution is that if tester 2 have
    more values than tester 1, there will be left empty rows between
    values. I planned use string replace to solve that problem, but then I
    noticed antoher nasty feature of multicolumn listbox.
    More serious problem with this structure is, that if tester 2 have more
    values than tester 1, multicolumn listbox shows only same amount of
    values than what tester 1 have and rest of values are lost in
    kyberspace, because in multicolumn listbox values can be added only
    places where already are values or to last row +1. Do anyone have any
    ideas how to prevent this or how I should build my VI so I could create
    test list for testers?

    hi Janne.
    it took me a while to get back
    sorry!
    good to know u have been able to solve it!
    anyhow, do look this vi  i have attached.  This also takes care of extra elements in the larger array and appends them into the interleaved list box entry.
    hope it can be of help to u.
    ciao
    Devchander
    Attachments:
    listbox_vi.vi ‏90 KB

  • Regarding Array to Multicolumn Listbox data's manipulation

    Hi  - I want to display the above mentioned array in muticolumn listbox with 2 columns , first column needs to be belongs to array [0] (Date and time ) and second column needs to be belongs to array [1] and array [2] ( Cone and Vane strings).
    I have tried to implement the same, please go through the attached VI and I cannot make the above mentioned array data's into two column multi column listbox data's (that is , can't able to display the array [1] and array [2] data's in single column.
    Please let me know the solution to resolve this as soon as possible.
    Thanks and Regards,
    Dinesh
    Attachments:
    Cone and Vane Operations_Final.vi ‏60 KB

    Well, your VI is a complete mess and has several CPU burner loops that run as fast as the computer allows. There is also a lot of duplicate and overly complex code. Programmed correctly, code with all this functionality could probably fit on a postcard.
    Anyway, for just building the multicolumn listbox, here's somewhat simpler code. Hopefully you can adapt it to your problem.
    Note that you probably want to add only one row at a time, and you only want to add to the listbox and save to the file when new data arrives and not millions of times per second. Try a queue, for example.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    Cone&Vane.vi ‏8 KB

Maybe you are looking for

  • Making Effective Use of the Hybrid Cloud: Real-World Examples

    May 2015 Explore The Buzz from Microsoft Ignite 2015 NetApp was in full force at the recent Microsoft Ignite show in Chicago, and it was clear that NetApp's approach to hybrid cloud and Data Fabric resonated with the crowd. NetApp solutions such as N

  • Server 2012 R2 Locks up SMBClient event log

    Hello, We have two virtual server 2012 R2 servers which are on different domains. These servers act as file servers and have all the user redirected info and profiles on them. For some reason they are randomly locking up and users call in stating the

  • EAR Deployment Aborted...

    I am creating a servlet client to test a secured web service (Document Authentication Basic (Username/Password)). When I deploy the EAR,I get error: Result => deployment aborted : file:/C:/DOCUME~1/uname/LOCALS~1/Temp/temp1530011368822716654CapsWS_EA

  • Post vendor payments f-53 need help

    i am not able to post vendor payments in F- 53 i gave discount 5% and saying to post but it is saying the difference is too large to clear? how to change the tolerance group for user? Diagnosis was to change charged difference manually by changing th

  • Connect to Solaris 10 with ssh

    Hi friends, I have not much experience with the solaris ssh service but I want to connect to my Solaris 10 station with XManager via a Secure XDMCP and ssh, I can reach my solaris machine but the authentication with the login and password of root fai