Page 1 of 1

Event file field removed?

Posted: Sat Mar 22, 2014 2:48 am
by kpeters58
In a number of places right here in this forum and in YouTube videos I see references to an Event file.

Using 5.22 LTS x64 I do not see the field for it where it should be according to various screenshots etc.

Has the functionality changed?

Also: Is there a way to set WindowBounds via the designer?

Thanks,
Kai

Re: Event file field removed?

Posted: Sat Mar 22, 2014 7:43 pm
by Lothar Schirm
I can answer your first question. Event files are not used any more. You can assign an event procedure to each gadget in the Form Designer, and you can write all your event procedures into your main file. In the PB help file there is a short chapter "Form Designer" where this concept is briefly described. You can also use "BindGadgetEvent()", in this case you need not define event procedures in the Form Designer, and you write all your callback procedures (= event procedures) into your main file, you use the Form Designer only to design your GUI.