Frequently Asked Questions
- PPC Version of BeBuilder
Many people asked me when a PPC version would be available. Well the answer is not quite simple, i have a sort of "contract" with a company in Montreal and they should do the port with my help. But it takes time and they are really busy these last weeks. I would like to thank anybody who proposed me to do it for free, but for obvious reasons i would like to keep an eye on the project for the moment.
- AddOns
Some people asked me if i could add their components to BeBuilder, or if an API was available... well with V0.3 i can proudly announce :-) that YEP! now you can add your own components into BeBuilder.
Nevertheless, the addon protocol is in its early stages so the developer's kit is only available for those who will ask for it!
- Where do I pop in my code so when you click a Button it executes that code?
This a mail i sent few days ago to BoMaX, a friendly BeBuilder user!
From: Jerome Fillon
To: BoMaX
Subject: Re: BeBuilder
Date: lundi 11 janvier 1999 19:13
Ok.
Let's begin with BeBuilder V0.2 and create an application through the tutorial.
When your gui is ready i.e. with a couple of buttons, editboxes, check boxes , radio buttons and menu items.
Select in the list the active item like a button or a menuitem.
Once the item is selected, go in the property list in the properties windows.
You should notice something like "Message = " click on it and specify a string like B_MESSAGE_BUTTON_SAVE for a "save" button you have in your gui.
I wrote B_MESSAGE_XXX because it's the "norm" in the BeBook but you can write what you want... ;-) You need to be sure that the last 4 letters of the string you used are unique in the "application"...
and generate the code... if it's a Button, CheckBox, Radio or TextControl go to the AViewxxx.cpp the code generated for the view that is responsible of your controls.
In the MessageReceived function you will see your
B_MESSAGE_BUTTON_SAVE :
// Add your handler here
you add your code here... for example : printf("My button is running!");
don't forget to add #include <<>stdio.h<>> ;-)
and you are done...
do a "make" and it works! ;-)
hope it helps you!
Index