Home > Archive > Clarion > December 2006 > Keyboard Hangs in C6
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Keyboard Hangs in C6
|
|
| SpecialNegotiator 2006-11-08, 3:55 am |
| I am using Clarion V6.1 Enterprise Edition for my application.
While during data entry, suddenly the keyboard hangs and cannot type
anything. Eevn after I exit out the application the problem is still
there. It is only when I hit the ALT key located on the bottom of the
keyboard it will clear the buffers and can enter again.
It does not happen on the previous version of C55d.
Can anyone help ?
Eric
| |
| Olivier Cretey 2006-11-09, 7:55 am |
| Eric,
I think it is the famous sticky ctrl or alt key bug.
If I remember well, it was caused by the use of presskey() on a few keys
or something like that...
One possible workaround was to send the alt key to the keyboard, but a
more efficient way is to use events instead of presskey(), supposing
you're simulating a keyboard shortcut entry with the presskey() function
or anything else you can post an event to.
For example, if you have an Alt+G menu shortcut, you may post an
event:accepted to your menu item control:
post(Event:Acepted,?myMenuItem)
Regards
--
Olivier Cretey
o.cretey@cia-informatique.com
www.cia-informatique.com
Verneuil sur Seine (78), France
| |
|
|
|
|
|