Hi,
executing the following code leads to the Error “TypeError: _4 is null”
How to add a DrawPane with DrawLables to a Layout?
Greetings Thomas
executing the following code leads to the Error “TypeError: _4 is null”
Code:
isc.VLayout.create({
id: "drawPaneLayout",
showEdges: true,
height: 400,
width: 400,
members: [
isc.DrawPane.create({
ID: "eventDrawPane",
autoDraw: true,
showEdges: true,
cursor: "default",
height: "100%",
}),
isc.DrawLabel.create({
drawPane: eventDrawPane,
id: "rect",
click: function() {isc.say("rect click"); return true},
widht: 100,
height: 100,
autoDraw: true,
left: 50,
top: 50
})
]
});
Greetings Thomas
Comment