public override void afterAltera() { base.afterAltera(); if (this.vTP_Modo == TTpModo.tm_Edit) { if (!Id_Plantio.Focus()) { CD_Fazenda.Focus(); } } }
public override void afterNovo() { if ((vTP_Modo == TTpModo.tm_busca) || (vTP_Modo == TTpModo.tm_Standby)) { BS_CadPlantio.AddNew(); base.afterNovo(); if (!Id_Plantio.Focus()) { CD_Fazenda.Focus(); } } }