We added quite a bit of design-time functionality for OLE controls in v10.0.8 so this post provides a quick overview of what’s new:
The CLSID property
This property has a new “editor” dialog. While it doesn’t allow you to change the CLSID (that’s by design – if you change the CLSID it’s a totally different control!) it does provide you with a lot of information about the control question such as it’s Registry attributes and it’s properties, methods and events, e.g:
The QualifiedOleEvents property
This property has a new editor that allows you to specify which OLE events you wish to qualify when the control is created, hopefully removing the need for you to do this in code:
The OLE Properties section
We’ve also added a new category called “OLE” to the properties displayed in the IDE Property Panel, and this contains all of the design-time OLE properties that can be edited for the control:
You may also notice that we’ve added some property type-support for editing OLE properties here as well:
- Color properties can now use the standard Color property editor
- Fonts can now be edited with the standard Windows Font dialog
- Enumerated types are edited with a dropdown list showing the “internal” and “external values, e.g:
Hopefully this will make working with OLE controls and OpenInsight 10 easier for you in the future.