Canno delete a function

In my app I have Hamburger1.onclick=function()

I somehow ended up with

Hamburger1.onclick=function()and
Hamburger1.onclick=function(s)

I could not remove the function is I renamed the control to HBHome and added a new o’clock event.

All 3 events show but the onclick event is not firing.

If I delete the code the functions still show in the functions window.

Cheers

Steve Warby

The list of functions in the left hand window will get updated when you reopen the Code Window for that form.

They are not getting updated.

I can send you the app privately if required.

Cheers

Steve Warburton

Please do! Zip the entire project folder (so I’m sure to have all the files) and include step by step instructions to show the problem.

Download full resolution images
Available until 11 Jun 2018
https://www.icloud.com/attachment/?u=https%3A%2F%2Fcvws.icloud-content.com%2FB%2FAWXmCWuP_eF-VxL12pW8crqxbj75AVPeLY4jKRdz0i6vUfkZPAvDmsCT%2F%24{f}%3Fo%3DAq2Cxi3afEhERsH7Rfmpw_JweTg328pOoWVYQJbbwono%26v%3D1%26x%3D3%26a%3DByxRW_Mokl_NpsPaiaAVABMjAFAvA-HAQwEACAHIAP9UjBfnAyEYQw%26e%3D1528721298%26k%3D%24{uk}%26fl%3D%26r%3D80F0460A-4854-4DAC-BA6B-B10DD59693C0-1%26ckc%3Dcom.apple.largeattachment%26ckz%3D855E4236-A845-4394-A011-F972BCAB2191%26p%3D29%26s%3DOSIPYBOGnz3LwXhXxm7qHcrIwXY&uk=JTl7b6R5un9ikBeL14EshQ&f=Images.zip&sz=8234Click to Download
https://www.icloud.com/attachment/?u=https%3A%2F%2Fcvws.icloud-content.com%2FB%2FAQTvq28FnWC4NatOBaOWOfwma8WdAVdwN3adAmNiFtIdSanN5p9cKo_t%2F%24{f}%3Fo%3DAgImqxJUeImlmqEPRpGxL19lgNtppZ0pLtg4plNsExjg%26v%3D1%26x%3D3%26a%3DB_j_RxGB_IdC3lE7P7qHDV8hUgeyA-HAQwEACAHIAP8qpgmgAyEYQw%26e%3D1528721299%26k%3D%24{uk}%26fl%3D%26r%3DEBF5DC4C-835E-4003-A4C8-0EFA22F13E21-1%26ckc%3Dcom.apple.largeattachment%26ckz%3D855E4236-A845-4394-A011-F972BCAB2191%26p%3D29%26s%3DTvq-qNVHyrj5y325aAXc4TDB4yw&uk=IBx2IBj6spQ15EHRdylUxg&f=Archive%202.zip&sz=28382092Archive 2.zip
28.4 MB

As in the post :

In my app I have Hamburger1.onclick=function()

I somehow ended up with

Hamburger1.onclick=function()and
Hamburger1.onclick=function(s)

I could not remove the function is I renamed the control to HBHome and added a new o’clock event.

All 3 events show but the onclick event is not firing.

If I delete the code the functions still show in the functions window.

Cheers

Steve Warby

07861 486831
sales@toolfolks.com mailto:sales@toolfolks.com
https://www.facebook.com/toolfolks/ https://www.facebook.com/toolfolks/
60 - 62 Penny Meadow
Ashton Under Lyne.
OL6 6HE

Could you also give me the step by step so I can see the problem you are seeing?

When you open the app you will see multiple 'hamburger.onclick ’ in the function window.

Cheers

Steve Warby

And here is your code. Multiple Hamburger1.onclick=function(){ functions:

56 AM

Get rid of those and all is well.