Hello,
is there a way to customize the view of Canvas.showClickMask? I want to make it look like the modal window mask.
thanks
is there a way to customize the view of Canvas.showClickMask? I want to make it look like the modal window mask.
Code:
HLayout container = new HLayout();
container.setBackgroundColor("white");
container.draw();
Canvas vertical = new Canvas();
vertical.setWidth(50);
vertical.setHeight(50);
vertical.setBackgroundColor("red");
vertical.showClickMask(new Function() {
public void execute() {
SC.say("clicked");
}
}, ClickMaskMode.SOFT, new Canvas[]{vertical});
vertical.show();
thanks
Comment