[Gambas-devel] component creation

Daniel Campos daniel.campos at ...103...
Sun Apr 24 11:55:17 CEST 2005


Frank Berg escribió:

> hi,
>  
> if i create an component
> and the component create an new form with button(s),
> the button event must declared public, so in the main application the 
> name of the public event is shown,
>  
> i find this is not so pretty. better is to hide the sub or function 
> name of events (if i want it)
>  
> maybe an extra keyword is possible, such at
>  
> public hide sub button1_Click()
> public shroud sub button1_Click()   (my translator gif me that word :-)
>  
> frank
>  
>  
>  


I had a similar problem with the xml.rpc component. I think It should be:

NOEXPORT PUBLIC SUB button1_Click()

This problem will very usual when writting classes derived from "Control".

Benoît, we are more people now :-)))) please add this change....

Regards,

D. Campos






More information about the Devel mailing list