Adding new properties to controls

Hi
How can I customize a control by adding a new propriety ?
In my case Id like to add a new string propreity to Bevelbuttons to store some text
Thanks

You need to subclass it as a custom control.

http://developer.xojo.com/userguide/subclassing-examples