>>I don't think it's right place to setup menu. You should do it after login is verified and the modal login form is closed.
>
>Yes you are right
>
>
>cUserLogin = ''
>*
>do form loginew to lSuccessful
>*
>if lSuccessful
> do menu_oo
>endif
>
>
>It runs.
Also you can avoid using a global variable.
_Screen.AddProperty(oMenu, newobject('SFMenu', 'SFMenu.vcx', '', 'oMenu'))
--sb--