Accessing the names of variables is not possible, I think.
One way I can think of is to put all the values in one vector and all the names tyoed in another. Then use the match() function to get the index of the first occurence of the maximum.
Its cumbersome.
Once you have the text you want to display, you may display it in a textbox as well.