list box

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gurk

    #1

    list box

    hi all,

    is there a way, to make collumns in a listbox, or is there an other box that
    already exists of more collumns?

    thanks
    Maarten


  • Veign

    #2
    Re: list box

    Try the ListView control in Report Mode

    --
    Chris Hanscom
    MVP (Visual Basic)
    Veign. 116 likes. Veign helps people step into the future with confidence. We teach powerful tech skills in a practical, approachable way — giving you the tools to build, create, and grow beyond what...

    --

    "Gurk" <gurkjaan@hotma il.com> wrote in message
    news:412382f3$0 $332$ba620e4c@n ews.skynet.be.. .[color=blue]
    > hi all,
    >
    > is there a way, to make collumns in a listbox, or is there an other box[/color]
    that[color=blue]
    > already exists of more collumns?
    >
    > thanks
    > Maarten
    >
    >[/color]


    Comment

    • Gurk

      #3
      Re: list box

      i've been looking arround, and everybody is taking about a combo box

      i can't find it in my vb 6.0 what does it do, and where can i find it

      thanks
      Maarten

      "Veign" <me@home.com> wrote in message
      news:0DLUc.1820 $2L3.788@newsre ad3.news.atl.ea rthlink.net...[color=blue]
      > Try the ListView control in Report Mode
      >
      > --
      > Chris Hanscom
      > MVP (Visual Basic)
      > http://www.veign.com
      > --
      >
      > "Gurk" <gurkjaan@hotma il.com> wrote in message
      > news:412382f3$0 $332$ba620e4c@n ews.skynet.be.. .[color=green]
      > > hi all,
      > >
      > > is there a way, to make collumns in a listbox, or is there an other box[/color]
      > that[color=green]
      > > already exists of more collumns?
      > >
      > > thanks
      > > Maarten
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Rick Rothstein

        #4
        Re: list box

        To add a ListView control to your project, go to Project/Components on
        VB menu and select Microsoft Windows Common Controls (the first one,
        without a tagged number after it) from the list that appears. The
        ListView control will be one of the controls that are added to your Tool
        window.

        Rick - MVP


        "Gurk" <gurkjaan@hotma il.com> wrote in message
        news:4123902a$0 $4187$ba620e4c@ news.skynet.be. ..[color=blue]
        > i've been looking arround, and everybody is taking about a combo box
        >
        > i can't find it in my vb 6.0 what does it do, and where can i find it
        >
        > thanks
        > Maarten
        >
        > "Veign" <me@home.com> wrote in message
        > news:0DLUc.1820 $2L3.788@newsre ad3.news.atl.ea rthlink.net...[color=green]
        > > Try the ListView control in Report Mode
        > >
        > > --
        > > Chris Hanscom
        > > MVP (Visual Basic)
        > > http://www.veign.com
        > > --
        > >
        > > "Gurk" <gurkjaan@hotma il.com> wrote in message
        > > news:412382f3$0 $332$ba620e4c@n ews.skynet.be.. .[color=darkred]
        > > > hi all,
        > > >
        > > > is there a way, to make collumns in a listbox, or is there an[/color][/color][/color]
        other box[color=blue][color=green]
        > > that[color=darkred]
        > > > already exists of more collumns?
        > > >
        > > > thanks
        > > > Maarten
        > > >
        > > >[/color]
        > >
        > >[/color]
        >
        >[/color]

        Comment

        • Gurk

          #5
          Re: list box

          thank jou all for replying me

          at the moment i've git this code and it works fine

          Private Sub Command2_Click( )

          Dim clmX As ColumnHeader

          Set clmX = ListView1.Colum nHeaders. _
          Add(, , "IO", ListView1.Width / 10)

          For intI = 1 To 16
          strIO = GetINI("IO", "IO" & intI, "?")

          If strIO = "input" Then

          Set clmX = ListView1.Colum nHeaders. _
          Add(, , intI, ListView1.Width / 40)


          End If
          Next intI

          ListView1.View = 3


          no meightby a simple question, but is there a way to add values into certain
          collomns.

          thanks Maarten




          "Rick Rothstein" <rickNOSPAMnews @NOSPAMcomcast. net> wrote in message
          news:nPOdnStp35 WjBb7cRVn-qw@comcast.com. ..[color=blue]
          > To add a ListView control to your project, go to Project/Components on
          > VB menu and select Microsoft Windows Common Controls (the first one,
          > without a tagged number after it) from the list that appears. The
          > ListView control will be one of the controls that are added to your Tool
          > window.
          >
          > Rick - MVP
          >
          >
          > "Gurk" <gurkjaan@hotma il.com> wrote in message
          > news:4123902a$0 $4187$ba620e4c@ news.skynet.be. ..[color=green]
          > > i've been looking arround, and everybody is taking about a combo box
          > >
          > > i can't find it in my vb 6.0 what does it do, and where can i find it
          > >
          > > thanks
          > > Maarten
          > >
          > > "Veign" <me@home.com> wrote in message
          > > news:0DLUc.1820 $2L3.788@newsre ad3.news.atl.ea rthlink.net...[color=darkred]
          > > > Try the ListView control in Report Mode
          > > >
          > > > --
          > > > Chris Hanscom
          > > > MVP (Visual Basic)
          > > > http://www.veign.com
          > > > --
          > > >
          > > > "Gurk" <gurkjaan@hotma il.com> wrote in message
          > > > news:412382f3$0 $332$ba620e4c@n ews.skynet.be.. .
          > > > > hi all,
          > > > >
          > > > > is there a way, to make collumns in a listbox, or is there an[/color][/color]
          > other box[color=green][color=darkred]
          > > > that
          > > > > already exists of more collumns?
          > > > >
          > > > > thanks
          > > > > Maarten
          > > > >
          > > > >
          > > >
          > > >[/color]
          > >
          > >[/color]
          >[/color]


          Comment

          Working...