Page 1 of 1
TWindow help bug
Posted: Fri Mar 03, 2006 1:10 pm
by Enrico Maria Giordano
In the following sample the F1 key is now disabled:
Code: Select all | Expand
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oWnd
DEFINE WINDOW oWnd
ACTIVATE WINDOW oWnd
RETURN NIL
This is the reason:
Code: Select all | Expand
// ::HelpTopic() // as WM_HELP is now supported by controls
EMG
Posted: Fri Mar 03, 2006 2:15 pm
by Antonio Linares
Enrico,
That only happens if the window has no controls at all. Please test samples\tutor02.prg and you will see that ::HelpTopic() is properly called.
Posted: Fri Mar 03, 2006 2:27 pm
by Enrico Maria Giordano
Antonio Linares wrote:Enrico,
That only happens if the window has no controls at all. Please test samples\tutor02.prg and you will see that ::HelpTopic() is properly called.
Yes, I know. But previously it was possible to hit F1 for help even in an empty main window. Can't you reactivate it?
EMG
Posted: Fri Mar 03, 2006 2:31 pm
by Antonio Linares
Enrico,
This is a side effect caused by implementing "?" support on dialogboxes. We may fix it but we need to do some more research on it.
Posted: Fri Mar 03, 2006 2:38 pm
by Enrico Maria Giordano
Ok, take all the time you need. No problem for me.
EMG