>I got this msg when I runs it.
>Property OTOOLBAR is not Found
>
>why is this so?
How did you run it? Did you cut and paste the code into a form? If you did, you need to add the oToolBar property to the form. You do this by selecting Form | New Property from the menu and the name of the new property is oToolBar.
I created a little PRG out of the code to run as a .PRG. I will send it to you in an e-mail.