TWindow help bug

TWindow help bug

Postby Enrico Maria Giordano » Fri Mar 03, 2006 1:10 pm

In the following sample the F1 key is now disabled:

Code: Select all  Expand view  RUN
#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oWnd

    DEFINE WINDOW oWnd

    ACTIVATE WINDOW oWnd

    RETURN NIL


This is the reason:

Code: Select all  Expand view  RUN
      // ::HelpTopic()  // as WM_HELP is now supported by controls


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Fri Mar 03, 2006 2: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Enrico Maria Giordano » Fri Mar 03, 2006 2: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
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Fri Mar 03, 2006 2: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Enrico Maria Giordano » Fri Mar 03, 2006 2:38 pm

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8718
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 75 guests