>Hi,
>
>I have some code in the form method Refresh(). In the end of this code I have dodefault(). I also added some test code into a container's Refresh method (just to see when it fires). So, when I have DODEFAULT() in Refresh method, the Refresh of the Container fires twice on every record move. If I comment the DODEFAULT() in the form Refresh(), the Refresh() in the container fires once.
>Which brings me to the question, what is the purpose, and if I need, DODEFAULT() in the form refresh()?
>
>TIA
To call code in parent class. it also somehow calls the parent
If there is no code in parent class, skip it
https://hackfox.github.io/section4/s4g325.htmlhttps://www.tek-tips.com/viewthread.cfm?qid=841859https://www.google.com/search?q=refresh+vfp+dodefaultAunt Edit:
If ever possible, do not use code in refresh. Or in only one form method. It's a major way to slow down your form
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]