我是黑莓开发新手。我试图将文本放在按钮上,但它根本不起作用。应该有一个简单的解决方案,但我找不到它。这是我使用的代码
public class ProgramListView extends VerticalFieldManager{
private int _height;
private int _xPos;
private ButtonField evaluateButton;
//height is used to define each item height
//xPos is used to define each items position on screen
public ProgramListView(int height, int xPos){
this._height = height;
this._xPos = xPos;
evaluateButton = new ButtonField("Evaluate", ButtonField.CONSUME_CLICK){
//put methods in here to change the button's position
};
super.add(evaluateButton);
}
提前致谢。