Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS toolbar6.0
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
MS toolbar6.0
Miscellaneous
Thread ID:
00144457
Message ID:
00144457
Views:
59
How do you enable/disable individual buttons using the new MS Toolbar 6.0. I am using the imagelist control to hold images for the buttons and creating the necessary buttons in code.


*--Forms init code

THISFORM.coolbar.imagelist = THISFORM.imagelist

WITH THISFORM.coolbar
.buttons.add(,"save","Save",,"save")
.buttons.add(,"new","New",,"new")
.buttons.add(,"open","Open",,"open")
ENDWITH

I've been using command buttons and disable/enable as needed, but not sure how this works with the new MS Toolbar and the documentation for this control doesn't clearly state the syntax for controlling state of the buttons.

I would appreciate any help.

Thanks.

John
Next
Reply
Map
View

Click here to load this message in the networking platform