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

Demosthenes Koptsis demosthenesk at ...626...
Sun Jun 19 06:45:21 CEST 2011


yes i found it after all.

Thanks!

On Sat, 2011-06-18 at 17:14 +0300, Jussi Lahtinen wrote:
> Add some size for it, example:
> 
>  hTextBox1.Width = 100
>  hTextBox1.Height = 100
> 
> 
> Jussi
> 
> 
> 
> On Sat, Jun 18, 2011 at 17:00, Demosthenes Koptsis
> <demosthenesk at ...626...>wrote:
> 
> > 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.
> >
> >
> >
> > ------------------------------------------------------------------------------
> > EditLive Enterprise is the world's most technically advanced content
> > authoring tool. Experience the power of Track Changes, Inline Image
> > Editing and ensure content is compliant with Accessibility Checking.
> > http://p.sf.net/sfu/ephox-dev2dev
> > _______________________________________________
> > Gambas-user mailing list
> > Gambas-user at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/gambas-user
> >
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

-- 
Regards,
Demosthenes





More information about the User mailing list