Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    How to position a Window in browser

    Hello,
    I am opening a new window pop up on click of a button. How can i position this window to a particular Y,X axis co-ordinates on browser window?
    it always comes in center of window.
    Code:
    isc.defineClass("MyWindow", "Window").addProperties({
    	headerIconDefaults: {
    		width: 16,
    		height: 16,
    		layoutAlign: "center",
    		src: "favicon.png"
    	},
    	keepInParentRect: true
    });
    Thanks

    #2
    there's a moveTo function for canvas objects

    Boolean moveTo ([left, top])

    Comment

    Working...
    X