Third bitmap of bitmap buttons

Post Reply
User avatar
Enrico Maria Giordano
Posts: 7355
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

Third bitmap of bitmap buttons

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Post by Antonio Linares »

Enrico,

Its the image to show when the button is disabled:

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

Antonio Linares
www.fivetechsoft.com
Post Reply