Results 1 to 4 of 4

Thread: Dropdown Button

  1. #1

    Thread Starter
    Fanatic Member spud's Avatar
    Join Date
    Aug 2000
    Location
    Munster (Germany)
    Posts
    542

    Question

    I have a drop down button on my toolbar with 5 functions what i am tryinh to do is whencertain events happen on the main form certain functions become disabled, basicly i want to enable and disable the contents of that button bar.
    I have been at this for 2 weeks and i cnat find any reference to the dropbown button. Thanks

  2. #2
    Big D Danial's Avatar
    Join Date
    Jul 2000
    Location
    ASP.Net Forum
    Posts
    2,877
    Here is how you can use drop down button.

    1. Add a toolbar
    2. Right click on the toolbar and click on properties
    3. Choose the buttons tab
    4. Click on insert button
    5. click on insert button menu
    6. Enter the text and key
    7. Click on style and choose tbrDropdown
    8. Press ok

    To code the dropdown buttons choose the event ButtonMenuClick.

    Danial

  3. #3
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    For instance, To disable the first buttons dropdownmenus first item:
    Code:
    Toolbar1.Buttons.Item(0).ButtonMenus(0).Enabled = False
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  4. #4

    Thread Starter
    Fanatic Member spud's Avatar
    Join Date
    Aug 2000
    Location
    Munster (Germany)
    Posts
    542

    Smile

    Thanks Danial & Kedman
    At last after two weeks and lots of posting (Not this sight)I have the answer.
    Well Done.

    Alan

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