2010-08-26 113 views

回答

1

通过扩展Text控件可能更容易创建自己的LinkButton。只是它的样式看起来像LinkButton(带下划线的蓝色),并设置以下属性:

buttonMode = true; 
useHandCursor = true; 

然后,只需处理MouseEvent.CLICK事件,你会与任何Button