14/04/09 20:26
azz.ciccio
ciao a tutti magari i problemi finissero.... qualche anima pia ha idea perche' non mi funziona questo spezzone di codice?
grazie
grazie
Private Sub Command2_Click() Dim j, g, pointX, pointY As Long Dim CostDiv As Long Val (listX) ' listX e' il nome della listbox Val (ListY) ' idem CostDiv = 10000 ScaleMode = 3 DrawWidth = 2 PSet (ScaleWidth, ScaleHeight / 2) For j = 0 To listX.ListIndex = 0 pointX = listX / CostDiv Picture1.PSet (pointX, pointX), vbRed For g = 0 To ListY.ListCount = 0 pointY = ListY / CostDiv Picture1.PSet (pointY, pointY), vbRed Next g Next j End Sub
aaa