1).From controls
purchline_Assettagno_ss3.enabled(false);
purchline_Assettagno_ss3.enabled(true);
purchline_Assettagno_ss3.enabled(true);
2). we Can enable/disable buttons also write in init value/active method
if(cust.age>20)
{
Button .enabled(false);
}
else
{
Button.enabled(true);
}
if(cust.age>20)
{
Button .enabled(false);
}
else
{
Button.enabled(true);
}
No comments:
Post a Comment