|
-
Dec 31st, 1999, 05:11 AM
#1
Thread Starter
New Member
Can anyone tell me how to create text boxes with captions & place them on different locations of the form at run time using mouse/keyboard please? Or is there a way to create these fields (text boxes) using a combination of keys? (I.e. INS to insert (begin) a field & then space bar to create the length & finally DEL to end field?.
Thanks
Niranjan
-
Jan 1st, 2000, 01:16 AM
#2
Yes you Can ...
but you have to :
1- in Desin Time .. copy And Paste the control that you want to be cerated at run time ...
VB Will Ask You If you want to do this Control as array control ... select Yes .
2- When You Chk The Control Name It will be Like That E.G (Text1(1)).
Now At Run Time You Can Use ( Load - Unload ) Founction .
E.G ( Load Text1(3) )
the Program Will Cerate New Text Box Named
(Text1(3))
and you Can Use Unload To Delete This Control E.G ( Unload Text1(3)).
Note:
Any Control Cerated At Run Time Will Be Visible=False , So You Need to Set This Value to TRUE to See That Control .
------------------
S-Os
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|