| 发表于:2007-12-18 09:04:21 楼主 |
commandbutton 和 checkbox, 图片显示在控件上。如果button 的enabled设置为false, 控件上面的图片都变为灰色,也不能click。我现在想在enabled = true的情况下,用程序达到同样的效果: 1。 当commandbutton.enabled=true时,让按钮上的图片显示为灰色,就像commandbutton.enabled=false时的效果一样。 2。 当commandbutton.enabled=true时,按钮的click事件将被激活,如何用程序实现即使enable=ture, 当按下按钮时让它没有相应,就像commandbutton.enabled=false时的效果一样呢? 万分感激 |
|
|
|
|