I have an ActiveX control written in VB6 which I have placed on a form in a VB.NET project.
The control contains a number of buttons, one of which is the default and one of which is the cancel button.
Is there any way I can assign these buttons to the AcceptButton and CancelButton properties of the form to get them to work correctly? The problem is that since they are not Windows forms buttons they do not implement the IButton interface.
Does anyone have a solution or a work-around? I would prefer not to migrate the control to .NET at this stage.
Glyn.
The control contains a number of buttons, one of which is the default and one of which is the cancel button.
Is there any way I can assign these buttons to the AcceptButton and CancelButton properties of the form to get them to work correctly? The problem is that since they are not Windows forms buttons they do not implement the IButton interface.
Does anyone have a solution or a work-around? I would prefer not to migrate the control to .NET at this stage.
Glyn.