Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 6

rlvaLe Sub form1_load()

CuA8uA8Lnabled lalse
lnhablllLarca[as
Lnd Sub
rlvaLe Sub lnhablllLarca[as()
ulm n As lnLeger
lor n 0 1o ConLrolsCounL 1
lf 1ypeCf ConLrols(n) ls 1exL8ox 1hen
ConLrols(n)Lnabled lalse
Lnd lf
nexL n
Lnd Sub
rlvaLe Sub hablllLarca[as()
ulm n As lnLeger
lor n 0 1o ConLrolsCounL 1
lf 1ypeCf ConLrols(n) ls 1exL8ox 1hen
ConLrols(n)Lnabled 1rue
Lnd lf
nexL n
Lnd Sub
rlvaLe Sub lnhablllLarboLones()
ulm n As lnLeger
lor n 0 1o ConLrolsCounL 1
lf 1ypeCf ConLrols(n) ls Command8uLLon 1hen
ConLrols(n)Lnabled lalse
Lnd lf
nexL n
Lnd Sub
rlvaLe Sub hablllLarboLones()
ulm n As lnLeger
lor n 0 1o ConLrolsCounL 1
lf 1ypeCf ConLrols(n) ls Command8uLLon 1hen
ConLrols(n)Lnabled 1rue
Lnd lf
nexL n
Lnd Sub

rlvaLe Sub CAnCLLA8_Cllck()
uuCCLn1LupdaLeConLrols
hablllLarboLones
CuA8uA8Lnabled lalse
SALl8Lnabled 1rue
nuLvCLnabled 1rue
lnhablllLarca[as
Lnd Sub

rlvaLe Sub Command1_Cllck()

Lnd Sub

rlvaLe Sub LLlMlnA8_Cllck()
preg Msg8ox(desea borrar el reglsLro? vb?esno aLencln)
lf preg vb?es 1hen
uuCCLn1L8ecordseLueleLe
uuCCLn1L8ecordseLMovenexL
nuLvCLnabled 1rue
SALl8Lnabled 1rue
nuLvCSeLlocus
Lnd lf
Lnd Sub

rlvaLe Sub CuA8uA8_Cllck()
uuCCLn1L8ecordseLupdaLe
hablllLarboLones
CuA8uA8Lnabled lalse
lnhablllLarca[as
Lnd Sub

rlvaLe Sub MCulllCA8_Cllck()
hablllLarca[as
lnhablllLarboLones
CuA8uA8Lnabled 1rue
CAnCLLA8Lnabled 1rue
uuCCLn1L8ecordseLLdlL
1exL1SeLlocus
Lnd Sub

rlvaLe Sub nuLvC_Cllck()
hablllLarca[as
lnhablllLarboLones
CuA8uA8Lnabled 1rue
CAnCLLA8Lnabled 1rue
uuCCLn1L8ecordseLAddnew
1exL1SeLlocus

Lnd Sub

rlvaLe Sub SALl8_Cllck()
unload Me
Lnd Sub

rlvaLe Sub LexL1_keyress(keyAscll As lnLeger)
lf keyAscll 13 1hen
1exL2SeLlocus
Lnd lf
Lnd Sub
rlvaLe Sub LexL2_keypress(keyAscll As lnLeger)
lf keyAscll 13 1hen
1exL3SeLlocus
Lnd lf
Lnd Sub
rlvaLe Sub LexL3_keypress(keyAscll As lnLeger)
lf keyAscll 13 1hen
1exL4SeLlocus
Lnd lf
Lnd Sub
rlvaLe Sub LexL4_keypress(keyAscll As lnLeger)
lf keyAscll 13 1hen
1exL3SeLlocus
Lnd lf
Lnd Sub
rlvaLe Sub LexL3_keypress(keyAscll As lnLeger)
lf keyAscll 13 1hen
u8Combo1SeLlocus
Lnd lf
Lnd Sub

rlvaLe Sub 1exL6_keyress(keyAscll As lnLeger)
lf CpLlon1value 1hen
lf keyAscll 13 1hen
C8l1L8lCS CLuuLA + 1exL61exL +
uuCCLn1L8ecordseLllndllrsL C8l1L8lCS
lf uuCCLn1L8ecordseLnoMaLch 1hen
Msg8ox (cedula no exlsLenLe)
Lnd lf
Lnd lf
Llself CpLlon2value 1hen
lf keyAscll 13 1hen
C8l1L8lCS nombre + 1exL61exL +
uuCCLn1L8ecordseLllndllrsL C8l1L8lCS
lf uuCCLn1L8ecordseLnoMaLch 1hen
Msg8ox (nombre no exlsLe)
Lnd lf
Lnd lf
Llse
Msg8ox (ell[a opclon)
Lnd lf
Lnd Sub
rlvaLe Sub form_load()
CuA8uA8Lnabled lalse
lnhablllLarca[as
1exL6Lnabled 1rue
Lnd Sub

You might also like