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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refreshing Form & Controls with the OnClick Mouse Event

Status
Not open for further replies.

BDRichardson

Programmer
Jul 23, 2003
46
GB
I have a form with several controls on it, and am finding that when I make actions such as selecting another window, the controls become scrambled.

I think I need to refresh every control on the form, and possibly the form itself, each time the form window becomes active. But I am experiencing difficulties actually doing it!

Can anyone possibly assist me?

Thanks
 
Scrambled???? Do you mean that the items move around on the form? Or you can not see them?


AGIMA - professional web hosting is our business.

AGIMA Computing
 
Sorry, probably a bit misleading!

I really mean that graphics, text object etc, simply need to be refreshed. They display the reminents of other windows that were previously displayed. For example, if I were to switch from the .NET form application, to another program like MS Word, and then back again, the controls and objects would still display parts of the Word document that I previously viewed! Rather than what they are supposed to display. I am sure its just a case of needing to refresh the form objects whenever the .NET form application is made the active application.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top