[Gambas-user] Advanced tutorials

Benoit Minisini gambas at ...1...
Fri Sep 26 01:04:21 CEST 2008


On vendredi 26 septembre 2008, Scott Hayes wrote:
> Hi everyone,
>
> I had used Visual Basic since it came out as version 1. Stopped with
> version six because I moved to Linux, great move as far as I'm
> concerned. I have just installed Gambas and I'm in love. I have been
> doing well so far but I am looking for more advanced tutorials, all I
> can find is the beginner tuts. Nothing in specific just want to be able
> to take Gambas to the next level.
>
> Also, I trying to come up with a project to do, I'm aving Brain Farts
> and can't come up with any ideas. Can you help.
>
> Scott

Hi,

Welcome to Gambas. :-)

I can give you many ideas, but it depends on your skills.

There is a big thing to do for Gambas, but I don't have the time. I gave some 
explanation to Robert Rowe, because he started to do itw own toolbar, but I 
have no news since April.

What is needed is an application-global keyboard shortcuts / toolbar 
management.

This is a bunch of code that must do the three following things:

1) Implement an initialisation routine that will browse one or all opened 
forms of a project (I don't know yet how it should precisely work) and make a 
list of all defined menu and toolbar actions. A menu entry is an action, a 
toolbar button is an action, and a same action can be present in a toolbar 
and in a menu entry. Note that Gambas already implements an Action property 
that is just a string that allows to uniquely identify an action. There is 
more than that in this property, but I will give more details if you are 
interested in the project.

2) Be able to initialize toolbar buttons with a list of actions. We can 
suppose that the initial toolbar is built of all possible actions, and that 
it is just a matter of removing them.

3) Be able to assign a shortcut to each action.

4) Present a dialog to the user to configure everything: defining the shortcut 
of each action, adding an action to a toolbar, removing an action from a 
toolbar, adding a separator to a toolbar. Using Drag & Drop is the best, but 
is not necessary at the first time.

Tell me if you are interested, talk to me about your skills, and I will give 
your more details.

Use the developer mailing-list for that!

Regards,

-- 
Benoit Minisini




More information about the User mailing list