Little Buggers in OI - (OpenInsight)
At 14 JUL 2000 04:46:39PM [email protected] wrote:
To all,
I've come across a couple of problems that I hope someone can give some insight, comments, or suggestions other than use something else . These particular problems aren't killing me, but I am curious.
1) I was forcing a LostFocus on an EditLine (a key field) by using a
Send_Event(CtrlName,"LOSTFOCUS"). When I did this, it would make OI go into a loop (form flickers) and then I would get this message everytime:
OpenEngine caused a GPF in module OENGINE.EXE at 0003:C57C….. Aborting failed Error 11360
When I removed the culprit Send_Event, NO GFP. Does anyone have any clues why a SEND_EVENT to a LOSTFOCUS on a keyfield might cause this?
2) I was using a window with an EditTable and got some message that the GET_PROPERTY stack was overflowed or something like that. Sorry I didn't write the exact message, but I think it broke to debugger. Can anyone tell me what this means?
3) In the same form (see #2), I had a script in the Click Event. It no longer execute. Even after I cleared it and just put [b] Msg(@window,'hi this is a click event'), I see nothing. I put a debug there and still nothing.
Does any know why a click event will not execute the script in it? It was working at one time. Just to make sure that something didn't break in OI in general, I tested a click event in another form and it behaved as it should (phew). What could happen to a form to cause this aberrant behavior?
Curious and hoping for some insight.
[email protected] onmouseover=window.status=imagine … ;return(true)"
Ray Chan ~ Symmetry Info
At 15 JUL 2000 01:52AM Richard Bright wrote:
Ray,
1) In the Key Field / Edit line the LostFocus event , on completion, and with Status=True$ passes on thru to the Read Event.
Without seeing your code I suspect you may have created a loop by having a send_event(KeyEditControl,params..) which in turn called the same event logic. Perhaps add a Return 0 to stop the event calling itself? Why would you do a SendEvent LostFocus in that event - do you need to do a Forward_Event() and then Return 0?
Richard Bright