Use setControlText(string) method.
obj.setControlText("Checkbox");
Back to checkbox examples, all examples