FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TWindow help bug
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
TWindow help bug
Posted: Fri Mar 03, 2006 01:10 PM
In the following sample the F1 key is now disabled:

#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oWnd

    DEFINE WINDOW oWnd

    ACTIVATE WINDOW oWnd

    RETURN NIL


This is the reason:

      // ::HelpTopic()  // as WM_HELP is now supported by controls


EMG
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
TWindow help bug
Posted: Fri Mar 03, 2006 02:15 PM

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.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
TWindow help bug
Posted: Fri Mar 03, 2006 02:27 PM
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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
TWindow help bug
Posted: Fri Mar 03, 2006 02:31 PM

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.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
TWindow help bug
Posted: Fri Mar 03, 2006 02:38 PM

Ok, take all the time you need. No problem for me.

EMG

Continue the discussion