Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

app wizard _topform

Status
Not open for further replies.

BRADLEY21

Programmer
Sep 19, 2002
35
US
I am unable to change the back color of the the _topform from the subclass that is created with app wizard. It only uses my change when the screen is refreshed.

Any help?
 
HI ejd..
The question is not very clear and so many has not answered.. I think.

In the initEvent of th form, add the code..

DODEFAULT()
ThisForm.BackColor = RGB(0,0,255) && Blue
ThisForm.Refresh()

Hopefully this should solve your problem. If not.. post some code you use, so that we can help you out :)
ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
HI,

Just a correction.. (Rick pointed out this to me..)

Init event of a form doesnt need a ThisForm.Refresh() and though no error will be returned.. this is not necessary.
In my above answer ..

DODEFAULT()
ThisForm.BackColor = RGB(0,0,255) && Blue

will be enough to get the results. :) Thanks Rick :) ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top