Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DBI-Tech ctListBar and Escape Key
Message
De
10/02/2005 17:07:10
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
DBI-Tech ctListBar and Escape Key
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
00985787
Message ID:
00985787
Vues:
53
Nevermind. I found a workaround. I put the below code in the activex's click event which seems to work:
*** ActiveX Control Event ***
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"
Répondre
Fil
Voir

Click here to load this message in the networking platform