PDA

Click to See Complete Forum and Search --> : Disabling Toolbar Button


Gimpster
Nov 24th, 1999, 12:39 AM
How do I disable a button on a toolbar during runtime?

------------------
Ryan
corneslen@hotmail.com
ICQ# 47799046

MartinLiss
Nov 24th, 1999, 12:56 AM
MyForm.MyButtons.Buttons(MyIndex).Enabled = False

------------------
Marty

Gimpster
Nov 24th, 1999, 01:46 AM
Perfect! Thank you. Although, I had to change the "MyButtons" group that you mentioned to the toolbar group, but after that, it worked fine. Thanks again.

------------------
Ryan
corneslen@hotmail.com
ICQ# 47799046