Use setControlImage(string) method.
obj.setControlImage("key");
Back to button examples, all examples