And another one...
Code:
For y=1 To 7
For x=0 To 5
AddImageButton("Form1","IB"&x&y,15+(y*25),70+(x*25),24,24)
Control("IB"&x&y,ImageButton).Transparent=True
Next x
Next y
This creates a 7x6 grid of ImageButtons, and throws NO erros on the IDE...
BUT, if I try to compile....Well, see the error message in the picture below.
__________________
Paulo Gomes - Porto, Portugal - Living/Working in France
Mobile Device: Samsung Galaxy S, Android 2.3.4 CUstom ROM
Laptop: Toshiba NB100-130 (running on Win7Ultimate)

My Posts helped you? Consider Buying me a Porto Glass!