OLE Control improvements in v10.0.8

Published 10 JAN 2020 at 02:46:12PM

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:

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:

[caption id="attachment_2985" align="aligncenter" width="554"] OLE Control CLSID General Tab[/caption]

[caption id="attachment_2986" align="aligncenter" width="553"] OLE Control CLSID Properties Tab[/caption]

[caption id="attachment_2987" align="aligncenter" width="553"] OLE Control CLSID Methods Tab[/caption]

[caption id="attachment_2988" align="aligncenter" width="554"] OLE Control CLSID Events Tab[/caption]

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:

[caption id="attachment_2991" align="aligncenter" width="625"] OLE Control QualifiedOleEvents Editor[/caption]

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:

[caption id="attachment_2994" align="aligncenter" width="408"] OLE Properties in the IDE Property Panel[/caption]

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:

[caption id="attachment_2997" align="aligncenter" width="409"] OLE Enumerated Properties dropdown[/caption]

Hopefully this will make working with OLE controls and OpenInsight 10 easier for you in the future.

Comments

Original ID: revdevx.com/?p=2981
  • third_party_content/community/commentary/revdevx/19003.6154166667.txt
  • Last modified: 2024/01/29 20:23
  • by 127.0.0.1