Professional Documents
Culture Documents
PROGRAMACION DIGITAL
1. DEFINICIN
2. FINALIDAD
programacin
-metrado de columnas.
la seleccionamos y ponemos
empezar a metrar.
Form2.Show
Else
txtcontra.Text = Clear
txtcontra.SetFocus
End If
End Sub
Unload Me
End Sub
Form2
Form3.Show
Else
End If
End Sub
Private Sub Command2_Click()
Unload Me
End Sub
imgcolumna.Visible = True
imgvigas.Visible = False
End If
End Sub
Form3
End Sub
lbll1.Caption = 5.715
lblr1.Caption = 2.8575
lblac1.Caption = "3/8"
lblc1.Caption = "4.488"
Else
lbll1.Caption = 7.62
lblr1.Caption = 3.81
lblac1.Caption = "1/2"
lblc1.Caption = "5.985"
Else
lbll1.Caption = 9.525
lblr1.Caption = 4.7625
lblac1.Caption = "5/8"
lblc1.Caption = "7.481"
Else
lbll1.Caption = 11.43
lblr1.Caption = 5.715
lblac1.Caption = "3/4"
lblc1.Caption = "8.977"
End If
End If
End If
End If
lbllon1.Caption = "1"
Else
lbllon1.Caption = "2"
Else
lbllon1.Caption = "3"
Else
lbllon1.Caption = "4"
End If
End If
End If
End If
End Sub
Private Sub cmbl2_Click()
lbll2.Caption = 5.715
lblr2.Caption = 2.8575
lblac2.Caption = "3/8"
lblc2.Caption = "4.488"
Else
lbll2.Caption = 7.62
lblr2.Caption = 3.81
lblac2.Caption = "1/2"
lblc2.Caption = "5.985"
Else
lbll2.Caption = 9.525
lblr2.Caption = 4.7625
lblac2.Caption = "5/8"
lblc2.Caption = "7.481"
Else
If cmbl2.Text = " 3/4" Then
lbll2.Caption = 11.43
lblr2.Caption = 5.715
lblac2.Caption = "3/4"
lblc2.Caption = "8.977"
End If
End If
End If
End If
lbllon2.Caption = "1"
Else
lbllon2.Caption = "2"
Else
lbllon2.Caption = "3"
Else
End If
End If
End If
End If
End Sub
lblpaa.Caption = "1"
Else
lblpaa.Caption = "2"
Else
lblpaa.Caption = "3"
Else
lblpaa.Caption = "4"
End If
End If
End If
End If
End Sub
lblpal.Caption = "1"
Else
lblpal.Caption = "2"
Else
lblpal.Caption = "3"
Else
lblpal.Caption = "4"
End If
End If
End If
End If
End Sub
lbl1.Visible = True
txta1.Visible = True
lbl2.Visible = False
txta2.Visible = False
lbl3.Visible = False
txta3.Visible = False
lbl4.Visible = False
txta4.Visible = False
lblh.Caption = 1
Else
lbl1.Visible = True
txta1.Visible = True
lbl2.Visible = True
txta2.Visible = True
lbl3.Visible = False
txta3.Visible = False
lbl4.Visible = False
txta4.Visible = False
lblh.Caption = 2
Else
lbl1.Visible = True
txta1.Visible = True
lbl2.Visible = True
txta2.Visible = True
lbl3.Visible = True
txta3.Visible = True
lbl4.Visible = False
txta4.Visible = False
lblh.Caption = 3
Else
lbl1.Visible = True
txta1.Visible = True
lbl2.Visible = True
txta2.Visible = True
lbl3.Visible = True
txta3.Visible = True
lbl4.Visible = True
txta4.Visible = True
lblh.Caption = 4
End If
End If
End If
End If
End Sub
l = txtlar.Text
m = txtanc.Text
tolar = txttolar.Text
toan = txttoan.Text
resulargopa = tolar * m
resuanchopa = toan * l
txtlapa.Text = resulargopa
txtanpa.Text = resuanchopa
Else
l = txtlar.Text
m = txtanc.Text
tolar = txtrel.Text
toan = txtrea.Text
resulargopa = tolar * m
resuanchopa = toan * l
txtlapa.Text = resulargopa
txtanpa.Text = resuanchopa
End If
resupal1 = txtlapa.Text
Else
resupal2 = txtlapa.Text
Else
resupal3 = txtlapa.Text
resupal4 = txtlapa.Text
End If
End If
End If
End If
End Sub
x = txtlargoparri.Text
y = txtanchoparri.Text
z = txtcadalar.Text
k = txtcadaanc.Text
l = txtlar.Text
m = txtanc.Text
n = txtrecu.Text
nf = n / 100
l = x - nf
txtlar.Text = l
m = y - nf
txtanc.Text = m
tolar = l / z
toan = m / k
txttolar.Text = tolar
txttoan.Text = toan
End Sub
End Sub
End Sub
a1 = txta1.Text
a2 = txta2.Text
a3 = txta3.Text
a4 = txta4.Text
h = txth.Text
hz = txthz.Text
rs = txtrs.Text
ri = txtri.Text
pisos = lblh.Caption
txthto.Text = hh
End Sub
gan = txtgancho.Text
gan2 = txtga2.Text
hh = txthto.Text
txtl1.Text = totalac1
txtl2.Text = totalac2
End Sub
End Sub
fff1 = resupal1
fff2 = resupal2
fff3 = resupal3
fff4 = resupal4
txtfff1.Text = fff1
txtfff2.Text = fff2
txtfff3.Text = fff3
txtfff4.Text = fff4
End Sub
Unload Me
End Sub
End Sub
End Sub
txtrea.Visible = True
txtlapa.Text = Clear
txtanpa.Text = Clear
End If
End Sub
txtrel.Visible = False
txtrea.Visible = False
End If
End Sub