Hi Richard
Off the top of my head, Security Tab, check "User must be logged in" - that will hide the button until User Logged in
After Login, can use a Session Variable eg. 'ShowMyMenuButton' then on Menu, General Tab, "Menu Condition" you could then do: p_web.GSV('ShowMyMenuButton')
To provide a bit more certainty, an option would be to create a standard Clarion Source procedure with p_web as parameter
Procedure MenuButtonTest (NetWebServerWorker p_web), byte
code
if p_web.IfExistsSessionValue('ShowMyMenuButton')
return p_web.GSV('ShowMyMenuButton')
else
return false
end
then on Menu, General Tab, "Menu Condition": MenuButtonTest(p_web)
In your code, do p_web.SSV('ShowMyMenuButton', 0) to hide button and p_web.SSV('ShowMyMenuButton', 1) to show button.
May be a few other ways to do this but hope that gives you some ideas
Cheers
Graham