Thanks Sergey. I had not noticed it. Right now, the same class is being used in our VFP7 version as well as our new VFP8 version so I automatically tried the code in VFP7 and searched in the VFP7 help when it bombed...
I also was not aware of the 'L' key working to switch the magnification during print preview. How long has it been around? I guess I just must have been ignorant of it all these years... :o)
However, putting it in the form's deactivate doesn't seem to work. The toolbar is floating again...
>>Hi Lisa,
>>
>>>DOCK WINDOW ("print preview") POSITION 0
>>
>>This returns 'Unrecognized command verb.' I cannot locate DOCK WINDOW in help either in either VFP7 or VFP8 SP1. Is it an undocumented command? I have never seen it...
>
>
>Hi Tracy,
>
>It's new to VFP8 and is documented in VFP8 help.
.·*´¨)
.·`TCH
(..·*
010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"