Hi,
When you put Button with enabled = false as a child of StatefulCanvas and move mouse over this button StatefulCanvas loses Over state.
Paste this code to that demo: http://www.smartclient.com/smartclie...d=buttonStates
Best regards,
Janusz
When you put Button with enabled = false as a child of StatefulCanvas and move mouse over this button StatefulCanvas loses Over state.
Paste this code to that demo: http://www.smartclient.com/smartclie...d=buttonStates
Code:
var parent = isc.SimpleTile.create({ baseStyle: "cssButton", contents: "StatefulCanvas", width: 200, height: 200, left: 100, top: 00 }); var childDisabled = isc.Button.create({ left: 20, top: 20, width: 100, height: 50, title: "Button", enabled: false }); var childEnabled = isc.Button.create({ left: 20, top: 20+50+20, width: 100, height: 50, title: "Button", enabled: true }); parent.addChild(childDisabled); parent.addChild(childEnabled);
Janusz
Comment