# Perspective popup header color change?

**URL:** <https://forum.inductiveautomation.com/t/perspective-popup-header-color-change/31269>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [January 13, 2020, 11:12pm UTC](https://forum.inductiveautomation.com/t/perspective-popup-header-color-change/31269 "2020-01-13T23:12:07Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [March 17, 2020, 4:44pm UTC](https://forum.inductiveautomation.com/t/perspective-popup-header-color-change/31269/5 "2020-03-17T16:44:17Z")

</div>

This is what I use for vision, no performance issues whatsoever:

> [@Drag popup from click initiated anywhere in the window](http://forum.inductiveautomation.com/t/drag-popup-from-click-initiated-anywhere-in-the-window/7401/2):
>
> This should work. Add the following custom properties on the popup. mX (Integer) mY (Integer) On the mousePressed event of the popup, enter the following: event.source.mX = event.x event.source.mY = event.y On the mouseDragged event of the popup, enter the following: [code] window = system.gui.getParentWindow(event) mouseX = event.x mouseY = event.y windowX = window.getX() windowY = window.getY() window.setLocation(mouseX+windowX-event.source.mX,mouseY+windowY-event.source.mY)[/code…

Not sure for perspective

---

_[View the full topic](https://forum.inductiveautomation.com/t/perspective-popup-header-color-change/31269)._
