[Gambas-user] control groups

Stefano Palmeri rospolosco at ...152...
Tue Mar 4 12:24:44 CET 2008


Alle 10:44, martedì 4 marzo 2008, Kari Laine ha scritto:
> Hi,
>
> I am beginner so I ask stupid questions.
>
> I have 40 textboxes on a form. They are part of a group. How I make
> program to process those boxes in order from 1 to 40?
>
> I mean in a style like
> -----------------------
> for each textboxvariable in group
> 	process box
> next
> -----------------------
>
> Best Regards
> Kari
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user

DIM hControl AS Control

FOR EACH hcontrol IN ME.Children
    
    IF object.Type(hControl) = "TextBox" THEN 
      PRINT hcontrol.name
    ENDIF 
    
NEXT 

Stefano





More information about the User mailing list