The Syntax is:
GuiButton( “Text”, id, x, y, width , height , notifyflags )`
So the Notifyflags param has below possilble values:
notifyflags - decides which events fire execution of your formula, it can be any combination of values below
1 - clicked (button)
2 - setfocus (all)
4 - killfocus (all)
8 - hit enter/return key (edit)
16 - edit change (edit)
Refer to this page: http://www.amibroker.com/devlog/wp-content/uploads/2017/03/readme6210.html
It has an example usage of `GuiButton( “Custom button”, 1, 10, 40, 100, 30, 7 );
But question is, why the Notifyflags param value has been passed as “7” in this example usage and not one from the pre-defined list of 1,2,4,8 or 16?