Width of vertical scrollbar on multicolumn listbox

I am working on a touchscreen enabled user interface and need to "übersize" all the controls for fat-fingered individuals such as myself.  For the life of me, I can't figure out how to widen the vertical scrollbar and make the change permanent.  I can adjust the width customizing the control and everything is great...  Until I close the .vi and reopen it.  Then the scrollbar width reverts back to its normal skinny self.  I've tried making the custom control a typedef, but it doesn't help.  How do I make this change stick?
Thank you,
Greg

Greg,
I've just modified a MCLB's scroll bar width (customising the control) as you describe, saved the VI, then reopened the VI...
With LV 7.0 the customised control stays modified - fine.
With LV 8.0 the reloaded customisation of the control is "erroneous" - it appears that instead of reloading with the scroll bar wider, it reloads with the scroll bar normal but with the central object area box expanded to meet the scroll bar (or something like that).
There has to be a problem there with LV version 8 - I think you should get on to NI support and report this issue.
Mark.

Similar Messages

  • How to make vertical scrollbar visible for listbox which shows one entry only?

    I have resized listBox to display only one entry of char* items. As there is only one item displayed vertical scrollbar is not visible. Is there a way to show the scrollbar when listbox display is sized to show only one item?
    Using up/down arrow it does scroll through other entries.
    CLD,CTD

    The only problem using ring instead of listbox is that when there is a lot of items it pulls down the ring and hids all the other GUI items behind it. 
    Real estate was one reason of using list box and displaying one value. I did change the list box as a control instead of indicator but still cant get the scrollbar funcitonality.
    ANy other suggestion, thanks!
    CLD,CTD

  • Auto adjust column width in multicolumn listbox

    Hi
    May I know, does multicolumn listbox has a function / control to auto adjust the column width?  If not, how can I solve this problem, as user could not view the full data if the width that I set is too small. It would be annoying if the user need to adjust it manually each time they get the data from database....
    Any advise??? TQQQQQ......

    Hello 222,
    I've already seen a few threads about "auto adjust multi-column listbox column width", as far as I can remember, there is not such option in LV 7.1 (I don't know about LV 8).
    Meanwhile I think there are option that can allow the user the modify column width at runtime. This plus an horizontal scrollbar should be the alternative... I know it is not "perfect" for the user.
    You also have the possibility to do a function that will compare the string length to the column width, and to programatically increase the width if needed.
    Personnaly I wouldn't go for this but this is your choice
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

  • 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

  • Change Vertical Scrollbar width in advanced datagrid?

    Help!
    I'm creating an AIR application that will run on windows 8 touchscreen.  Problem is the touchscreen does not recognize finger swiping up/down within the air app.  Haven't figured that out yet....
    In the meantime i need wider vertical scrollbars for our employees fingers to swipe up and down.
    I've got a 'verticalSrollBarStyle' set however it doens't seem to react to 'width = x "
    Can anyone help me increase the width of the scroll bars?
    thanks!

    OK, this is because in a search item you can use as many wildcards as you like: 'A%b%cdef%'.
    If you want to restrict the maximum length, you need to make a custom template for findTextInput.vm and add the following macro:
    #ITEM_MAXIMUM_LENGTH()
    Steven Davelaar,
    Jheadstart team.

  • How do you autosize column widths in a multicolumn listbox?

    I know that it's possible to autosize row height, but I can't find anything relating to autosizing column widths in a multicolumn listbox. This makes what I'm doing difficult, because I want to be able to have dynamic content and won't know beforehand how wide to make the columns. Therefore, I need to do it programatically or find something already built in.
    Thanks for your help!

    I did an example along the lines of the suggestions above and it works pretty well. I'll attach it here. Note that this only works for 13pt font. If you want to scale this example to include larger font, then you can get that information from the cell height property, which does autoscale by default. The cell height is usually about 2 larger than the font size (i.e. 13pt font = 15 cell height, 24 pt font = 26 height).
    This example is written in LV7.0. What would really be cool is if someone would write an XControl for LV8 that would do all this automatically and require no extra block diagram code! If only I had the time...
    Jarrod S.
    National Instruments
    Attachments:
    Autosize_Columns.vi ‏30 KB

  • Listbox row 0 and vertical scrollbar issue

    Hi,
    I tried to do simple VI where I can check items in the Listbox control. My problem is that when I click anywhere on the vertical scrollbar or buttons with the triangles, Mouse Down event triggers and check item in the row 0.
    Is this an issue or is it just a mistake in code?
    For some reason I am not able to attach VI, so block diagram is below.
    Thank you for any help.
    I use LV 2010.
    Duri
    Duri
    Solved!
    Go to Solution.

    Here is a demo VI that handles listbox selection like this with a single click.  Saved in 2011, uses OpenG array.
    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.
    Attachments:
    Listbox Item Selection Demo.zip ‏55 KB

  • How can I automatically word wrap a string placed in a (multicolumn) listbox ?

    Hello,
    Using LabView 7.0:
    I need to automatically wrap text inserted in a multicolumn listbox.
    The size of the listbox is fixed and I don't know the legth of the string that will be inserted. But the whole string must be visible, because it's Information is important
    I'm not allowed to use a fixed width font. :-(
    Has anyone any ideas (or a solution already?)
    How can I compute the length of a string in pixel to calculate to position to wrap?
    Thanks in advance,
    best regards,
    Rainer

    Hi Veena,
    The trick is to use the Get Text Rect.vi to calculate where to wrap your text string. There's no feature to automatically wrap the string for you, so you will have to split you string into sections/lines, that doesn't exceed the width of the column in the listbox.
    Good luck!
    - Philip Courtois, Thinkbot Solutions

  • How to change the width of the scrollbar

    how to change the width of the scrollbar,
    I wanted to have a large scrollbar in all controls (for a touch screen app lets say) then is that possible?
    Either through CSS, code,
    skins anything really... Any ideas?
    Thanks in advance.

    Hi,
    horizonatal(vertical)ScrollBar.width - in AS/MXML code
    horizontal(vertical)ScrollBarStyleName - for style. But I'm not sure that width getted from css.

  • 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!

  • Vertical scrollbar not showing all the records when I scroll down.

    Vertical scrollbar not showing all the records when I scroll down.
    Using Oracle forms 10g , operating system windows
    I have two fields with number of items dispayed = 15.
    I have a vertical scroll bar with them. There are 34 records in the table but the scrollbar only shows 15 records.
    Here are the properties for block / scrollbar.
    WORK_CATEGORY
    - Subclass Information                           
    - Comments                                       
    * Navigation Style                                Same Record
    - Previous Navigation Data Block                 
    - Next Navigation Data Block                     
    - Current Record Visual Attribute Group          
    - Query Array Size                                0
    - Number of Records Buffered                      0
    * Number of Records Displayed                     60
    * Query All Records                               No
    - Record Orientation                              Vertical
    * Single Record                                   No
    - Database Data Block                             Yes
    - Enforce Primary Key                             No
    - Query Allowed                                   Yes
    - Query Data Source Type                          Table
    * Query Data Source Name                          WORK_CATEGORY
    * Query Data Source Columns                      
    * Column Name                                   JOB_TYPE
    * Column Type                                   VARCHAR2
    - Column Type Name                             
    - Parent Column                                
    * Length                                        30
    * Precision                                     0
    * Scale                                         0
    * Mandatory                                     Yes
    * Column Name                                   WORK_CATEGORY
    * Column Type                                   VARCHAR2
    - Column Type Name                             
    - Parent Column                                
    * Length                                        30
    * Precision                                     0
    * Scale                                         0
    * Mandatory                                     Yes
    - Query Data Source Arguments                    
    - Alias                                          
    - Include REF Item                                No
    * WHERE Clause                                   
    * ORDER BY Clause                                 job_type
    - Optimizer Hint                                 
    - Insert Allowed                                  Yes
    - Update Allowed                                  Yes
    - Locking Mode                                    Automatic
    - Delete Allowed                                  Yes
    - Key Mode                                        Automatic
    - Update Changed Columns Only                     No
    - Enforce Column Security                         No
    - Maximum Query Time                              0
    * Maximum Records Fetched                         0
    - DML Data Target Type                            Table
    - DML Data Target Name                           
    - Insert Procedure Name                          
    - Insert Procedure Result Set Columns            
    - Insert Procedure Arguments                     
    - Update Procedure Name                          
    - Update Procedure Result Set Columns            
    - Update Procedure Arguments                     
       Don't know where am I going wrong. I'll really appreciate if you can help me in this.
    Thanks.
    Edited by: 831050 on Sep 14, 2011 8:05 AM

    One of the items is a list item.. here are it's properties:
    * Name                                          JOB_TYPE
    * Item Type                                     List Item
    - Subclass Information                         
    - Comments                                     
    - Help Book Topic                              
    - Enabled                                       Yes
    * Elements in List                             
    * Label                                      
    * List Item Value                             LIST20
    * List Style                                    Combo Box
    - Mapping of Other Values                      
    - Implementation Class                         
    - Case Restriction                              Mixed
    - Popup Menu                                   
    - Keyboard Navigable                            Yes
    - Mouse Navigate                                Yes
    - Previous Navigation Item                     
    - Next Navigation Item                         
    - Data Type                                     Char
    - Data Length Semantics                         Null
    - Maximum Length                                30
    - Initial Value                                
    * Required                                      Yes
    * Copy Value from Item                         
    - Synchronize with Item                        
    - Calculation Mode                              None
    - Formula                                      
    - Summary Function                              None
    - Summarized Block                             
    - Summarized Item                              
    - Current Record Visual Attribute Group        
    - Distance Between Records                      0
    * Number of Items Displayed                     15
    - Database Item                                 Yes
    * Column Name                                   JOB_TYPE
    - Primary Key                                   No
    - Query Only                                    No
    - Query Allowed                                 Yes
    - Insert Allowed                                Yes
    - Update Allowed                                Yes
    - Update Only if NULL                           No
    - Visible                                       Yes
    * Canvas                                        CANVAS2
    - Tab Page                                     
    * X Position                                    47
    * Y Position                                    137
    * Width                                         187
    * Height                                        18
    - Visual Attribute Group                        DEFAULT
    - Prompt Visual Attribute Group                 DEFAULT
    - Foreground Color                             
    * Background Color                              white
    - Fill Pattern                                 
    - Font                                         
    * Font Name                                     Tahoma
    * Font Size                                     10
    * Font Weight                                   Demilight
    * Font Style                                    Plain
    * Font Spacing                                  Normal
    * Prompt                                        Job Type
    - Prompt Display Style                          First Record
    * Prompt Justification                          Start
    * Prompt Attachment Edge                        Top
    - Prompt Alignment                              Start
    * Prompt Attachment Offset                      10
    * Prompt Alignment Offset                       0
    - Prompt Reading Order                          Default
    - Prompt Foreground Color                      
    - Prompt Font                                  
    * Prompt Font Name                              Tahoma
    * Prompt Font Size                              10
    * Prompt Font Weight                            Bold
    * Prompt Font Style                             Plain
    * Prompt Font Spacing                           Normal
    - Hint                                         
    - Display Hint Automatically                    No
    - Tooltip                                      
    - Tooltip Visual Attribute Group               
    - Direction                                     Default
    - Initial Keyboard State                        Default
    - Keyboard State                                Any
        

  • Htp.p( pre )  and vertical scrollbar

    Greetings,
    Carl used the code below for an OnDemand Process in
    http://apex.oracle.com/pls/otn/f?p=11933:13:3295006254376178
    Can I set the height and have vertical scrollbar with the pre tag?
    I've tried a div tag with no success.
    declare
    l_Id varchar2(4000);
    l_String varchar2(32767);
    begin
    select DESCRIPTION into l_String from "RANDOMDATA" where id = v('TEMPORARY_ITEM');
    htp.p('<pre>'||l_String||'</pre>');
    end;
    Thanks,
    Tim
    Edited by: Tim Arnold on Jan 18, 2009 8:14 AM

    I am just gessing but wouldn't this work:
    DECLARE
       l_id       VARCHAR2 (4000);
       l_string   VARCHAR2 (32767);
    BEGIN
       SELECT description
         INTO l_string
         FROM "RANDOMDATA"
        WHERE ID = v ('TEMPORARY_ITEM');
       HTP.p ('<div style="width:1000;overflow-y:scroll">' || l_string || '</div>');
    END;?
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Remove vertical scrollbar from multi-row af:inputText

    Hi,
    Is it possible?
    I'm using JDeveloper 11.1.2.1
    I have two text field (af:inputText) and field 2 is a multi line row, which automatically adds extra width for the vertical scrollbar, and throws off the right alignment
    field 1 |________|
    field 2 |_______|v|
    I need both field 1 and 2 to be left and right aligned
    i.e.
    field 1 |_______|
    field 2 |_______|
    Is there a way to do this? I was thinking this could be achieved by removing the vertical scrollbar, but I'm not sure how to do this.
    Also, the application needs to be viewed in both mobile device (iPad) and desktop. Since iPad doesn't use scrollbar (hence it's not rendered), setting both fields to have fixed width won't achieve what i need, because it will be correct in one version, but not both.
    Thank you for any information.
    Regards,
    Andi

    Hi Navaneeth,
    Code:
    <h:panelGrid columns="2" id="pg1">
    <af:outputLabel value="Field 1" id="ol5"/>
    <af:inputText value="#{bindings.ModelCode1.inputValue}"
    required="#{bindings.ModelCode1.hints.mandatory}" columns="#{bindings.ModelCode1.hints.displayWidth}"
    maximumLength="#{bindings.ModelCode1.hints.precision}"
    shortDesc="#{bindings.ModelCode1.hints.tooltip}" id="it4">
    <f:validator binding="#{bindings.ModelCode1.validator}"/>
    </af:inputText>
    <af:outputLabel value="Field 2" id="ol4" shortDesc="#{bindings.Comments.hints.tooltip}"/>
    <af:inputText value="#{bindings.Comments.inputValue}"
    required="#{bindings.Comments.hints.mandatory}" columns="#{bindings.Comments.hints.displayWidth}"
    maximumLength="#{bindings.Comments.hints.precision}" shortDesc="#{bindings.Comments.hints.tooltip}"
    id="it9" rows="#{bindings.Comments.hints.displayHeight}">
    <f:validator binding="#{bindings.Comments.validator}"/>
    </af:inputText>
    </h:panelGrid>
    Current layout:
    http://img607.imageshack.us/img607/4282/fieldalignmentproblem.jpg
    Desired layout (To have it aligned as per the green line):
    http://img338.imageshack.us/img338/7865/fieldalignmentdesired.jpg
    Thanks,
    Andi

  • 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

Maybe you are looking for