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
↧