![]() Mainwindow.pbf and secondwindow.pbf - two files with form definition for Window_0 and Window_1 Main.pb - main code file where "manual event loop" defined Right now in my case I've got 4 files in my project: What do you think ? Could you please advice ? Proper procedures in form designer) which might sound as wrong idea - but it is working solution. What options have to be switched on/off to avoid code corruption (famous generate event loop / generate event procedures)Ĭould you please advice ? it's much easier to learn by example !Īs you could see construction quite similar to the one referenced in the post that I mentioned earlier.īut in this case I just have to set proper logic for selecting correct events - and then use any proceduresĭisadvantage of this method is that it seems that general idea of event procedure not used (no need to select Understand how to build together such configuration, how to handle events for each of the gadgets from both forms, What I am trying to find is an example (real life example that could be loaded into PureBasic 5.41 for examination) ofĭemo application that consist of two independent forms, main code file and events files (.pb files with events - one forĮach forms - from what i could see that's seems to be the best coding practice - or not ?)Ĭould anyone please share an example code or manual/tutorial describing steps need to create such configuration ?įorms could be quite simple - just probably two buttons, string and text gadgets on each of the forms. Some reason can't find proper tutorial or examples for it. Procedures or it seems that people prefer to just avoid using designer at all, or (that's also could be the case) I am for Getting a bit misleading info: either there was some kind of change in the form designer itself that affect code building Overall I was able to solve main issue with just main code conversionīut unfortunately i am stack with GUI development procedures. ![]() Native applications without side dependencies. I am just trying to get use to new development environment (PureBasic) switching from B4J because of need to build ![]()
0 Comments
Leave a Reply. |