|
-
Aug 5th, 2000, 04:47 PM
#1
Thread Starter
Fanatic Member
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
-
Aug 5th, 2000, 05:23 PM
#2
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
-
Aug 5th, 2000, 05:36 PM
#3
transcendental analytic
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.
-
Aug 5th, 2000, 09:37 PM
#4
Thread Starter
Fanatic Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|