Page 1 of 1

Third bitmap of bitmap buttons

Posted: Sun Apr 29, 2007 5:34 pm
by Enrico Maria Giordano
Probably I'm missing something but what is the third bitmap for? It won't show in the following sample:

Code: Select all

#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

Posted: Sun Apr 29, 2007 5:53 pm
by Antonio Linares
Enrico,

Its the image to show when the button is disabled:

oBar:aControls[ 1 ]:Disable()

Posted: Sun Apr 29, 2007 6:17 pm
by Enrico Maria Giordano
Ops, thank you.

EMG