Does Import ActiveX work only with
Publicado: Vie May 20, 2011 5:02 pm
Hi,
After Importing some ActiveX objects, the proper .prg and .ch files are
properly created. But when tracing through the code, after e.g.
oAXObject := TAXObject():New(),
In the debugger, the oAXObject shows only form-related properties,
related to fonts, borders, etc. It doesn't contain any of the
properties generated in the .prg file, from the type library.
Is the Import intended to work only for form-style components? Do we
have to stick with CreateObject() to use non-form Com components?
After Importing some ActiveX objects, the proper .prg and .ch files are
properly created. But when tracing through the code, after e.g.
oAXObject := TAXObject():New(),
In the debugger, the oAXObject shows only form-related properties,
related to fonts, borders, etc. It doesn't contain any of the
properties generated in the .prg file, from the type library.
Is the Import intended to work only for form-style components? Do we
have to stick with CreateObject() to use non-form Com components?