[Gambas-user] Set/GetProperty/Find Method feature request

Benoît Minisini g4mba5 at gmail.com
Sat May 23 20:40:45 CEST 2020


Le 23/05/2020 à 20:26, Peter Bauer a écrit :
> This doesn't have any sense at all in Gambas.
> What do you want to achieve?
> 
> I already wrote a small Gambas App (gui_server)
> https://gambas.one/gambasfarm/?id=821&action=search
> https://forum.crystal-lang.org/t/state-plans-of-gui-development-with-crystal/1615/28
> which allows to use many Gambas GUI objects from other scripting 
> languages like Ruby, Python and Crystal(compiled Ruby like language).
> Currently I walk the controls and classes with a for each loop to make 
> all Objects and Properties available to GUI clients(TCP socket 
> connection) by their Name. But I  am not happy with the performance of 
> my code. I started with the Controls TextArea and Buttons, some 
> events already work fine.
> 

Each form can return one of its control from its name (using the array 
accessor, see the doc). Other Gambas objects usually do not have names.

Regards,

-- 
Benoît Minisini


More information about the User mailing list