Oleksiy,
Now, if I get a chance, I will be trying this at home in VB...
Maybe the bug is in Delphi? *grin*
>Did you receive the sources?
>
>Just tried same code in Delphi. Result - like always in Delphi - works perfect. I'm sure that it works in VC and VB as well as in Delphi. As for me it looks like VFP bug.
>
>-----------------
Steve Gibson