>>Any way to use a variable or a function value as the prompt string in a menu?
>>
>>TIA
>
>GenMenuX may well give you the option to use an expression for a menu prompt, but I suspect that it will only take the value of the expression at the time that the menu is defined (when the .mpr is run).
I think you mean when the .MPR is generated. What I want is to change it at runtime.
>
>The only way that I'm aware of to change the prompt of a menu item is to re-define that item.
>
>Shameless plug...
>
>You could try my Object Menu class (from the files section), as this makes changing a menu prompt as easy as:
>
>THISFORM.Menu.File.Save.Caption = "Save As"
Thanks Mark. I'll have a look at your class.