Frequently Asked Questions
- Business Model
As you might noticed BeBuilder is freeware... Only external addons can be sold. Ex: a third party could create an AddOn for BeBuilder to connect to an Oracle Database and could sell it and make money.
We want every BeOS developer to be able to create easily a GUI without spending a cent.
All components included with BeOS will be added to BeBuilder. It's just a question of time!
- PPC Version of BeBuilder
Unfortunately i do not have any PPC machine at home for the moment. I hope that Be will do a port on those wonderful G4...
- 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!
In V0.5 the very common components will be included in BeBuilder as static AddOns in the BeBuilder exe. If you want to add your addon in the next release of BeBuilder, just contact me.
- Where do I pop in my code so when you click a Button it executes that code?
This is an e-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