dynamic menue

dynamic menue

how can make the caption of a menu item in mainmenu dynamic?
for example when value of one variable be 1 the text of the menu became "On" and when value of one variable be 1 the text of the menu became "Off"

This is a migrated post! Originally posted on 13.10.2011 by user anahita. Please be aware that information can be outdated.