Purchasing Order Entry - initial disable email/print
Hi guys,
I am having trouble initially disabling email/print on the Purchasing Order Entry form. In code, I disable ID_RecordSetStatusToMenu, ID_RecordEmail, ID_RecordPrint ... "set status" is disabling fine, but email/print do not disable initially. On the first change within the form, email/print then disable. It feels like there is a handler being called (during the form load) subsequent to my handler(s) that is overriding my logic.
My hooks are:
Can you advise a handler I can use that fires after whatever is enabling email/print?
Cheers,
Neil.
I am having trouble initially disabling email/print on the Purchasing Order Entry form. In code, I disable ID_RecordSetStatusToMenu, ID_RecordEmail, ID_RecordPrint ... "set status" is disabling fine, but email/print do not disable initially. On the first change within the form, email/print then disable. It feels like there is a handler being called (during the form load) subsequent to my handler(s) that is overriding my logic.
My hooks are:
- Code: Select all
AddHandler _purchaseOrderForm.PurchaseOrder.PropertyChanged, AddressOf PurchaseOrderExtraLogic
AddHandler _purchaseOrderForm.PurchaseOrder.CreateEnd, AddressOf PurchaseOrderExtraLogic
AddHandler _purchaseOrderForm.PurchaseOrder.ReadEnd, AddressOf PurchaseOrderExtraLogic
AddHandler _purchaseOrderForm.PurchaseOrder.CopyEnd, AddressOf PurchaseOrderExtraLogic
AddHandler _purchaseOrderForm.PurchaseOrder.DeserialiseEnd, AddressOf PurchaseOrderExtraLogic
Can you advise a handler I can use that fires after whatever is enabling email/print?
Cheers,
Neil.