General information
Category:
Coding, syntax & commands
>I have a form that does not show all objects that are on it after the code behind one of the command button runs. Once the code is done running then the form is still left showing but command buttons and labels that are on it are not showing anymore. Can anyone help me get those to show up once the code is complete. I trying refreshing the form, calling the init and calling the activate but it doesn't help.
Does the controls show up if you minimize the form and then restore it? I have had some problems with VFP repainting the form correctly and I am wondering if you are having the same problem. I have found different solutions on different forms. Also does your form have lots of grids? This is when I really notice a problem.
You can force VFP to repaint with this command...
_Screen.BackColor = _Screen.BackColor
Hope this helps.
GeneS
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only