Quantcast
Channel: Cadence Technology Forums
Viewing all articles
Browse latest Browse all 63180

Forum Post: hiGetAbsWindowScreenBBox() and view()

$
0
0
Hello, I would like to open a file, through view(), always in the same position. I am using hiGetAbsWindowScreenBBox() to get the boxSpec value for view(), but I have a 30pt-shift in y direction (correction is in red.) if(boundp('viewFile) && windowp(viewFile) then boxSpec=hiGetAbsWindowScreenBBox( viewFile ) boxSpec=list(list(caar(boxSpec) cadar(boxSpec)-30) list(caadr(boxSpec) cadadr(boxSpec)-30)) hiCloseWindow( viewFile ) viewFile =view(hiGetCurrentForm()~>strFile~>value boxSpec) else viewFile =view(hiGetCurrentForm()~>strFile~>value nil ) ) Thank you, Aldo

Viewing all articles
Browse latest Browse all 63180

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>