[Gambas-user] String to Form

Ron ron at ...1740...
Thu Oct 16 13:15:15 CEST 2008


Silly thing I can't get my grip on, even after some coffee ;)

I want to make the form to load on my workspace user configurable.

So I have a cmbbox with all available Forms to load.

I have a routine to place a form on the workspace, it expects a Form as 
param.
and I have cmbForms.Text = "FControl" for example.

How can I tell gambas it should use the string as a form name to open?

It's now complaining about getting a string in instead of an Object.

Often the small things take most of the time ;)

Regards,
Ron_2nd.






More information about the User mailing list