- Eduardo G.
- PowerBuilder
- Tuesday, 30 November 2021 12:07 PM UTC
Good morning,
I have a window with a Key event (pbm_keydown) with the following code to call the help:
IF KeyDown(KeyF1!) THEN
pb_help.TriggerEvent(Clicked!)
END IF
Inside the window I have many objects of all kinds (dw, st, tab, btn,...) and the help does NOT always work when F1 is pressed, and it depends on the object where the focus is.
The objects in the window do not have a coded key event, only the key event of the window itself is coded.
Does anyone have a solution, I want that whenever F1 is pressed it always executes the help code.
Thanks.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.