[Gambas-user] component

Frank Berg frankberg at ...390...
Wed Mar 2 13:49:43 CET 2005


Hi group

i`m trying to crate an icon to my ax25 component and set it to the gambas 
Network propertys. so i was create an png named it ax25.png and copy it to 
$ROOT/app/gambas/img/control/ and in the gb.lib.ax25.component i was insert 
the lines:
Group=Network
Controls=ax25

after compiling gambas an new icon is shown under the Network propertys.. 
fine :-)

but:
if i set this icon on a form i receive many errors:

1.) raised an unexpected error: [13] Null object: FProperty.RefreshAll.117
2.) and in the console many errors like

SetProperty: ax25.X: CControl.SetProperty.353: Null object
SetProperty: ax25.Y: CControl.SetProperty.353: Null object
SetProperty: ax25.Width : CControl.SetProperty.353: Null object
SetProperty: ax25.Height : CControl.SetProperty.353: Null object
SetProperty: ax25.Visible : CControl.SetProperty.353: Null object
SetProperty: ax25.Tag : CControl.SetProperty.353: Null object
and so on..

so i think i was not inherit the ccontrol correct????

i was looking all the net components and the qt components, but i can not 
see the place where i must do this.

pleace help..

frank







More information about the User mailing list