I have a window with a Key event (pbm_keydown) with the following code to call the help:
IF KeyDown(KeyF1!) THEN
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.