window release method compile error

Moderator: Rathinagiri

bluebird
Posts: 172
Joined: Wed Sep 28, 2016 3:55 am
DBs Used: DBF

Re: window release method compile error

Post 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
mlnr
Posts: 126
Joined: Fri Aug 28, 2015 1:52 pm
DBs Used: DBF

Re: window release method compile error

Post by mlnr »

Hi Bluebird,

Try this

DoMethod("Form_3","Hide")
DoMethod("Form_3","Release")
Best regards,
Gabor
Marin
Posts: 33
Joined: Tue Dec 20, 2016 1:39 pm
DBs Used: DBF
Location: Bulgaria, Sofia
Contact:

Re: window release method compile error

Post 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
Post Reply