Results 1 to 2 of 2

Thread: Popup Controls

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 2003
    Location
    South Africa
    Posts
    123

    Popup Controls

    Hi Guys

    Is it possible to popup/show a control eg. ComboBox at selected listitem/subitem in a listview? similar to the VB6 control's properties window.

    Thanks
    Beware of the Dog

  2. #2
    Lively Member
    Join Date
    May 2003
    Location
    Los Angeles
    Posts
    126
    To do this, I put a listbox control on a form containing a listView control. Set the listbox visible property to False, then use this..
    [vb]
    Private Sub ListView1_MouseDown(Button As Integer, Shift As Integer, x As Single, y As Single)
    If Button = vbRightButton Then
    List1.AddItem ListView1.SelectedItem
    List1.Visible = True
    End If
    [/vb]

    HTH
    Michael

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width