[Gambas-devel] Creating a Control

Benoît Minisini gambas at ...1...
Sun Sep 7 19:26:45 CEST 2014


Le 07/09/2014 17:20, John Leake a écrit :
> Hi All,
> I am struggling to understand how to create  a new control.
>
> Please forgive me, I have read the help on this but I am none the wiser.
>
> As a test I just want to create a control that behaves like a
> ToggleButton but changes colour each time it is clicked.
>
> Could anyone help me get started ?
>
> Best regards,
> John Leake
>

You have a bunch of controls made in Gambas in the gb.form component. 
The sources of all components made in Gambas are located in 
`/trunk/comp/src/<component name>`.

Then read that, to know how to make a control:

http://gambaswiki.org/wiki/dev/gambas

Then ask your questions!

Regards,

-- 
Benoît Minisini




More information about the Devel mailing list