[Gambas-user] string to object coercion?

Hans-Martin Bundeshund bundeshund at ...467...
Fri Jul 30 19:37:09 CEST 2004


Am Freitag, 30. Juli 2004 19:25 schrieb Mail List:
> I have a text box name "textbox1"
> I would like to print the text in textbox1
>
> I would like to code the following:
>
> a = "textbox1"

set the text:
	textbox1.text = "some text"
get the entry from textbox1:
	dim a as string
	a = testbox1.text


>
> print a.text
>
>
> any help on how I can make this happen?
>
> print Object(a.text)
>
> doesn't work but would seem logical to me.
>
> TIA
>

HTH

HM




More information about the User mailing list