[Gambas-user] component

Benoit Minisini gambas at ...1...
Wed Mar 2 17:14:32 CET 2005


On Wednesday 02 March 2005 13:49, Frank Berg wrote:
> 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
>
>

Did you update the information file by running "gbi -a" as root ?

-- 
Benoit Minisini
mailto:gambas at ...1...




More information about the User mailing list