FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Third bitmap of bitmap buttons
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Third bitmap of bitmap buttons
Posted: Sun Apr 29, 2007 05:34 PM
Probably I'm missing something but what is the third bitmap for? It won't show in the following sample:

#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oWnd, oBar

    DEFINE WINDOW oWnd

    DEFINE BUTTONBAR oBar OF oWnd 3D

    DEFINE BUTTON OF oBar;
           FILE "\FWHARBOUR\BITMAPS\OPEN.BMP",;
                "\FWHARBOUR\BITMAPS\CLOSE.BMP",;
                "\FWHARBOUR\BITMAPS\DISPLAY.BMP";
           NOBORDER

    ACTIVATE WINDOW oWnd

    RETURN NIL


EMG
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Third bitmap of bitmap buttons
Posted: Sun Apr 29, 2007 05:53 PM

Enrico,

Its the image to show when the button is disabled:

oBar:aControls[ 1 ]:Disable()
regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Third bitmap of bitmap buttons
Posted: Sun Apr 29, 2007 06:17 PM

Ops, thank you.

EMG

Continue the discussion