Results 1 to 4 of 4

Thread: ToolBar Help!! - Populate Drop Down

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    617
    I get a button on a toolbar and I've made it the DROP-DOWN STYLE... How do I populate the dropdown in there??

    Can any 1 help?

    Thanks in advance

  2. #2
    Frenzied Member Buzby's Avatar
    Join Date
    Jan 1999
    Location
    UK
    Posts
    1,670
    You use the Insert Button Menu button in the properties page. (on the same page as you define what appears on each button).
    'Buzby'
    Visual Basic Developer
    "I'm moving to Theory. Everything works there."

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    617

    hmm

    Thanks a lot Buzy... ( I did not know that)

    Is there a way I can populate that from a db table

    Thanks much..

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Aug 2000
    Posts
    617

    hmm

    Just in case someone does a search on this item
    (If any interest...)

    'Next I am trying to check off an item from this dropdown
    'if selected

    With Button

    If rs Is Nothing Then
    '
    Else
    Do Until rs.EOF
    li_Counter = li_Counter + 1

    .ButtonMenus.Add li_Counter, rs(0),rs(1)
    .ButtonMenus.Item(li_Counter).Visible = True
    .ButtonMenus.Item(li_Counter).Enabled = True

    rs.MoveNext
    Loop
    End If

    End With

    Thanks

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