Enable/Disable Button in/out of Filter Mode

crhodus

Registered User.
Local time
Yesterday, 18:25
Joined
Mar 16, 2001
Messages
257
I have a button, named cmdRemoveFilter, on my form that, when clicked, will remove the filter from the form. Currently, the button cmdRemoveFilter is disabled. How can I have the button cmdRemoveFilter enabled whenever my form, frmCompInfo, is in filter mode and then disabled whenever the form is no longer in filter mode?

Thanks!
 
There is ApplyFilter even on your form. Put a procedure behind it and then inside the procedure make your button enabled/disabled. Use the ApplyType variable to determine if the filter is on/off. If applytype = 1 then button.visible=false...

Hope this helps.

Doug
 

Users who are viewing this thread

Back
Top Bottom