FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for CA-Clipper color in Windows and Dialogs
Posts: 2
Joined: Sun Mar 29, 2009 08:12 PM
color in Windows and Dialogs
Posted: Mon Mar 30, 2009 02:00 PM

Hi Dear,

Currently I m using resource wokshop to design my dialog forms and also using MDI Window, but now I want to change my main MDI window including menu and toolbar and currently I am using command as follows:

DEFINE WINDOW oMainWnd ;
TITLE M_Name ;
MDI ;
COLOR RGB(224,224,128),RGB(64,32,0) ;
MENU BuildMenu() ;
ICON oIco

but using this command, I am able the change the background color of MDi Window, So, can anyone guide me that how can I do it.

Best Regards,
SMA

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: color in Windows and Dialogs
Posted: Mon Mar 30, 2009 03:01 PM

Sma,

There is no way to change the menu color yet.

How are you building the tooldbar ? Please post the PRG code, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 2
Joined: Sun Mar 29, 2009 08:12 PM
Re: color in Windows and Dialogs
Posted: Mon Mar 30, 2009 04:03 PM

Hello Dear,

Please find PRF code for toolbar section

DEFINE BUTTONBAR oBar 3D SIZE 40,40 OF oMainWnd

DEFINE BUTTON RESNAME "T_EXIT" OF oBar NOBORDER ;
TOOLTIP "Exit" ACTION (iRtrn:=Exit(.T.))
DEFINE BUTTON aBRts_Obj[++n] RESNAME "T_CHART" OF oBar GROUP NOBORDER ;
TOOLTIP "Chart Of Accounts..." ACTION (WP6_11(C_Name1,FromDate))
DEFINE BUTTON aBRts_Obj[++n] RESNAME "T_TRAN" OF oBar NOBORDER ;
TOOLTIP "Voucher Transaction..." ACTION WP6_21

Best Regards,
SMA

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: color in Windows and Dialogs
Posted: Tue Mar 31, 2009 08:43 AM

Please review this thread:

viewtopic.php?f=3t=12039start=0hilit=bClrGrad

&&&

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion