I have a requirement where the Form is like a Master detail block.
For every record in the Master there can exist only 1 record in the detail.
There are two frames which contain toolbars one for the Master block and the other for the Detail block.
I am trying to disable the add button on the Detail block frame if there is detail record existing for a given Master record. Can someone tell me how this is possible ?
I have checked the code and there is a Enable/Disable method in one of the Super Classes for the buttons. Is there a way of doing this without making any change to the Super classes. I know overriding is one way of doing but can someone please advise me ?