# GenericAudioProcessorEditor - enable / disable sliders

**URL:** <https://forum.juce.com/t/genericaudioprocessoreditor-enable-disable-sliders/32201>\
**Category:** Audio Plugins\
**Created:** [March 10, 2019, 10:16am UTC](https://forum.juce.com/t/genericaudioprocessoreditor-enable-disable-sliders/32201 "2019-03-10T10:16:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jdxm21](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/jdxm21/32/5978_2.png) [@jdxm21](https://forum.juce.com/u/jdxm21)\
**Post date:** [March 10, 2019, 10:16am UTC](https://forum.juce.com/t/genericaudioprocessoreditor-enable-disable-sliders/32201/1 "2019-03-10T10:16:40Z")

</div>

Is there a way to enable and disable UI controls (i.e. sliders, combo boxes etc) when using GenericAudioProcessorEditor?  
Thanks  
jdx

---

<div class="post-metadata">

**Author:** ![xenakios](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/xenakios/32/4047_2.png) [@xenakios](https://forum.juce.com/u/xenakios)\
**Post date:** [March 10, 2019, 11:28am UTC](https://forum.juce.com/t/genericaudioprocessoreditor-enable-disable-sliders/32201/2 "2019-03-10T11:28:59Z")

</div>

Maybe you can use getChildren to get the child components? If you are lucky, the relevant child components are placed in the array in some pattern that corresponds to the AudioProcessor parameter indexes.

It’s probably best to do your own component for the parameters, though. It seems to me the GenericAudioProcessorEditor is just meant for quick initial testing, not really for a proper GUI, since the customization options are so limited.
