How to display listbox control's horizontal scrollbar - InfoPath Dev
in

InfoPath Dev

How to display listbox control's horizontal scrollbar

Last post 06-18-2008 10:53 AM by Karsten Brocksieper. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-11-2008 10:02 AM

    • rohit
    • Top 500 Contributor
    • Joined on 03-17-2008
    • Posts 50

    How to display listbox control's horizontal scrollbar

    Hi,

     

    I have listbox control,it content repeating large single line data.

    But it will not shows horizontal scrollbar.

    How to display horizontal scrollbar.

     

    Plesae help.

     

    Thanks in advace,

  • 06-18-2008 10:53 AM In reply to

    Re: How to display listbox control's horizontal scrollbar

    Hello,

    in case of using Infopath 2007 you can use the "Multiple Selection Box". This type of listbox shows a horizontal scrollbar as opposed to the 'normal' listbox.

    But unlike to the 'normal' listbox the first item in the list is selected by default. Unfortunately, while you can change which item is selected by default, it's not possible to turn off default selection.

    Here's a work around for this second problem.

    1. Create a multiple-selection list and add items to it. It should have a default item selected.
    2. Create a new repeating text field in your data source (Type: field (element), Data type: text (string), repeating box is checked) in whatever group is appropriate.
    3. Bind your multiple-selection list box to the new data source. If you check the properties of the box, you will now see that the default item is gone.
    4. Delete the original data source

    Hope that helps...

    Regards, Karsten

    Karsten
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.