[Gambas-user] INHERITS ?????

Charlie Reinl Karl.Reinl at ...9...
Sun Apr 11 22:52:48 CEST 2004


Salut,

saw in the mailinglist INHERITS .

Want make 'INHERITS  TableView' 

If I do so in a new Class called XTableView  
--- XTableView.class ---------------- beginning  
' Gambas class file
INHERITS  TableView  

PUBLIC Name AS String
PUBLIC SUB _new(sName AS String)
 Name = sName
END
--- XTableView.class ---------------- ending
 
And call in FMain.class

PRIVATE TableView2 AS  Object
...
PUBLIC SUB Form_Open()
	TableView2 = NEW XTableView(FMain) AS "TableView2"
...
...
END

I get a MsgBox 'Not enough arguments'


What shall I do ?

Amicalement
Charlie




More information about the User mailing list