Help me in my Vb problem? - index of jpg private
I need help. I am a real noob to do it, I want to help.
I am a box program, and basically what I do is Put values int the combo box and the total number on the label below (the fact) and pressing the void, essentially replaces element list (done) and the value of the mark which came in the list box on the command button. (have not done to help) button and the process continues in a form and show the label, which is listed on Form 1 (the sum ....") form1.label1.caption (not yet done so to help that)
Here is my code, form 2 is empty
Under ListBoxRemSel (List1) "from the combo, but not the value of the
Dim A As Integer
Do Until List1.SelCount = 0
If List1.Selected (a) List1.RemoveItem then a = a - 1
A = A + 1
Loop
End Sub
Private Sub Command1_Click (Index As Integer)
If index = 0 Then 'button with a value of 10
List1.AddItem Command1 (0). Legend
Label1.Caption = Val (Label1.Caption) + Command1 (0). Legend
ElseIf Index = 1 Then 'value of 20
List1.AddItem Command1 (1). Legend
Label1.Caption = Val (Label1.Caption) + Command1 (1). Legend
Other
If Index = 2 Then 'value of 30
List1.AddItem Command1 (2). Legend
Label1.Caption = Val (Label1.Caption) + Command1 (2). Legend
End If
End If
End Sub
Private Sub Command2_Click ()
Form2.Show
"Process of the total values in the list box on the form shown below
End Sub
Private Sub Command4_Click ()
Call ListBoxRemSel (List1) "list box is empty and the issue should override the value stored in the list on the label
End Sub
Here's a picture of my surface, if you can not view
http://i64.photobucket.com/albums/h190/punxz18/123-1.jpg
Tuesday, December 8, 2009
Index Of Jpg Private Help Me In My Vb Problem?
Subscribe to:
Post Comments (Atom)
1 comments:
You can do a number of ways ....
1 - If your new form, pass the value (s) as parameter:
Private Sub Command2_Click ()
SO Form2 as a new form (value)
Form2.Show
End Sub
2 - Create a global variable for the value and the form can be accessed.
Post a Comment