Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
HelpContextID in ActiveX controls ????
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00183246
Message ID:
00183388
Vues:
14
>Esteban,
>When you press F1, VFP looks for the HelpContextID on the active control, then its parent, and so forth up the hierarchy. That's why I suggested you add a container to your PageFrame and then put the ActiveX in the container. You would then use the invisible container's HelpContextID for your F1 help.
>
>Barbara

Barbara,

That's well and true, but F1 doesn't mean anything to the ActiveX control, so it DOESN'T do what are you stating.

As Estaban suspected, he will have to trap for F1 in the KeyPress of the ActiveX control and executute the help command manually... or, he may be able to pass the KeyPress to the parent container manually by setting focus to parent, then stuffing the keyboard with F1 again.

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform