[Gambas-user] RE: phone center

Pozzo mauriiiii3001 at ...325...
Tue Feb 10 20:09:21 CET 2004


I've finished my project is a very simple program so maybe could be add 
to the examples. While I was working on it I though about an easier way 
to work with arrays of controls. What about something like this:

DIM j AS Integer
   
    FOR j=1 TO 4
    ("lin" &  j).text = ""
    NEXT

I where there are 4 textboxes wich names are lin1, lin2, lin3 and lin4, 
so the code should work like adding the number of j to lin and compose 
the name of the control.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: Phone_center-1.0.tar.gz
Type: application/gzip
Size: 1358 bytes
Desc: not available
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20040210/b2be011d/attachment.gz>


More information about the User mailing list