OLE Properties (OpenInsight 64-bit)
At 10 JAN 2020 07:03:03PM Barry Stevens wrote:
now that this will be implemented in 10.0.8 OLE Controls
can the OI9 import routine be updated to then copy the ole properties from the oi9 forms
At 13 JAN 2020 09:38AM Carl Pates wrote:
Barry,
OLE properties in v9 are are an hex-encoded byte array embedded into the form structure, and saved/reloaded via the IPersistStreamInit interface. Therefore as they are embedded like this they will be migrated to v10 and processed when the control is created just as they were in v9.
However, prior to the v10.0.8 update the v10 Form-Designer had no way to present these intrinsic OLE properties to the user, so even though they were present there was no way to edit them, which probably gave the impression that they were not migrated.
With the new update we can still load a byte array via IPersistStreamInit (if it's there, for backwards compatibility) but we'll no longer be saving it going forward - rather there is now an explicit list of OLE property names and values stored in the window structure in a more transparent manner.
Having said this - if you have seen a migrated v9 form whose OLE properties have not been brought across to v10 then please enter it into the bug tracker and I'll take a look.
At 13 JAN 2020 06:07PM Barry Stevens wrote:
so even though they were present there was no way to edit them, which probably gave the impression that they were not migrated.
I would say you assumption is correct.
thank you.