On button clicked create label in form7? It is possible in visual basic 6.0?

Newbie Member
11Nov2009,01:55   #1
MudiW's Avatar
Hello, I want to create a command that when the button is clicked creates a lable down the last label in form7. It's possible? If yes, how

Thanks
Go4Expert Founder
11Nov2009,09:44   #2
shabbir's Avatar
Why do you think it would not be possible ?
Light Poster
11Nov2009,20:14   #3
dennyphilip's Avatar
yes it is possible ...
In which language do u want it to be done??
Go4Expert Member
13Dec2009,19:17   #4
Cseek's Avatar
with vb6
use object.control.add method

dim lbl_x as control
set lbl_x = frm_x.controls.add("vb.label","lbl_10")

try something like this
Skilled contributor
24Jan2010,19:53   #5
ManzZup's Avatar
not tat hard

dim lblNew as new label
lbl.text = "your text"
form7.controls.add(lbl)