Page 2 of 2

Re: window release method compile error

Posted: Thu Dec 29, 2016 4:48 pm
by bluebird
Thanks and appreciation to all who respond, but I do not want to waste valuable time of yours.

Lets try a simple question. The first Two of the statements below do not compile, they give me the syntax error at the dot
The last one does compile but so should the others according to the HMG reference.

//Form_3.hide
//Form_3.release
release window Form_3

I will be happy to know what sort of reasons there could be. I will not ask for anyone to debug my code,

Again, sincere thanks for all who responded

Re: window release method compile error

Posted: Thu Dec 29, 2016 8:49 pm
by mlnr
Hi Bluebird,

Try this

DoMethod("Form_3","Hide")
DoMethod("Form_3","Release")

Re: window release method compile error

Posted: Sat Dec 31, 2016 8:03 am
by Marin
Hi Bluebird,

Another suggestion from me. Try to simply change the name of the window <Form_3> because the string 'form' seems to belong to the reserved words. It is possible to arise some conflict due to this circumstance. I have had a similar problem with a field, which I called "BLACK".

Kind regards,
Marin