ThisForm.pgfIncExp.ActivePage = This.Value ThisForm.Refresh
Probably already thought of but the proper syntax of the command is:
ThisForm.Refresh()
(ie, with parentheses)
Such code would run semi-reliably without the parens in VFP 6 but less so in later versions. I have had a few instances in which bad code generates errors under some circumstances but not others, in seemingly random fashion, owing most likely to the behavior of the compiler.
Ken Dibble www.stic-cil.org