Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One for the gurus: DHTML control not yielding focus.
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00726486
Message ID:
00726670
Views:
21
Thank you!!! That is SO helpful. In that message, I found that invoking SetFocus() in the OnMouseDown event did cause some funny things to happen (doubleclicking made the mouse behave like click and drag). But I found a workaround by using a toggle to block excessive calls to SetFocus(), and now it seems to work well. What really seems to make the difference in the problem I was having is the small snippet in the OnBlur() event.

>Hi!
>
>See Thread# 703202 Message#704225. It is exactly about this problem.
>
>
>>Here's one for the gurus. I'm positive it's real.
>>I've run into a problem with the DHTML ActiveX Editing Control (the one that lets you edit HTML in a WYSIWYG environment). What happens is that the control will sometimes not yield focus the way it is supposed to. For example, if I am editing in the DHTML control and I then click into an editbox in a totally different Foxpro form, and then (in particular) if I hit a navigation or editing key (such as backspace, delete, leftarrow, rightarrow), the VFP editbox control will _not_ receive those keystrokes. Instead, they are still processed by the DHTML control even though the other VFP form has become the active form and is sitting there, on top, with the cursor blinking in the VFP native editbox on that form. I cannot understand why this is happening or what to do about it. When it does happen, if you click back and forth between the controls on the two forms (DHTML control on one, VFP editbox on the other), and especially if you enter some visible characters into the DHTML control
>>and then _go_back_ to the VFP form with the editbox, this will temporarily fix the problem. Can somebody solve this for me? Thanks!!!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform