[Gambas-user] How to call .class file from main file

WALKER RICHARD richard.j.walker at ...247...
Sun Mar 25 14:25:51 CEST 2012


In Gambas 3 the .class files are hidden until you display them. A new
project starts with just the main form showing in the IDE.

One way to show the form's class file is to right-click in the project
tree on the left of the screen on the FMain icon and select "Edit
code" from the pop-up menu.

Another way to edit the click event code for a particular button is to
select that button on your form, right-click it and you will see an
"Event" option near the top of the pop-up menu. Hover over that option
with your mouse and a list expands which shows all the possible events
you can attach to your button. Click on the "click" event at the top
of the list and the class file for your form will open with the code
for your click event under the cursor.

The quickest way to edit the code for a button click event is simply
to double-click the button on the form designer.




More information about the User mailing list