Information générale
Catégorie:
Gestionnaire de projet
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement