Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Click event firing ... or not?
Message
From
29/10/2008 15:51:52
June Kendrick
Kendrick Associates, Inc.
New York, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Click event firing ... or not?
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01358161
Message ID:
01358161
Views:
77
I've got a modeless form with an OleThumbnail control & an OleImage control that I've been testing with Do Form from the command window. I have some code in the Click event of the OleThumbnail control. The form and the clicks work as expected when invoked this way.

I tried testing within the system, which calls it from a Do Form in a menu pad while a window switchboard created from a .SPR is displayed. Now the OLEThumbnail clicks aren't responding. If I call the form from the menu without the .SPR switchboard showing, it behaves properly. If I hide the switchboard window, the clicks don't respond.

I put some debugouts in the Click event of the OleThumbnail control and turned on Event tracking, then tried running each scenario to see what was going on. I found that the Do Form from the command window was showing the Click debugouts, but the appropriaate MouseDown and Click events were not logged. When called from the menu with the .SPR showing, the Click and MouseDown events were logged, but none of the debugouts appeared.

In both cases, the GotFocus event and the debugout I had in the GotFocus event code for the control were displayed.

Any clues would be appreciated.

FWIW, we're using VFP6 with SP4, but the only options in the dropdown are SP5 or SP 3.

Thanks,
June
Next
Reply
Map
View

Click here to load this message in the networking platform