General information
Category:
Forms & Form designer
Title:
Click event firing ... or not?
Environment versions
Network:
Windows 2003 Server
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only