How to disable the number box without disabling the drop down list selection linked to the number box?

Hello,

How to disable the number box without disabling the drop down list selection linked to the number box?

Thanks

Chiheb

SolidworksApi macros