Sei sulla pagina 1di 2

CODIGOS DE VISUAL FOX:

use TABLA_COL

Append Blank

ThisForm.txtclave_col.Enabled=.T.

ThisForm.txtnombre_col.Enabled=.T.

ThisForm.txtciudad_col.Enabled=.T.

ThisForm.txtestado_col.Enabled=.T.

ThisForm.txtcodpos_col.Enabled=.T.

ThisForm.Refresh

ThisForm.txtclave_col.SetFocus

( CmdNUEVO )

( CmdNUEVO )

use TABLA_COL

Append Blank

ThisForm.txtclave_col.Enabled=.T.

ThisForm.txtnombre_col.Enabled=.T.

ThisForm.txtciudad_col.Enabled=.T.

ThisForm.txtestado_col.Enabled=.T.

ThisForm.txtcodpos_col.Enabled=.T.

ThisForm.CmdGUARDAR.Enabled=.T.

ThisForm.CmdCANCELAR.Enabled=.T.

ThisForm.Refresh

ThisForm.txtclave_col.SetFocus
ThisForm.txtclave_col.Enabled=.T.

ThisForm.txtnombre_col.Enabled=.T.

ThisForm.txtciudad_col.Enabled=.T.

ThisForm.txtestado_col.Enabled=.T.

ThisForm.txtcodpos_col.Enabled=.T.

ThisForm.CmdGUARDAR.Enabled=.T.

ThisForm.CmdCANCELAR.Enabled=.T.

ThisForm.CmdMODIFICAR.Enabled=.F.

ThisForm.Refresh

ThisForm.CmdNUEVO.Enabled=.T.