
Change the state of a toggle button without running the click event
You could set the SpecialEffect Property on the toggle button to either the
value '2' or to 'fmSpecialEffectSunken', then the toggle button would appear
as pressed, and again, set this same property to either as the value '1' or
to 'fmSpecialEffectRaised' to have it appear as depressed.
Ronald Dodge
Production Statistician
Master MOUS 2000
Quote:
> When I click a button I want another button (a toggle) to change from
> deppressed to undepressed. so I just say: ToggleButton.Value = False
> Trouble is when it runds it goes to the click event for that button which
I
> don't want to run, I just want to change it's state. Anyone know a
> workaround or how to access the state property of the button alone?
> Thanks for your help, kind rgds, Mark