Nevermind. I found a workaround. I put the below code in the activex's click event which seems to work:
DODEFAULT()
IF TYPE('thisform')="O" .and. !ISNULL(thisform)
thisform.activate()
ENDIF
We have the DBI-TECH activex ctListbar component on a form and it uses up approximately 1/5th of the screen realestate. It is working great, however, when the user presses escape and the form (or any control on it except for the activex component) has the focus, the form closes as it should. When the ctListbar activex component has the focus though nothing happens when the user presses escape until he/she clicks anyplace else on the form and then presses escape.
Is there anyway to send the keystroke to the form when the user presses escape while focus is on an activex control? I can see nothing in its properties to control that.
TIA,
Tracy
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"