window release method compile error

Moderator: Rathinagiri

bluebird
Posts: 167
Joined: Wed Sep 28, 2016 3:55 am
DBs Used: DBF
Has thanked: 49 times
Been thanked: 7 times

Re: window release method compile error

Post by bluebird » Thu Dec 29, 2016 4:48 pm

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: 88
Joined: Fri Aug 28, 2015 1:52 pm
DBs Used: DBF
Location: Hungary
Has thanked: 28 times
Been thanked: 9 times

Post by mlnr » Thu Dec 29, 2016 8:49 pm

Hi Bluebird,

Try this

DoMethod("Form_3","Hide")
DoMethod("Form_3","Release")
Best regards,
Gabor

Marin
Posts: 32
Joined: Tue Dec 20, 2016 1:39 pm
DBs Used: DBF
Location: Bulgaria, Sofia
Has thanked: 36 times
Been thanked: 5 times
Contact:

Post by Marin » Sat Dec 31, 2016 8:03 am

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