Olá Laércio, tudo bem?
Segue um exemplo para desabilitar um comando em python
def InitializeRow(entity, row): from Benner.Tecnologia.Common import Handle if entity == None: return providerWidget = row.Grid.ProviderWidget if providerWidget == None: return form = providerWidget.Entity if form == None: return row.GetCellByName("CUSTOM_VALOR").Align = "right" if row.GetCustomCommand("CMD_REMOVERITEMREEMBOLSO") != None: row.GetCustomCommand("CMD_REMOVERITEMREEMBOLSO").Enabled = False
156 Pontos
96 Pontos
61 Pontos
52 Pontos
51 Pontos