FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour NEW BUG found (Tradmenu)
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
NEW BUG found (Tradmenu)
Posted: Fri Aug 06, 2010 10:57 AM
Little modifications needed:

1.) In method __HelpTopic() in the class TWINDOW the code should be as shown to display the helppages also in MDI childs!

Code (fw): Select all Collapse
METHOD __HelpTopic() CLASS TWindow
   static lShow := .f.
   if ! lShow
      lShow = .t.
      if Empty( ::nHelpId )
         if ::oWnd != nil ;
            .and. !Upper( ::oWnd:ClassName() ) $ "TFOLDER TPAGES TDIALOG TWINDOW TMDIFRAME TMDICHILD"
             ::oWnd:HelpTopic()
         else
            if Empty( GetHelpTopic() )
                HelpIndex()
            else
                HelpTopic()
            endif
         endif
      else
        HelpTopic( ::nHelpId )
      endif
      lShow = .f.
   endif
return nil


2.) In classes checkbox and radio the "nHelpTopic := 100" should removed! In other classes this wrong defaults should also removed if present!!
Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 446
Joined: Mon Dec 26, 2005 09:11 PM
Re: BUGS found (help-system, xBrowse, Tcheckbox, Tradio)
Posted: Fri Aug 06, 2010 07:03 PM

Dear Byte-One

Why must be remove "nHelpTopic := 100"? Isn't just a default value?

Regards

Armando

FWH + BCC582 + WorkShop 4.5 + Resource Hacker + Mingw
Mis nuevas herramientas
Comunicacion via WhatsApp (+51) 957549 665
Comunicación via Correo: apic1002002 at yahoo dot es; apic1002002@gmail.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: BUGS found (help-system, xBrowse, Tcheckbox, Tradio)
Posted: Mon Aug 09, 2010 09:28 AM

Armando,
if any help-id associated with a control by default, this number is not present in the help-file (whats this topic). If you press F1 on this control, a errormessage is shown and no help is available.

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 446
Joined: Mon Dec 26, 2005 09:11 PM
Re: BUGS found (help-system, xBrowse, Tcheckbox, Tradio)
Posted: Tue Aug 10, 2010 12:17 AM

Dear Byte-One

Ok! I understand. thank you

Regards

Armando

FWH + BCC582 + WorkShop 4.5 + Resource Hacker + Mingw
Mis nuevas herramientas
Comunicacion via WhatsApp (+51) 957549 665
Comunicación via Correo: apic1002002 at yahoo dot es; apic1002002@gmail.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: BUGS found (help-system, Tcheckbox, Tradio)
Posted: Sat Aug 28, 2010 10:01 AM

Antonio, please make this required changes in next build!

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
URGENT! BUGS found (help-system, Tcheckbox, Tradio)
Posted: Tue Aug 31, 2010 11:44 AM

Antonio, please insert this minor modifications and corrections in the new 10/08!

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: BUGS found (help-system, Tcheckbox, Tradio)
Posted: Tue Aug 31, 2010 02:05 PM

Günther,

I missed it, sorry. We are going to include them and publish a revised FWH 10.8, thanks! :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: BUGS found (help-system, Tcheckbox, Tradio)
Posted: Tue Aug 31, 2010 02:15 PM
Günther,

Code (fw): Select all Collapse
METHOD __HelpTopic() CLASS TWindow

   static lShow := .f.

   if ! lShow
      lShow = .t.
      if Empty( ::nHelpId )
         if ::oWnd != nil .and. ;
            ! Upper( ::oWnd:ClassName() ) $ "TFOLDER,TPAGES,TDIALOG,TWINDOW,TMDIFRAME,TMDICHILD,TFOLDEREX"
            ::oWnd:HelpTopic()
         else
...
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: BUGS found (help-system, Tcheckbox, Tradio)
Posted: Tue Aug 31, 2010 05:03 PM

I'm not sure, but maybe you should include "TPANEL" also?

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: BUGS found (help-system, Tcheckbox, Tradio)
Posted: Fri Sep 03, 2010 10:45 AM
Antonio, now is an other problem with helpids only in Tradmenu!

Code (fw): Select all Collapse
if aHelpIds == nil
      aHelpIds = Array( Len( acItems ) )
      for n = 1 to Len( aHelpIds )
         //aHelpIds[ n ] = 99 + n  -> wrong!
         aHelpIds[ n ] = nil  //->right!
      next
   else....
Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: NEW BUG found (TRadMenu)
Posted: Mon Sep 06, 2010 03:09 PM
Correction to last post!

In TRadmenu must the part when no helpids defined in Method new() and redefine() change to the following code:
Code (fw): Select all Collapse
if aHelpIds == nil
      aHelpIds = Array( Len( acItems ) )
      afill(aHelpIDs,NIL)
   else....
Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: NEW BUG found (Tradmenu)
Posted: Mon Sep 06, 2010 08:45 PM
afill(aHelpIDs,NIL)

Even this statement is not needed.
Regards



G. N. Rao.

Hyderabad, India
Posts: 1048
Joined: Mon Oct 24, 2005 09:54 AM
Re: NEW BUG found (Tradmenu)
Posted: Mon Sep 06, 2010 11:36 PM

Mr. Rao, you are absolutely right! Thanks.

Regards,
Günther
---------------------------------
office@byte-one.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: NEW BUG found (Tradmenu)
Posted: Tue Sep 07, 2010 10:11 AM

Fix included in the new FWH 10.8 build to be available to be downloaded in a few minutes... :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion