Hi,
I decided to go back and take a dose of my own advise by stepping through the setallprop method. I entered the relevant variables in the watch window, so I could see the result of the code as I step through it. The setallprop method is concerned with setting control on your form to readonly, or not, depending on the edit mode. Here is the code I entered in my baseform wisstyle class, and which all of my forms inherite, so they have a uniform look and feel based on the windows theme currently seletcted.
******************************************************
With This
.SetAll("BackColor",GetSysColor(13),"HEADER"

Endwith
With This
.SetAll("ForeColor",GetSysColor(14),"HEADER"

Endwith
With This
.SetAll("FontBold",.F.,"HEADER"

Endwith
************** Enabled Objects ***********************
WITH thisform
*thisform.pageframe1.SetAll("BackColor", GetSysColor(13), "Editbox" )
.SetAll("BackColor", GetSysColor(13), "Textbox" )
.SetAll("BackColor", GetSysColor(13), "Combobox" )
.SetAll("BackColor", GetSysColor(13), "Combo" )
.SetAll("BackColor", GetSysColor(13), "CheckBox" )
.SetAll("BackColor", GetSysColor(13), "OptionButton" )
*thisform.pageframe1.SetAll("ForeColor", GetSysColor(14), "Editbox" )
.SetAll("ForeColor", GetSysColor(14), "Textbox" )
.SetAll("ForeColor", GetSysColor(14), "Combobox" )
.SetAll("ForeColor", GetSysColor(14), "Combo" )
.SetAll("ForeColor", GetSysColor(14), "CheckBox" )
.SetAll("ForeColor", GetSysColor(14), "OptionButton" )
***************** Selected Item ************************
.SetAll("SelectOnEntry", .T., "Editbox" )
.SetAll("SelectOnEntry", .T., "Textbox" )
.SetAll("SelectOnEntry", .T., "Combobox" )
.SetAll("SelectOnEntry", .T., "Combo" )
*thisform.SetAll("SelectOnEntry", .T., "Checkbox"
* .SetAll("SelectedBackColor", RGB(255,255,128), "Editbox" )
* .SetAll("SelectedBackColor", RGB(255,255,128), "Textbox" )
* .SetAll("SelectedBackColor", RGB(255,255,128), "Combobox" )
* .SetAll("SelectedBackColor", RGB(255,255,128), "Combo" )
* *thisform.SetAll("SelectedBackColor", RGB(255,255,128), "Checkbox" )
.SetAll("SelectedBackColor", GetSysColor(14), "Editbox" )
.SetAll("SelectedBackColor", GetSysColor(14), "Textbox" )
.SetAll("SelectedBackColor", GetSysColor(14), "Combobox" )
.SetAll("SelectedBackColor", GetSysColor(14), "Combo" )
*thisform.SetAll("SelectedBackColor", RGB(255,255,128), "Checkbox" )
* .SetAll("SelectedForeColor", RGB(0,0,0), "Editbox" )
* .SetAll("SelectedForeColor", RGB(0,0,0), "Textbox" )
* .SetAll("SelectedForeColor", RGB(0,0,0), "Combobox" )
* .SetAll("SelectedForeColor", RGB(0,0,0), "Combo" )
* *thisform.SetAll("SelectedForeColor", RGB(0,0,0), "Checkbox" )
.SetAll("SelectedForeColor", GetSysColor(13), "Editbox" )
.SetAll("SelectedForeColor", GetSysColor(13), "Textbox" )
.SetAll("SelectedForeColor", GetSysColor(13), "Combobox" )
.SetAll("SelectedForeColor", GetSysColor(13), "Combo" )
*thisform.SetAll("SelectedForeColor", RGB(0,0,0), "Checkbox" )
**************** Disabaled Objects *************************
*.SetAll("DisabledBackColor", RGB(255, 255, 255), "Editbox" )
*.SetAll("DisabledForeColor", RGB( 0, 0, 0), "Editbox" )
.SetAll("DisabledBackColor", RGB(255, 255, 255), "Textbox" )
.SetAll("DisabledBackColor", RGB(255, 255, 255), "Combobox" )
.SetAll("DisabledBackColor", RGB(255, 255, 255), "Checkbox" )
.SetAll("DisabledBackColor", RGB(255, 255, 255), "Optionbutton" )
ENDWITH
***************************************************
Leland F. Jackson, CPA
Software - Master (TM)
Nothing Runs Like the Fox