[Gambas-user] qt4 and form.controls

Jussi Lahtinen jussi.lahtinen at ...626...
Thu Sep 17 15:50:21 CEST 2009


Noticed same thing. Although "Me.Children" works.
Me.Controls.Count is not zero, but enumeration doesn't happen at all.
With Qt3 all works as expected.

@Ubuntu 9.04 64bit

Jussi


On Thu, Sep 17, 2009 at 15:37, nero <tmp2009 at ...2180...> wrote:
> hi ,
>
> I'm trying some of my code on gambas3 to be ready when it's done.
>
> I've some problem with form controls using qt4 , i've a form with n
> controls and want to enumerate them .
>
> I'm using somethink like:
>
> ------------------------------------------------
> Public Sub Button1_Click()
> Dim ch As Object
>
>  For Each ch In Me.Controls
>    ta.Insert(ch.name & "\n")
>  Next
>
> End
>
> (note: ta is a textarea)
>
> ------------------------------------------------
>
> using qt3 i see all controls , but with qt4 i get nothink and also no error.
>
> I'm using svn 2336.
>
> thanks,
> marco.
>
>
>
> --
> Se mi etichetti, mi annulli.
>                -- Kirkegaard
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>




More information about the User mailing list