FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Statusbar on a dialog
Posts: 130
Joined: Sat Oct 08, 2005 09:38 PM
Statusbar on a dialog
Posted: Sun Jan 04, 2009 11:59 AM

Is it possible to put a statusbar on a dialog.

Regards,
Birol Betoncu

Birol Betoncu
birol.betoncu@gmail.com
Using Harbour, FWH 19.05, BCC7
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Statusbar on a dialog
Posted: Sun Jan 04, 2009 02:00 PM
#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oDlg

    DEFINE DIALOG oDlg

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

    RETURN NIL


STATIC FUNCTION STATUSBAR( oDlg )

    SET MESSAGE OF oDlg;
        TO "This is a status bar";
        TIME DATE NOINSET 2007

    RETURN NIL


EMG
Posts: 130
Joined: Sat Oct 08, 2005 09:38 PM
Re: Statusbar on a dialog
Posted: Sun Jan 04, 2009 10:29 PM

Enrico, Thank you very much.

Birol

Birol Betoncu
birol.betoncu@gmail.com
Using Harbour, FWH 19.05, BCC7

Continue the discussion