thank you sergey
>>Hi all, I'm always trying to reuse an old FoxBase Program... I'm trying to replace the old menus managed by the menu to notation and I thought to replac them with a toolbar or a form or whatver else. The point is that the procedure have to work with evaluates a value that I should get from the menu choice. The fact is that creating the object by CreateObject commad I cannot put the created form as modal... How can I do ? I know that creating a scx form would solve the problem, but I was wondering if another solution exists
>
>Sure you can
>
>
>loForm = CREATEOBJECT(...)
>loForm.Show(1)
>