man, that was easy....it sucks! follow my directions....
first...you gotta put a control (whatever control it is) example Text1.Text
then....you select it and copy...then a message prompt will ask you whether you
want to create a control array for it...choose yes, of course.
then you make the coding....then end. hehehe! just kidding.
' you declare a variable integer
Dim ctr as integer
' now use for loop
For ctr = 0 to Number_u_want ' start with 0
Load Text1(ctr)
Text1(ctr).Visible=True ' make it visible
Next x
' now i leave u with the proper positioning of the controls...okay!!!
".rEs" <[EMAIL PROTECTED]> wrote:
not sure if this helps, but it's quite easy to create an object at design
time, then us Load to create more in an array:
'create 2 command buttons on your form
'create a frame on your form
'give command1 an Index of 0
'cut and paste Command1 into Frame1
'use load to dynamically create more buttons
Private Sub Command2_Click()
Dim xx As Long
For xx = 1 To 5
Load Command1(xx)
Command1(xx).Left = Command1(xx - 1).Left
Command1(xx).Top = Command1(xx - 1).Top + Command1(xx - 1).Height
Command1(xx).Enabled = True
Command1(xx).Visible = True
Next xx
End Sub
>
> Hi,
>
>
> its kamalesh from chennai, any one of our members can help me.
>
> how to create a dynamic controls in any one of the container object.
>
>
> thanks in advance,
>
>
> with cheers
> kamalesh
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
>
>
> '// =======================================================
> Rules : http://ReliableAnswers.com/List/Rules.asp
> Home : http://groups.yahoo.com/group/vbHelp/
> =======================================================
> Post : [EMAIL PROTECTED]
> Join : [EMAIL PROTECTED]
> Leave : [EMAIL PROTECTED]
> '// =======================================================
>
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
>
>
> --------------------------------------------------------------------------
------
> Yahoo! Groups Links
>
> a.. To visit your group on the web, go to:
> http://groups.yahoo.com/group/vbhelp/
>
> b.. To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>
> c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>
'// =======================================================
Rules : http://ReliableAnswers.com/List/Rules.asp
Home : http://groups.yahoo.com/group/vbHelp/
=======================================================
Post : [EMAIL PROTECTED]
Join : [EMAIL PROTECTED]
Leave : [EMAIL PROTECTED]
'// =======================================================
Yahoo! Groups SponsorADVERTISEMENT
---------------------------------
Yahoo! Groups Links
To visit your group on the web, go to:
http://groups.yahoo.com/group/vbhelp/
To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
---------------------------------
Yahoo! Messenger - Communicate instantly..."Ping" your friends today!
Download Messenger Now
[Non-text portions of this message have been removed]
------------------------ Yahoo! Groups Sponsor --------------------~-->
Make a clean sweep of pop-up ads. Yahoo! Companion Toolbar.
Now with Pop-Up Blocker. Get it for free!
http://us.click.yahoo.com/L5YrjA/eSIIAA/yQLSAA/k7folB/TM
--------------------------------------------------------------------~->
'// =======================================================
Rules : http://ReliableAnswers.com/List/Rules.asp
Home : http://groups.yahoo.com/group/vbHelp/
=======================================================
Post : [EMAIL PROTECTED]
Join : [EMAIL PROTECTED]
Leave : [EMAIL PROTECTED]
'// =======================================================
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/vbhelp/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/