I'm using some code out of a book which instantiates a form and adds the object reference to an array property of the goApp. I'm in VFP6 and the code may have originally been written for a previous version.
After everything else it includes:
.Refresh()
.Paint()
.Show()
Help says that :
Refresh() "Repaints a form or control and refreshes any values, or refreshes a project's visual display."
and Show() "The Show method sets a form or form set's Visible property to true (.T.) and makes the form the active object. "
Assuming I haven't added any code to the Paint method of any of my forms, Do I need the .Paint() ? Do I need to call Refresh() in the Show(), assuming I specifically call Refresh() each time I call Show() ? (This app doesn't hide anything right now.)
Anything else I'd regret if I removed Paint() and took the Refresh()'es out of the Show() ?