This is my "main" program. PUBLIC SUB _new() disegnaLableChitarra() disegnaTastieraChitarra() END
These are two subroutines but I want to have them in separated file. What I have to do? PUBLIC SUB disegnaLableChitarra() DIM lableChitarra AS Label lableChitarra = NEW Label(ME) AS "MiaLable" lableChitarra.Text = "La Chitarra" lableChitarra.Caption = "La Chitarra" lableChitarra.H = 33 lableChitarra.W = 44 END PUBLIC SUB disegnaTastieraChitarra() DIM hButton AS Button DIM i AS Integer DIM j AS Integer FOR i = 1 TO 24 FOR j = 1 TO 6 hButton = NEW Button(ME) AS "Ilmiopulsante" & i hButton.Top = 20 * j + 200 hButton.Left = 20 * i hButton.H = 20 hButton.W = 20 hButton.Caption = i NEXT NEXT END ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user