How to hide a property in a usercontrol

Posted by Alex_u4a on 06-Apr-2009 08:25

When using your own control, all public properties are shown in the property editor. Is there a way to hide a property or make it readonly (like the [browsable] attribute in c# )?

All Replies

Posted by Admin on 06-Apr-2009 09:25

Unfortunately that's not possible.

With SP1 at least, the Visual Designer does no longer generate code that tries to set the default value for read-only properties. I've discussed this with Progress development already, but I guess the proper way would be to add an enhancement request or at least log it with tech support.

Posted by Alex_u4a on 06-Apr-2009 10:02

Not the answer I was hoping for ;-) But thanks, I will log it with techsupport.

Posted by Admin on 06-Apr-2009 10:10

Next time, I won't tell the truth anymore. :-)

This thread is closed