Event file field removed?

You need some new stunning features ? Tell us here.
User avatar
kpeters58
Enthusiast
Enthusiast
Posts: 341
Joined: Tue Nov 22, 2011 5:11 pm
Location: Kelowna, BC, Canada

Event file field removed?

Post 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
PB 5.73 on Windows 10 & OS X High Sierra
Lothar Schirm
User
User
Posts: 54
Joined: Mon Nov 26, 2012 4:57 pm

Re: Event file field removed?

Post 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.
Post Reply