[RESOLVED] I HATE LIST BOX's
ive been trying to get a list box input its list into a label on another form. i thought it worked but ive discovered that it only inputs the last entry i make.
the code i have is
Code:
Form5.bui_lbl.Caption = spec_lst.List(spec_lst.Listcount - 1)
i tried this code with i wonder if it mite be better with some proffesional tweeking?
Code:
Form5.bui_lbl.Caption = spec_lst.List(spec_lst.Listindex > 0)
any help i'd be thankful?
Re: [RESOLVED] I HATE LIST BOX's
You're welcome. :)
I fogot to show my form2:
Private Sub Form_Unload(Cancel As Integer)
Form1.Visible = True
End Sub
Necessary since otherwise Form1 runs forever, unnoticed. But I guess you know how to handle multi-form applications anyway.
Mac
Re: [RESOLVED] I HATE LIST BOX's
i took that bit of your code out i have a simplar way to do it
form1.hide
form2.show
its a big button with a few things going on.
ta