[Gambas-user] Object beginer, how to create objects on a form

Demosthenes Koptsis demosthenesk at ...626...
Sat Jun 18 16:00:37 CEST 2011


Hi,

i try to implement some examples about object creation.
i have this example

---------------------
Public Sub Button1_Click()

  Dim hTextBox1 As TextBox

  hTextBox1 = New TextBox(FMain)
  hTextBox1.Text = "Set hTextBox1"
  hTextBox1.X = 80
  hTextBox1.Y = 120

  FMain.Refresh
  Wait 1
  
End
---------------------

I expect the textbox to appear on Fmain, but it isn't.


-- 
Regards,
Demosthenes Koptsis.





More information about the User mailing list