[Gambas-user] Form.Show by name as string of form

Jussi Lahtinen jussi.lahtinen at ...626...
Tue Apr 29 14:42:09 CEST 2014


> I tried your suggestion, but an error-notice is raised:
>
>    " Not an object "
>

Where the error comes?
I just tested the code and it works on my system.
How do you declare the forms?




>    Object.Call(hMyForms["Form_name_1"], "Show", Null)
>

This should be same thing than hMyForms["Form_name_1"].Show. In both cases
you need valid object...



Jussi



More information about the User mailing list