color in Windows and Dialogs

color in Windows and Dialogs

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

Re: color in Windows and Dialogs

Postby Antonio Linares » Mon Mar 30, 2009 3: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: color in Windows and Dialogs

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

Re: color in Windows and Dialogs

Postby Antonio Linares » Tue Mar 31, 2009 8:43 am

regards, saludos

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


Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 2 guests