I get this error message when I run my script. Here is the problematic extract :
Code: Select all
hide_word_btn := presenter_gui.Add("Button", , "Cacher le mot")
hide_word_btn.OnEvent("Click", Hide_Word_Btn) ; <-- The error message points to this line : "Specfically : Hide_Word_Btn"
...
Hide_Word_Btn(*){
image_name_txt.Text := ""
image_name_txt.Visible := 0
Return
}
Could you help me ?
I'm not very good at programming, so I hope to not bother you with an obvious problem I didn't see...