Enable / Disable a button which is within a drawer?

Does anyone know if it is possible to enable or disable a button which is within a drawer?

set enabled of button “myButton” of window “myWindow” to true

or

tell window “myWindow”
set enabled of button “myButton” to true
end tell

When i define myWindow as the drawer content window it does not seem to like it. Anyone ever experienced this?

Thanks in anticipation.

I have found the answer!!

set enabled of button "myButton" of drawer "Drawer" of window "Main" to true

Hope this helps someone else as I feel a little stupid now!!