Third bitmap of bitmap buttons

Third bitmap of bitmap buttons

Postby Enrico Maria Giordano » Sun Apr 29, 2007 5:34 pm

Probably I'm missing something but what is the third bitmap for? It won't show in the following sample:

Code: Select all  Expand view
#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
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Sun Apr 29, 2007 5:53 pm

Enrico,

Its the image to show when the button is disabled:

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42078
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Enrico Maria Giordano » Sun Apr 29, 2007 6:17 pm

Ops, thank you.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 35 guests