may I ask for help again please...now i am trying to style a group-box and did this:
REDEFINE GROUP oGroup ID 4021 OF oDlg COLOR CLR_MSPURPLE, CLR_ORANGE TRANSPARENTAgain kind regards :-)
Ruth

REDEFINE GROUP oGroup ID 4021 OF oDlg COLOR CLR_MSPURPLE, CLR_ORANGE TRANSPARENT
Try removing TRANSPARENT. That is allowing the background to be seen in the control.
REDEFINE GROUP [ <oGroup> ];
[ LABEL | PROMPT <cLabel> ];
[ ID <nId> ];
[ OF | WINDOW | DIALOG <oWnd> ];
[ COLOR <cClrFore> [, <nClrBack> ] ];
[ FONT <oFont> ];
[ TRANSPARENT ]
<nTop> , <nLeft> To specify the top and left coordinates.
<oGroup> The variable to containt the object.
<nRight>, <nBottom> To specify the right and bottom coordinates.
<cLabel> The caption of the group.
<oWnd> The window or dialogbox container of this control.
<cClrFore> The foreground color of the group.
<nClrBack> The background color of the group.
<oFont> A reference to the font object used for the Group control.
<nId> The resource identifier for this control.
CLAUSES
PIXEL To specify pixel corrdinates.
DESIGN To drag around the control using the mouse.
TRANSPARENT To make the Group transparent.
#include "FiveWin.ch"
#Define CLR_MSPURPLE nRGB( 0, Â 120, 215 ) //-> Purpura.
#Define CLR_ORANGE Â nRGB( 255, 165, 000 ) //-> Orange - Laranja
FUNCTION Main()
 local oDlg, oGroup, oFont
 // SetDlgGradient( { { 1, RGB( 199, 150, 237 ), RGB( 237, 242, 248 ) } } )
 SetDlgGradient( { { 1, RGB( 000, 120, 215 ), RGB( 000, 165, 215 ) } } )
 DEFINE FONT oFont  NAME "Ms Sans Serif"  SIZE 00, -16 BOLD
 DEFINE DIALOG oDlg RESOURCE "Test"
 oDlg:lHelpIcon := .F.
Â
 REDEFINE GROUP oGroup ID 4001 OF oDlg PROMPT "Ruth: This is a test"     ;
   COLOR CLR_ORANGE TRANSPARENT FONT oFont
 ACTIVATE DIALOG oDlg CENTERED
 oFont:End()
RETURN NIL
/* // FILE.RC
#include <windows.h>
#ifndef __64__
 1 24 "WinXP/WindowsXP.Manifest"
#endif
test DIALOGEX DISCARDABLE 6, 18, 322, 174
STYLE DS_SHELLFONT|WS_POPUP|DS_MODALFRAME|DS_CONTEXTHELP|DS_3DLOOK|WS_CAPTION|WS_SYSMENU|WS_VISIBLE
CAPTION "Dialog"
FONT 8, "Tahoma"
{
 CONTROL "OK", IDOK, "Button", WS_TABSTOP, 268, 8, 45, 15
 CONTROL "Cancel", IDCANCEL, "Button", WS_TABSTOP, 268, 28, 45, 15
 CONTROL "Group-box", 4001, "Button", BS_GROUPBOX, 20, 80, 236, 80
}
*/
// FIN / END Â - kapiabafwh@gmail.com| <nClrBack> | The background color of the group. Â Â |COLOR CLR_MSPURPLE, CLR_ORANGE TRANSPARENT