Page 1 of 1

FORM.Release

Posted: Tue Dec 17, 2019 7:05 am
by AUGE_OHR
hi

what if i have a ActiveX in a FORM which might have a active Session :?:

do i need to "stop" all ActiveX :?:
if Yes how :idea:

Code: Select all

PROCEDURE DoHTMLrelease()
   ShowHtml.Activex_1.Release
   ShowHtml.Release
RETURN
give me a Error.
Release a window in its own 'on release' procedure or release the main window in any 'on release' procedure is not allowed. Program terminated

Re: FORM.Release

Posted: Tue Dec 17, 2019 9:57 am
by danielmaximiliano
never destroyed the object in real time, but its container should be destroyed by assigning that space with null value

Code: Select all

#define c715F 'HASAR.Fiscal.1'
function main
o715F := CreateObject( c715F )
*****
******
o715F := Nil
Return

Re: FORM.Release

Posted: Tue Dec 17, 2019 7:20 pm
by AUGE_OHR
hi,
danielmaximiliano wrote: Tue Dec 17, 2019 9:57 am never destroyed the object in real time, but its container should be destroyed by assigning that space with null value
OK, that i understood, THX