Wiki Home

Aclass


Namespace: WIN_COM_API
2016-12-07 - found a bug in aClass()!

form = CreateObject('form')
form.AddObject('oleClass_2', 'oleClass_2') && a class derived from Olecontrol needs to be in a visual container

? AClass(aa, form.oleClass_2), aa && obtained 1: 'OLECLASS_2', expected 3: 'OLECLASS_2', 'OLECLASS_1', 'OLECONTROL'

define class oleClass_2 as oleClass_1
enddefine

define class oleClass_1 as Olecontrol
	oleClass = 'Shell.explorer.2'
enddefine


Thierry Nivelet
( Topic last updated: 2016.12.07 05:08:37 AM )