[Gambas-user] Unexpected error / abort

Benoit Minisini gambas at ...1...
Thu May 3 21:58:30 CEST 2007


On jeudi 3 mai 2007, Gareth Bult wrote:
> Yes, I'd figured .. I was using this for the DBConnection type and as it
> was non-graphics, didn't really want all the associated methods ...
>
> I'd "like" to present it in the same way you present a timer .. don't
> suppose there's a neat way of doing this for a Gambas component ?
>
> Gareth.
>

You can, by specifying "Virtual" instead of "Control" in the "Provides" tab in 
the project property dialog.

Another point: if you don't want an inherited property in _Properties, you can 
prefix its name with a minus sign.

Silly example: 

  PUBLIC CONST _Properties AS String = "*,-Background,-Foreground"

Regards,

-- 
Benoit Minisini




More information about the User mailing list