color in Windows and Dialogs

Post Reply
istkharsma
Posts: 2
Joined: Sun Mar 29, 2009 8:12 pm

color in Windows and Dialogs

Post by istkharsma »

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

Re: color in Windows and Dialogs

Post by Antonio Linares »

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
istkharsma
Posts: 2
Joined: Sun Mar 29, 2009 8:12 pm

Re: color in Windows and Dialogs

Post by istkharsma »

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

Re: color in Windows and Dialogs

Post by Antonio Linares »

regards, saludos

Antonio Linares
www.fivetechsoft.com
Post Reply