>I am gettting strange behaviour on a form;
>
>The form is a complex form with a pageframe, a number of containers and a mix of labels, textboxes, ActiveX controls, comboboxes and buttons in the container. Some of the objects are instantiated at run time, some at design time.
>
>The form is called from a number of different locations, sometimes to edit an existing record and sometimes to enter a new record.
>
>The problem is that on some calls to the form, the form is activated, keyboard input works fine but mouse activity does not. If I turn event tracing on I see that the mouseover() event fires on all controls BUT when I press the mouse button the click() event of the form fires instead of the individual controls event.
>
>I can't click on buttons or on combobox dropdown arrows, each fires the forms click.
>
>I've tried removing the ActiveX controls, tried zorder() calls but no joy. However if I SET STEP ON and step through the .init() and .activate() it works fine.
>
>Any ideas?
>
>
>Gary.
Gary,
Are you sure you don't have some transparent shape covering the whole form?
If it's not broken, fix it until it is.
My Blog