Is There An Example Program Using The Project Manager

Just starting out? Need help? Post your questions and find answers here.
KieferThomas
User
User
Posts: 16
Joined: Tue Apr 05, 2016 4:24 pm

Is There An Example Program Using The Project Manager

Post by KieferThomas »

Hello All!,

I would like to know if there is an example program out on the net using the Project Manager in Pure Basic?

I have a program which I have written & is crammed into a single file with all the windows & events. This is very messy when it comes to trying to make changes even with all the remarks in the program.

I have been trying to work with the project manager to break down each section into different include files & things just are not working.

I just need a example project with two windows & events on each window using the include file method from using the Project manager.

Thanks in advance,
Kiefer
User avatar
blueb
Addict
Addict
Posts: 1116
Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico

Re: Is There An Example Program Using The Project Manager

Post by blueb »

Kiefer...

I specifically chose this project that had a lot of 'included' files, rather than a simple 1 or 2 files
so that you would get a better feel how the Project Manager worked.

ChartDirector..
see: http://www.purebasic.fr/english/viewtop ... 89#p505589

HTH
- It was too lonely at the top.

System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
KieferThomas
User
User
Posts: 16
Joined: Tue Apr 05, 2016 4:24 pm

Re: Is There An Example Program Using The Project Manager

Post by KieferThomas »

Thank you: Enthusiast,

You have definitely given me something I can use to cross reference with! I will pick it apart later today and see what I come up with. I will keep you posted!

Thanks again,
Kiefer
User avatar
Kurzer
Enthusiast
Enthusiast
Posts: 676
Joined: Sun Jun 11, 2006 12:07 am
Location: Near Hamburg

Re: Is There An Example Program Using The Project Manager

Post by Kurzer »

Hello KieferThomas,

I use some self-made project templates for my programs, so that I don't have to re-program the GUI framework every time.

You can download one of my templates for the next 30 days here:
https://nofile.io/f/3xYU626yjuV/Projekt ... 560%2B.zip

The template provides you with a main window (with menu, toolbar, statusbar and a button) and a settings window including the administration of settings, which can be saved and loaded in a prefs file. The windows are resizeable and all gadgets will stick at the right place or will be resized because of a implemented window resize-handler.

Image

Image

The template is of course very much adapted to my own needs and may not be completely suitable for you. Everyone approaches the programming of a GUI-based app differently, but I think you can get some information from the project.

Stuff can be programmed in a different way and maybe the template still contains logical errors, but I haven't noticed any problems using the framework so far. I've been using it in this form since PB 5.60 (it's not compatible with older PureBasic versions).

The template and the comments are in german language, but maybe you are a german speaker. Otherwise... the code is not so hard to read, it was more like an assembly line job to make it.

Attention: Please note that I use a 3rd party tool for creating the windows (PureForm). The file "gui_Windows. pbf" is therefore not necessary for you if you don't use this tool. You also have to create or customize the file "gui_Windows. pbi" yourself.

I wish you every success.

Kind regards
Kurzer

Partially translated with http://www.DeepL.com/Translator
PB 6.12 x64, OS: Win 11 24H2 x64, Desktopscaling: 150%, CPU: I7 12700 H, RAM: 32 GB, GPU: Intel(R) Iris(R) Xe Graphics | NVIDIA GeForce RTX 3070, User age in 2025: 57y
"Happiness is a pet." | "Never run a changing system!"
Pureabc
User
User
Posts: 76
Joined: Mon Jan 16, 2006 1:11 am

Re: Is There An Example Program Using The Project Manager

Post by Pureabc »

kurzer,

Could you upload the file again?

Thank you.
User avatar
RSBasic
Moderator
Moderator
Posts: 1228
Joined: Thu Dec 31, 2009 11:05 pm
Location: Gernsbach (Germany)
Contact:

Re: Is There An Example Program Using The Project Manager

Post by RSBasic »

http://www.rsbasic.de/backups/ - Search for "Projekt-Template 560 .zip"
Image
Image
Post Reply