I have a similar problem with memoedit() it goes into endless loop when ESC hit during edit without calling the user func.
http://i115.photobucket.com/albums/n287/barjac_2006/memoedit1.png
Maybe that screenshot is of use?
Rgds Barry

Pritpal Bedi wrote:
Viktor

But where?

Clipper documentation says that user func is called with mode==ME_INIT until func returns 0 ( ME_DEFAULT ).

In the code above, I am returning K_INS and expecting
that the func will be called next time also and it will return 0.

But the fun is called recursively ( around 4000 ) times
with nMode == 1 ( ME_UNKEY ). Buffer is never displayed
and appln terminates.

Need more debugging, then tell me.

Regards
Pritpal Bedi




_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to