Private Type userData Xoriente As Double Yoriente As Double Zoriente As Double End Type Dim PointData() As userData
Private Sub Command1_Click() If PointData(0).Xoriente <> 0 Then ReDim Preserve PointData(UBound(PointData) + 1) PointData(UBound(PointData)).Xoriente = Text1.Text PointData(UBound(PointData)).Yoriente = Text2.Text PointData(UBound(PointData)).Zoriente = Text3.Text End Sub
Private Sub Form_Load() ReDim PointData(0) As userData End Sub
|