FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Bug in TBar with dialogs
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Bug in TBar with dialogs
Posted: Tue Jun 17, 2008 09:02 PM
In the following sample click on the icon and a dialog will open. Then hit ALT key on the keyboard and you will see that the icon on the dialog's toolbar vanish with a piece of the toolbar itself:

#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oWnd

    DEFINE WINDOW oWnd

    DEFINE BUTTONBAR OF oWnd 2007

    DEFINE BUTTON;
           OF oWnd:oBar;
           FILE "C:\FWH\BITMAPS\OPEN.BMP";
           ACTION MYDIALOG()

    ACTIVATE WINDOW oWnd

    RETURN NIL


STATIC FUNCTION MYDIALOG()

    LOCAL oDlg

    DEFINE DIALOG oDlg

    ACTIVATE DIALOG oDlg;
             ON INIT TOOLBAR( oDlg );
             CENTER

    RETURN NIL


STATIC FUNCTION TOOLBAR( oDlg )

    DEFINE BUTTONBAR OF oDlg 2007

    DEFINE BUTTON;
           OF oDlg:oBar;
           FILE "C:\FWH\BITMAPS\CLOSE.BMP";
           ACTION oDlg:End()

    RETURN NIL


EMG
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Bug in TBar with dialogs
Posted: Fri Jun 20, 2008 09:43 PM

Any news?

EMG

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug in TBar with dialogs
Posted: Sat Jun 21, 2008 08:38 AM

Dear Enrico,

That bug was detected by a FWH user and commented in the forums, and it was already solved :-)

(I am searching for the topic where it was commented and posted the solution...)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Bug in TBar with dialogs
Posted: Sat Jun 21, 2008 08:49 AM

Found :-)

http://forums.fivetechsoft.com/viewtopic.php?t=11175

This fix is already included for next build

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM

Continue the discussion