Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!

Highlight everything in a Listbox

Discussion in 'Information Technology' started by Bob, Jul 28, 2006.

  1. Bob

    Bob
    Expand Collapse
    Guest

    Is there a code to add to a button to highlight everything (line) in a list
    box?

    Thanks in advance.........Bob Vance
     
  2. Loading...

    Similar Threads Forum Date
    Sikh News Life After 9/11: NY 'Sikh Project' To Highlight Community Heroes - Chandigarh Tribune Breaking News Sep 12, 2016
    United Sikhs UNITED SIKHS AID Team Assists in Oklahoma Tornado Relief Efforts Highlights Sikh Organisations May 26, 2013
    Legal Highlights of the Budget Breaking News Mar 3, 2013
    General UBC Conference Highlights Feminism In Sikhism Hard Talk Oct 27, 2012
    USA Global Sikh Conference highlights challenges affecting Sikh Community Breaking News Apr 28, 2012

  3. Bob

    Bob
    Expand Collapse
    Guest

    Sorry it is Unbound and Simple Muli select,,,Thanks

    "Bob" <xxx@xx.xx> wrote in message news:e5o1k9$5qs$1@lust.ihug.co.nz...
    >
    >
    > Is there a code to add to a button to highlight everything (line) in a
    > list box?
    >
    > Thanks in advance.........Bob Vance
    >
     
  4. Bob

    Bob
    Expand Collapse
    Guest

    Oops, Just discovered by changing it to (Extended) and using the shift key
    does it...Is this acceptable?? Thanks Bob

    "Bob" <xxx@xx.xx> wrote in message news:e5o2ki$7sf$1@lust.ihug.co.nz...
    > Sorry it is Unbound and Simple Muli select,,,Thanks
    >
    > "Bob" <xxx@xx.xx> wrote in message news:e5o1k9$5qs$1@lust.ihug.co.nz...
    >>
    >>
    >> Is there a code to add to a button to highlight everything (line) in a
    >> list box?
    >>
    >> Thanks in advance.........Bob Vance
    >>

    >
    >
     
  5. fredg

    fredg
    Expand Collapse
    Guest

    On Fri, 2 Jun 2006 12:44:23 +1200, Bob wrote:

    > Is there a code to add to a button to highlight everything (line) in a list
    > box?
    >
    > Thanks in advance.........Bob Vance


    Make sure the ListBox MultiSelect property is set to either Simple or
    Extended.

    Dim x as Integer
    For x = 0 To ListBoxName.ListCount - 1
    Me.ListBoxName.Selected(x) = True
    Next x
    --
    Fred
    Please respond only to this newsgroup.
    I do not reply to personal e-mail
     

Share This Page