Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Forms click event fires instead of objects event
Message
 
 
To
22/09/2009 09:26:01
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01425578
Message ID:
01425579
Views:
73
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform