makkw102598
asked on
the limit of VB
Is VB possible to write a program include an array such that each array represent a pre-designed command button, and when the whole array is counting the indivdual button would be shown in the appropreiate area?
i.e. array counting ... 1,2,3,.....
command button(1) displaying....
command button(2) displaying....
command button(3) displaying.... and so on. possible?
i.e. array counting ... 1,2,3,.....
command button(1) displaying....
command button(2) displaying....
command button(3) displaying.... and so on. possible?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Sorry about the ironical phrase above.
Can I put the first design in to the first array, and when the user has entered the number of that forms he needed, the computer counts from 1 to x so that it will generate x number of the same design of forms, hence to be able to store each of these forms into each of those array?
Possible?
If possible, how should the outline of the code be like?
Is the better English? thanks
Can I put the first design in to the first array, and when the user has entered the number of that forms he needed, the computer counts from 1 to x so that it will generate x number of the same design of forms, hence to be able to store each of these forms into each of those array?
Possible?
If possible, how should the outline of the code be like?
Is the better English? thanks
Why create 100's of more-or-less identical forms? Have *one* form that you use as a template. From a main module load the form into memory and then start filling in the options. You'll only have one form to track that can be as different at you need it to be. 'seed' the form with control arrays that only have one element defined. That way you can add an additional element to the control array and a new button or text box appears. Once you have the entire form updated, *THEN* show it.
M
M
ASKER
Thanks for your answer.
Is that possible for me to send you the code that I have done so far, thru the email? I don't know how to describe it thru typing.
Is that possible for me to send you the code that I have done so far, thru the email? I don't know how to describe it thru typing.
ASKER
because my main problem is that I have designed a form which includes command buttons, labels, text, and so on.
But without making 100s of these forms of the same design.
can I put the first design in to the first array, and when the user has entered the number of that forms it is going to be needed then count from 1 to x so that it will generate x number of the same design of forms, hence to be able to store each of these forms into each of those array?
i.e.
storage is designform1
user enter 3
designform_1 display...
designform_2 display...
designform_3 display...
myarrayform(1) is designform_1.
myarrayform(2) is designform_2.
myarrayform(3) is designform_3. and so on
if the user enter say.. 30
there will be 30 of these e.g. ..... designform_30 display ........... myarrayform(30) is designform_30........
But I have only design one form.
and it will generate so many forms ( of the exact design) that the user entered. possible if possible.
How should the online of the code be like?
Thanks for helping.